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

com.logmein.gotowebinar_2_0.api.model.Audio 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.CallNumbers;
import com.logmein.gotowebinar_2_0.api.model.PrivateInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

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

/**
 * Describes the audio/conferencing information for a webinar.
 */
public class Audio {

    /* Indicates how to connect to the webinar's audio conference. The value of this field determines if other fields appear in the response or not */
    private AudioType type = null;

    /* The conference call numbers and access codes per country. This will be returned only, if 'type' is not set to 'Private'. Example for this object: \"confCallNumbers\":{\"CA\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"tollFree\":\"1 888 455 4198\"},\"FI\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"toll\":\"+358 (0) 338 79 4198\"},\"US\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"toll\":\"+1 (805) 879-4198\",\"tollFree\":\"1 888 455 4198\"}} */
    private Map confCallNumbers = new HashMap();

    /* Phone numbers for an own conference call service */
    private PrivateInfo privateInfo = null;

    /**
     * @return Indicates how to connect to the webinar's audio conference. The value of this field determines if other fields appear in the response or not
     */
    public AudioType getType() {
        return type;
    }

    /**
     * @param type Indicates how to connect to the webinar's audio conference. The value of this field determines if other fields appear in the response or not
     */
    public void setType(AudioType type) {
        this.type = type;
    }

    /**
     * @return The conference call numbers and access codes per country. This will be returned only, if 'type' is not set to 'Private'. Example for this object: \"confCallNumbers\":{\"CA\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"tollFree\":\"1 888 455 4198\"},\"FI\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"toll\":\"+358 (0) 338 79 4198\"},\"US\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"toll\":\"+1 (805) 879-4198\",\"tollFree\":\"1 888 455 4198\"}}
     */
    public Map getConfCallNumbers() {
        return confCallNumbers;
    }

    /**
     * @param confCallNumbers The conference call numbers and access codes per country. This will be returned only, if 'type' is not set to 'Private'. Example for this object: \"confCallNumbers\":{\"CA\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"tollFree\":\"1 888 455 4198\"},\"FI\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"toll\":\"+358 (0) 338 79 4198\"},\"US\":{\"accessCodes\":{\"attendee\":\"159-309-045\",\"organizer\":\"791-426-085\",\"panelist\":\"690-270-339\"},\"toll\":\"+1 (805) 879-4198\",\"tollFree\":\"1 888 455 4198\"}}
     */
    public void setConfCallNumbers(Map confCallNumbers) {
        this.confCallNumbers = confCallNumbers;
    }

    /**
     * @return Phone numbers for an own conference call service
     */
    public PrivateInfo getPrivateInfo() {
        return privateInfo;
    }

    /**
     * @param privateInfo Phone numbers for an own conference call service
     */
    public void setPrivateInfo(PrivateInfo privateInfo) {
        this.privateInfo = privateInfo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class Audio {\n");
        String typeString = JsonUtil.Stringify(type);
        if (typeString != null && !typeString.isEmpty())
            sb.append(String.format("  type: %s\n", typeString));
        String confCallNumbersString = JsonUtil.Stringify(confCallNumbers);
        if (confCallNumbersString != null && !confCallNumbersString.isEmpty())
            sb.append(String.format("  confCallNumbers: %s\n", confCallNumbersString));
        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