com.logmein.gotowebinar_2_0.api.model.SessionPerformance 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.model.AttendanceStatistics;
import com.logmein.gotowebinar_2_0.api.model.PollsAndSurveysStatistics;
import com.logmein.gotowebinar_2_0.api.common.JsonUtil;
/**
* Describes performance details for webinar sessions
*/
public class SessionPerformance {
/* Attendance statistics for a webinar session */
private AttendanceStatistics attendance = null;
/* Polls and surveys for a webinar session */
private PollsAndSurveysStatistics pollsAndSurveys = null;
/**
* @return Attendance statistics for a webinar session
*/
public AttendanceStatistics getAttendance() {
return attendance;
}
/**
* @param attendance Attendance statistics for a webinar session
*/
public void setAttendance(AttendanceStatistics attendance) {
this.attendance = attendance;
}
/**
* @return Polls and surveys for a webinar session
*/
public PollsAndSurveysStatistics getPollsAndSurveys() {
return pollsAndSurveys;
}
/**
* @param pollsAndSurveys Polls and surveys for a webinar session
*/
public void setPollsAndSurveys(PollsAndSurveysStatistics pollsAndSurveys) {
this.pollsAndSurveys = pollsAndSurveys;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SessionPerformance {\n");
String attendanceString = JsonUtil.Stringify(attendance);
if (attendanceString != null && !attendanceString.isEmpty())
sb.append(String.format(" attendance: %s\n", attendanceString));
String pollsAndSurveysString = JsonUtil.Stringify(pollsAndSurveys);
if (pollsAndSurveysString != null && !pollsAndSurveysString.isEmpty())
sb.append(String.format(" pollsAndSurveys: %s\n", pollsAndSurveysString));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy