com.logmein.gotowebinar.api.model.BrokerWebinar 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;
import java.util.ArrayList;
import java.util.List;
/**
* Describes a scheduled webinar
*/
public class BrokerWebinar {
/* The number of registrants at the webinar */
private Integer numberOfRegistrants = null;
/* Array with startTime and endTime for the webinar sessions */
private List times = new ArrayList();
/* A short description of the webinar */
private String description = null;
/* The webinar subject */
private String subject = null;
/* Indicates whether there is a webinar session currently in progress */
private Boolean inSession = null;
/* The key of the webinar organizer */
private Long organizerKey = null;
/* The unique key of the webinar */
private Long webinarKey = null;
/* The 9-digit webinar ID */
private String webinarID = null;
/* The timezone where the webinar is taking place */
private String timeZone = null;
/* The URL the webinar invitees can use to register */
private String registrationUrl = null;
/* Specifies the experience type. The possible values are \"classic\", \"broadcast\" and \"simulive\". */
private String experienceType = null;
/**
* @return The number of registrants at the webinar
*/
public Integer getNumberOfRegistrants() {
return numberOfRegistrants;
}
/**
* @param numberOfRegistrants The number of registrants at the webinar
*/
public void setNumberOfRegistrants(Integer numberOfRegistrants) {
this.numberOfRegistrants = numberOfRegistrants;
}
/**
* @return Array with startTime and endTime for the webinar sessions
*/
public List getTimes() {
return times;
}
/**
* @param times Array with startTime and endTime for the webinar sessions
*/
public void setTimes(List times) {
this.times = times;
}
/**
* @return A short description of the webinar
*/
public String getDescription() {
return description;
}
/**
* @param description A short description of the webinar
*/
public void setDescription(String description) {
this.description = description;
}
/**
* @return The webinar subject
*/
public String getSubject() {
return subject;
}
/**
* @param subject The webinar subject
*/
public void setSubject(String subject) {
this.subject = subject;
}
/**
* @return Indicates whether there is a webinar session currently in progress
*/
public Boolean getInSession() {
return inSession;
}
/**
* @param inSession Indicates whether there is a webinar session currently in progress
*/
public void setInSession(Boolean inSession) {
this.inSession = inSession;
}
/**
* @return The key of the webinar organizer
*/
public Long getOrganizerKey() {
return organizerKey;
}
/**
* @param organizerKey The key of the webinar organizer
*/
public void setOrganizerKey(Long organizerKey) {
this.organizerKey = organizerKey;
}
/**
* @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 timezone where the webinar is taking place
*/
public String getTimeZone() {
return timeZone;
}
/**
* @param timeZone The timezone where the webinar is taking place
*/
public void setTimeZone(String timeZone) {
this.timeZone = timeZone;
}
/**
* @return The URL the webinar invitees can use to register
*/
public String getRegistrationUrl() {
return registrationUrl;
}
/**
* @param registrationUrl The URL the webinar invitees can use to register
*/
public void setRegistrationUrl(String registrationUrl) {
this.registrationUrl = registrationUrl;
}
/**
* @return Specifies the experience type. The possible values are \"classic\", \"broadcast\" and \"simulive\".
*/
public String getExperienceType() {
return experienceType;
}
/**
* @param experienceType Specifies the experience type. The possible values are \"classic\", \"broadcast\" and \"simulive\".
*/
public void setExperienceType(String experienceType) {
this.experienceType = experienceType;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BrokerWebinar {\n");
String numberOfRegistrantsString = JsonUtil.Stringify(numberOfRegistrants);
if (numberOfRegistrantsString != null && !numberOfRegistrantsString.isEmpty())
sb.append(String.format(" numberOfRegistrants: %s\n", numberOfRegistrantsString));
String timesString = JsonUtil.Stringify(times);
if (timesString != null && !timesString.isEmpty())
sb.append(String.format(" times: %s\n", timesString));
String descriptionString = JsonUtil.Stringify(description);
if (descriptionString != null && !descriptionString.isEmpty())
sb.append(String.format(" description: %s\n", descriptionString));
String subjectString = JsonUtil.Stringify(subject);
if (subjectString != null && !subjectString.isEmpty())
sb.append(String.format(" subject: %s\n", subjectString));
String inSessionString = JsonUtil.Stringify(inSession);
if (inSessionString != null && !inSessionString.isEmpty())
sb.append(String.format(" inSession: %s\n", inSessionString));
String organizerKeyString = JsonUtil.Stringify(organizerKey);
if (organizerKeyString != null && !organizerKeyString.isEmpty())
sb.append(String.format(" organizerKey: %s\n", organizerKeyString));
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 timeZoneString = JsonUtil.Stringify(timeZone);
if (timeZoneString != null && !timeZoneString.isEmpty())
sb.append(String.format(" timeZone: %s\n", timeZoneString));
String registrationUrlString = JsonUtil.Stringify(registrationUrl);
if (registrationUrlString != null && !registrationUrlString.isEmpty())
sb.append(String.format(" registrationUrl: %s\n", registrationUrlString));
String experienceTypeString = JsonUtil.Stringify(experienceType);
if (experienceTypeString != null && !experienceTypeString.isEmpty())
sb.append(String.format(" experienceType: %s\n", experienceTypeString));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy