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

com.logmein.gotowebinar_2_0.api.model.AnswerToAttendeeQuestion 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;

/**
 * Describes an answer to a question asked by an attendee during a webinar session.
 */
public class AnswerToAttendeeQuestion {

    /* An answer given to a question asked by an attendee during a webinar session */
    private String answer = null;

    /* The key of the organizer that answered the attendee's question */
    private String answeredBy = null;

    /**
     * @return An answer given to a question asked by an attendee during a webinar session
     */
    public String getAnswer() {
        return answer;
    }

    /**
     * @param answer An answer given to a question asked by an attendee during a webinar session
     */
    public void setAnswer(String answer) {
        this.answer = answer;
    }

    /**
     * @return The key of the organizer that answered the attendee's question
     */
    public String getAnsweredBy() {
        return answeredBy;
    }

    /**
     * @param answeredBy The key of the organizer that answered the attendee's question
     */
    public void setAnsweredBy(String answeredBy) {
        this.answeredBy = answeredBy;
    }

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy