com.logmein.gotowebinar.api.model.CopyWebinar 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.model.DateTimeRange;
import com.logmein.gotowebinar.api.model.WebinarEmailSettings;
import java.util.ArrayList;
import java.util.List;
import com.logmein.gotowebinar.api.common.JsonUtil;
/**
* Describes the details of the webinar to be copied
*/
public class CopyWebinar {
/* The name/subject of the webinar (128 characters maximum) */
private String subject = null;
/* A description of the webinar (2048 characters maximum) */
private String description = null;
/* Specifies the webinar type. The default type value is 'single_session', which is used to create a single webinar session. The possible values are 'single_session', 'series' and 'sequence'. If type is set to 'single_session', a single webinar session is created. If type is set to 'series', a webinar series is created. In this case 2 or more timeframes must be specified for each webinar. Example: 'times': [{'startTime': '...', 'endTime':'...'}, {'startTime': '...', 'endTime': '...'},{'startTime': '...','endTime': '...'}]. If type is set to 'sequence', a sequence of webinars is created. In this case 2 or more timeframes must be specified for each webinar. If given webinar is 'single_session', we can create 'sequence' or 'series'\n webinar, in this case 2 or more timeframes must be specified for each webinar\n(same example as above). If given webinar is 'series', we can create 'single_session' or 'sequence' webinar with 2 or more timeframes must be specified. If given webinar is simulive webinar 'sequence' type is not supported.\n */
private String type = "single_session";
/* The recording asset with from the simulive webinar should be created from. In case the recordingasset was created as an online recording the simulive webinar settings, poll and surveys would be copied from the webinar whose session was recorded. We can get recordingasset from [RecordingAssets](GoToWebinarV2#operation/searchAssets) */
private String recordingAssetKey = null;
/* A boolean flag indicating if the webinar should be ondemand */
private Boolean isOndemand = false;
/* */
private WebinarEmailSettings emailSettings = null;
/* Array with start and end time(s) for webinar */
private List times = new ArrayList();
/* The time zone where the webinar is taking place (must be a valid time zone ID, see [Date and time conventions](/guides/References/01_Date-Time/)). If this parameter is not passed, the timezone of the organizer's profile will be used */
private String timeZone = null;
/**
* @return The name/subject of the webinar (128 characters maximum)
*/
public String getSubject() {
return subject;
}
/**
* @param subject The name/subject of the webinar (128 characters maximum)
*/
public void setSubject(String subject) {
this.subject = subject;
}
/**
* @return A description of the webinar (2048 characters maximum)
*/
public String getDescription() {
return description;
}
/**
* @param description A description of the webinar (2048 characters maximum)
*/
public void setDescription(String description) {
this.description = description;
}
/**
* @return Specifies the webinar type. The default type value is 'single_session', which is used to create a single webinar session. The possible values are 'single_session', 'series' and 'sequence'. If type is set to 'single_session', a single webinar session is created. If type is set to 'series', a webinar series is created. In this case 2 or more timeframes must be specified for each webinar. Example: 'times': [{'startTime': '...', 'endTime':'...'}, {'startTime': '...', 'endTime': '...'},{'startTime': '...','endTime': '...'}]. If type is set to 'sequence', a sequence of webinars is created. In this case 2 or more timeframes must be specified for each webinar. If given webinar is 'single_session', we can create 'sequence' or 'series'\n webinar, in this case 2 or more timeframes must be specified for each webinar\n(same example as above). If given webinar is 'series', we can create 'single_session' or 'sequence' webinar with 2 or more timeframes must be specified. If given webinar is simulive webinar 'sequence' type is not supported.\n
*/
public String getType() {
return type;
}
/**
* @param type Specifies the webinar type. The default type value is 'single_session', which is used to create a single webinar session. The possible values are 'single_session', 'series' and 'sequence'. If type is set to 'single_session', a single webinar session is created. If type is set to 'series', a webinar series is created. In this case 2 or more timeframes must be specified for each webinar. Example: 'times': [{'startTime': '...', 'endTime':'...'}, {'startTime': '...', 'endTime': '...'},{'startTime': '...','endTime': '...'}]. If type is set to 'sequence', a sequence of webinars is created. In this case 2 or more timeframes must be specified for each webinar. If given webinar is 'single_session', we can create 'sequence' or 'series'\n webinar, in this case 2 or more timeframes must be specified for each webinar\n(same example as above). If given webinar is 'series', we can create 'single_session' or 'sequence' webinar with 2 or more timeframes must be specified. If given webinar is simulive webinar 'sequence' type is not supported.\n
*/
public void setType(String type) {
this.type = type;
}
/**
* @return The recording asset with from the simulive webinar should be created from. In case the recordingasset was created as an online recording the simulive webinar settings, poll and surveys would be copied from the webinar whose session was recorded. We can get recordingasset from [RecordingAssets](GoToWebinarV2#operation/searchAssets)
*/
public String getRecordingAssetKey() {
return recordingAssetKey;
}
/**
* @param recordingAssetKey The recording asset with from the simulive webinar should be created from. In case the recordingasset was created as an online recording the simulive webinar settings, poll and surveys would be copied from the webinar whose session was recorded. We can get recordingasset from [RecordingAssets](GoToWebinarV2#operation/searchAssets)
*/
public void setRecordingAssetKey(String recordingAssetKey) {
this.recordingAssetKey = recordingAssetKey;
}
/**
* @return A boolean flag indicating if the webinar should be ondemand
*/
public Boolean getIsOndemand() {
return isOndemand;
}
/**
* @param isOndemand A boolean flag indicating if the webinar should be ondemand
*/
public void setIsOndemand(Boolean isOndemand) {
this.isOndemand = isOndemand;
}
/**
* @return
*/
public WebinarEmailSettings getEmailSettings() {
return emailSettings;
}
/**
* @param emailSettings
*/
public void setEmailSettings(WebinarEmailSettings emailSettings) {
this.emailSettings = emailSettings;
}
/**
* @return Array with start and end time(s) for webinar
*/
public List getTimes() {
return times;
}
/**
* @param times Array with start and end time(s) for webinar
*/
public void setTimes(List times) {
this.times = times;
}
/**
* @return The time zone where the webinar is taking place (must be a valid time zone ID, see [Date and time conventions](/guides/References/01_Date-Time/)). If this parameter is not passed, the timezone of the organizer's profile will be used
*/
public String getTimeZone() {
return timeZone;
}
/**
* @param timeZone The time zone where the webinar is taking place (must be a valid time zone ID, see [Date and time conventions](/guides/References/01_Date-Time/)). If this parameter is not passed, the timezone of the organizer's profile will be used
*/
public void setTimeZone(String timeZone) {
this.timeZone = timeZone;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CopyWebinar {\n");
String subjectString = JsonUtil.Stringify(subject);
if (subjectString != null && !subjectString.isEmpty())
sb.append(String.format(" subject: %s\n", subjectString));
String descriptionString = JsonUtil.Stringify(description);
if (descriptionString != null && !descriptionString.isEmpty())
sb.append(String.format(" description: %s\n", descriptionString));
String typeString = JsonUtil.Stringify(type);
if (typeString != null && !typeString.isEmpty())
sb.append(String.format(" type: %s\n", typeString));
String recordingAssetKeyString = JsonUtil.Stringify(recordingAssetKey);
if (recordingAssetKeyString != null && !recordingAssetKeyString.isEmpty())
sb.append(String.format(" recordingAssetKey: %s\n", recordingAssetKeyString));
String isOndemandString = JsonUtil.Stringify(isOndemand);
if (isOndemandString != null && !isOndemandString.isEmpty())
sb.append(String.format(" isOndemand: %s\n", isOndemandString));
String emailSettingsString = JsonUtil.Stringify(emailSettings);
if (emailSettingsString != null && !emailSettingsString.isEmpty())
sb.append(String.format(" emailSettings: %s\n", emailSettingsString));
String timesString = JsonUtil.Stringify(times);
if (timesString != null && !timesString.isEmpty())
sb.append(String.format(" times: %s\n", timesString));
String timeZoneString = JsonUtil.Stringify(timeZone);
if (timeZoneString != null && !timeZoneString.isEmpty())
sb.append(String.format(" timeZone: %s\n", timeZoneString));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy