All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.logmein.gotowebinar_2_0.api.model.CustomAnswers Maven / Gradle / Ivy

There is a newer version: 2.9.0
Show newest version
/*
 * © 2017 LogMeIn, Inc. All Rights Reserved.
 * All rights reserved.
 * 
 * This software is distributed under the terms and conditions of the
 * LogMeIn SDK License Agreement. Please see file LICENSE for details.
 * 
 * Auto-generated file.
 */


package com.logmein.gotowebinar_2_0.api.model;


import com.logmein.gotowebinar_2_0.api.common.JsonUtil;

/**
 * Answers to custom questions of the registrant
 */
public class CustomAnswers {

    /* Answer to a custom question when registering */
    private String answer = null;

    /* Custom question for registering */
    private String question = null;

    /**
     * @return Answer to a custom question when registering
     */
    public String getAnswer() {
        return answer;
    }

    /**
     * @param answer Answer to a custom question when registering
     */
    public void setAnswer(String answer) {
        this.answer = answer;
    }

    /**
     * @return Custom question for registering
     */
    public String getQuestion() {
        return question;
    }

    /**
     * @param question Custom question for registering
     */
    public void setQuestion(String question) {
        this.question = question;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class CustomAnswers {\n");
        String answerString = JsonUtil.Stringify(answer);
        if (answerString != null && !answerString.isEmpty())
            sb.append(String.format("  answer: %s\n", answerString));
        String questionString = JsonUtil.Stringify(question);
        if (questionString != null && !questionString.isEmpty())
            sb.append(String.format("  question: %s\n", questionString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy