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

com.logmein.gotowebinar_2_0.api.model.AudioUpdate 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_2_0.api.model;

import com.logmein.gotowebinar_2_0.api.model.AudioType;
import com.logmein.gotowebinar_2_0.api.model.PrivateInfoUpdate;
import com.logmein.gotowebinar_2_0.api.model.PstnInfoUpdate;

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

/**
 * Defines the audio/conferencing settings for the specified webinar
 */
public class AudioUpdate {

    /* Indicates how to connect to the webinar's audio conference */
    private AudioType type = null;

    /* Defines via two-letter Alpha-2-code which toll and toll-free PSTN numbers are available per country */
    private PstnInfoUpdate pstnInfo = null;

    /* Defines the audio data for an own conferencing system */
    private PrivateInfoUpdate privateInfo = null;

    /**
     * @return Indicates how to connect to the webinar's audio conference
     */
    public AudioType getType() {
        return type;
    }

    /**
     * @param type Indicates how to connect to the webinar's audio conference
     */
    public void setType(AudioType type) {
        this.type = type;
    }

    /**
     * @return Defines via two-letter Alpha-2-code which toll and toll-free PSTN numbers are available per country
     */
    public PstnInfoUpdate getPstnInfo() {
        return pstnInfo;
    }

    /**
     * @param pstnInfo Defines via two-letter Alpha-2-code which toll and toll-free PSTN numbers are available per country
     */
    public void setPstnInfo(PstnInfoUpdate pstnInfo) {
        this.pstnInfo = pstnInfo;
    }

    /**
     * @return Defines the audio data for an own conferencing system
     */
    public PrivateInfoUpdate getPrivateInfo() {
        return privateInfo;
    }

    /**
     * @param privateInfo Defines the audio data for an own conferencing system
     */
    public void setPrivateInfo(PrivateInfoUpdate privateInfo) {
        this.privateInfo = privateInfo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class AudioUpdate {\n");
        String typeString = JsonUtil.Stringify(type);
        if (typeString != null && !typeString.isEmpty())
            sb.append(String.format("  type: %s\n", typeString));
        String pstnInfoString = JsonUtil.Stringify(pstnInfo);
        if (pstnInfoString != null && !pstnInfoString.isEmpty())
            sb.append(String.format("  pstnInfo: %s\n", pstnInfoString));
        String privateInfoString = JsonUtil.Stringify(privateInfo);
        if (privateInfoString != null && !privateInfoString.isEmpty())
            sb.append(String.format("  privateInfo: %s\n", privateInfoString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy