com.logmein.gotowebinar.api.model.RegistrationAnswer 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.api.model;
import com.logmein.gotowebinar.api.common.JsonUtil;
/**
* Describes an answer to a multiple choice custom registration field.
*/
public class RegistrationAnswer {
/* The answer value */
private String answer = null;
/* The answer key */
private Long answerKey = null;
/**
* @return The answer value
*/
public String getAnswer() {
return answer;
}
/**
* @param answer The answer value
*/
public void setAnswer(String answer) {
this.answer = answer;
}
/**
* @return The answer key
*/
public Long getAnswerKey() {
return answerKey;
}
/**
* @param answerKey The answer key
*/
public void setAnswerKey(Long answerKey) {
this.answerKey = answerKey;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RegistrationAnswer {\n");
String answerString = JsonUtil.Stringify(answer);
if (answerString != null && !answerString.isEmpty())
sb.append(String.format(" answer: %s\n", answerString));
String answerKeyString = JsonUtil.Stringify(answerKey);
if (answerKeyString != null && !answerKeyString.isEmpty())
sb.append(String.format(" answerKey: %s\n", answerKeyString));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy