com.logmein.gotowebinar_2_0.api.model.CustomAnswers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gotowebinar-api Show documentation
Show all versions of gotowebinar-api Show documentation
Java SDK for the GoToWebinar REST API
/*
* © 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