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

com.logmein.gotowebinar.api.model.Webinar 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.api.model;

import com.logmein.gotowebinar.api.common.JsonUtil;

import java.util.ArrayList;
import java.util.List;

/**
 * Describes a webinar
 */
public class Webinar {

    /* The unique key of the webinar */
    private String webinarKey = null;

    /* The 9-digit webinar ID */
    private String webinarID = null;

    /* The key of the webinar organizer */
    private String organizerKey = null;

    /* The key of the account */
    private String accountKey = null;

    /* The webinar subject */
    private String subject = null;

    /* A short description of the webinar */
    private String description = null;

    /* Array with startTime and endTime for the webinar sessions */
    private List times = new ArrayList();

    /* The timezone where the webinar is taking place */
    private String timeZone = null;

    /* The webinar language */
    private LocaleEnum locale = null;

    /* Specifies if the organizer needs to approve the webinar registrations. The possible values are \"AUTOMATIC\" and \"MANUAL\". */
    private String approvalType = null;

    /* The URL the webinar invitees can use to register */
    private String registrationUrl = null;

    /* A boolean flag indicating if the webinar type is impromptu */
    private Boolean impromptu = null;

    /* A boolean flag indicating if the webinar is password protected */
    private Boolean isPasswordProtected = null;

    /* Specifies the recurrence type. The possible values are \"single_session\", \"series\" and \"sequence\". */
    private String recurrenceType = null;

    /* Specifies the experience type. The possible values are \"classic\", \"broadcast\" and \"simulive\". */
    private String experienceType = null;

    /**
     * The webinar language
     */
    public enum LocaleEnum { en_US, de_DE, es_ES, fr_FR, it_IT, zh_CN }

    /**
     * @return The unique key of the webinar
     */
    public String getWebinarKey() {
        return webinarKey;
    }

    /**
     * @param webinarKey The unique key of the webinar
     */
    public void setWebinarKey(String 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 key of the webinar organizer
     */
    public String getOrganizerKey() {
        return organizerKey;
    }

    /**
     * @param organizerKey The key of the webinar organizer
     */
    public void setOrganizerKey(String organizerKey) {
        this.organizerKey = organizerKey;
    }

    /**
     * @return The key of the account
     */
    public String getAccountKey() {
        return accountKey;
    }

    /**
     * @param accountKey The key of the account
     */
    public void setAccountKey(String accountKey) {
        this.accountKey = accountKey;
    }

    /**
     * @return The webinar subject
     */
    public String getSubject() {
        return subject;
    }

    /**
     * @param subject The webinar subject
     */
    public void setSubject(String subject) {
        this.subject = subject;
    }

    /**
     * @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 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 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 webinar language
     */
    public LocaleEnum getLocale() {
        return locale;
    }

    /**
     * @param locale The webinar language
     */
    public void setLocale(LocaleEnum locale) {
        this.locale = locale;
    }

    /**
     * @return Specifies if the organizer needs to approve the webinar registrations. The possible values are \"AUTOMATIC\" and \"MANUAL\".
     */
    public String getApprovalType() {
        return approvalType;
    }

    /**
     * @param approvalType Specifies if the organizer needs to approve the webinar registrations. The possible values are \"AUTOMATIC\" and \"MANUAL\".
     */
    public void setApprovalType(String approvalType) {
        this.approvalType = approvalType;
    }

    /**
     * @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 A boolean flag indicating if the webinar type is impromptu
     */
    public Boolean getImpromptu() {
        return impromptu;
    }

    /**
     * @param impromptu A boolean flag indicating if the webinar type is impromptu
     */
    public void setImpromptu(Boolean impromptu) {
        this.impromptu = impromptu;
    }

    /**
     * @return A boolean flag indicating if the webinar is password protected
     */
    public Boolean getIsPasswordProtected() {
        return isPasswordProtected;
    }

    /**
     * @param isPasswordProtected A boolean flag indicating if the webinar is password protected
     */
    public void setIsPasswordProtected(Boolean isPasswordProtected) {
        this.isPasswordProtected = isPasswordProtected;
    }

    /**
     * @return Specifies the recurrence type. The possible values are \"single_session\", \"series\" and \"sequence\".
     */
    public String getRecurrenceType() {
        return recurrenceType;
    }

    /**
     * @param recurrenceType Specifies the recurrence type. The possible values are \"single_session\", \"series\" and \"sequence\".
     */
    public void setRecurrenceType(String recurrenceType) {
        this.recurrenceType = recurrenceType;
    }

    /**
     * @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 Webinar {\n");
        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 organizerKeyString = JsonUtil.Stringify(organizerKey);
        if (organizerKeyString != null && !organizerKeyString.isEmpty())
            sb.append(String.format("  organizerKey: %s\n", organizerKeyString));
        String accountKeyString = JsonUtil.Stringify(accountKey);
        if (accountKeyString != null && !accountKeyString.isEmpty())
            sb.append(String.format("  accountKey: %s\n", accountKeyString));
        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 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));
        String localeString = JsonUtil.Stringify(locale);
        if (localeString != null && !localeString.isEmpty())
            sb.append(String.format("  locale: %s\n", localeString));
        String approvalTypeString = JsonUtil.Stringify(approvalType);
        if (approvalTypeString != null && !approvalTypeString.isEmpty())
            sb.append(String.format("  approvalType: %s\n", approvalTypeString));
        String registrationUrlString = JsonUtil.Stringify(registrationUrl);
        if (registrationUrlString != null && !registrationUrlString.isEmpty())
            sb.append(String.format("  registrationUrl: %s\n", registrationUrlString));
        String impromptuString = JsonUtil.Stringify(impromptu);
        if (impromptuString != null && !impromptuString.isEmpty())
            sb.append(String.format("  impromptu: %s\n", impromptuString));
        String isPasswordProtectedString = JsonUtil.Stringify(isPasswordProtected);
        if (isPasswordProtectedString != null && !isPasswordProtectedString.isEmpty())
            sb.append(String.format("  isPasswordProtected: %s\n", isPasswordProtectedString));
        String recurrenceTypeString = JsonUtil.Stringify(recurrenceType);
        if (recurrenceTypeString != null && !recurrenceTypeString.isEmpty())
            sb.append(String.format("  recurrenceType: %s\n", recurrenceTypeString));
        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