com.logmein.gotowebinar_2_0.api.model.Session 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 java.util.Date;
import com.logmein.gotowebinar_2_0.api.common.JsonUtil;
/**
* Describes a completed webinar session.
*/
public class Session {
/* The starting time of the webinar session */
private Date startTime = null;
/* The number of registrants who attended the webinar session */
private Integer registrantsAttended = null;
/* The unique key of the webinar */
private Long webinarKey = null;
/* The 9-digit webinar ID */
private String webinarID = null;
/* The unique key of the webinar session */
private Long sessionKey = null;
/* The ending time of the webinar session */
private Date endTime = null;
/**
* @return The starting time of the webinar session
*/
public Date getStartTime() {
return startTime;
}
/**
* @param startTime The starting time of the webinar session
*/
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
/**
* @return The number of registrants who attended the webinar session
*/
public Integer getRegistrantsAttended() {
return registrantsAttended;
}
/**
* @param registrantsAttended The number of registrants who attended the webinar session
*/
public void setRegistrantsAttended(Integer registrantsAttended) {
this.registrantsAttended = registrantsAttended;
}
/**
* @return The unique key of the webinar
*/
public Long getWebinarKey() {
return webinarKey;
}
/**
* @param webinarKey The unique key of the webinar
*/
public void setWebinarKey(Long webinarKey) {
this.webinarKey = webinarKey;
}
/**
* @return The 9-digit webinar ID
*/
public String getWebinarID() {
return webinarID;
}
/**
* @param webinarID The 9-digit webinar ID
*/
public void setWebinarID(String webinarID) {
this.webinarID = webinarID;
}
/**
* @return The unique key of the webinar session
*/
public Long getSessionKey() {
return sessionKey;
}
/**
* @param sessionKey The unique key of the webinar session
*/
public void setSessionKey(Long sessionKey) {
this.sessionKey = sessionKey;
}
/**
* @return The ending time of the webinar session
*/
public Date getEndTime() {
return endTime;
}
/**
* @param endTime The ending time of the webinar session
*/
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Session {\n");
String startTimeString = JsonUtil.Stringify(startTime);
if (startTimeString != null && !startTimeString.isEmpty())
sb.append(String.format(" startTime: %s\n", startTimeString));
String registrantsAttendedString = JsonUtil.Stringify(registrantsAttended);
if (registrantsAttendedString != null && !registrantsAttendedString.isEmpty())
sb.append(String.format(" registrantsAttended: %s\n", registrantsAttendedString));
String webinarKeyString = JsonUtil.Stringify(webinarKey);
if (webinarKeyString != null && !webinarKeyString.isEmpty())
sb.append(String.format(" webinarKey: %s\n", webinarKeyString));
String webinarIDString = JsonUtil.Stringify(webinarID);
if (webinarIDString != null && !webinarIDString.isEmpty())
sb.append(String.format(" webinarID: %s\n", webinarIDString));
String sessionKeyString = JsonUtil.Stringify(sessionKey);
if (sessionKeyString != null && !sessionKeyString.isEmpty())
sb.append(String.format(" sessionKey: %s\n", sessionKeyString));
String endTimeString = JsonUtil.Stringify(endTime);
if (endTimeString != null && !endTimeString.isEmpty())
sb.append(String.format(" endTime: %s\n", endTimeString));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy