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

com.logmein.gotowebinar_2_0.api.model.CallNumbers 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.AccessCodes;

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

/**
 * Conference call numbers per country.
 */
public class CallNumbers {

    /* Describes the access codes for organizer, panelists and attendees. */
    private AccessCodes accessCodes = null;

    /* Conference number for toll calls. */
    private String toll = null;

    /* Conference number for toll-free calls. */
    private String tollFree = null;

    /**
     * @return Describes the access codes for organizer, panelists and attendees.
     */
    public AccessCodes getAccessCodes() {
        return accessCodes;
    }

    /**
     * @param accessCodes Describes the access codes for organizer, panelists and attendees.
     */
    public void setAccessCodes(AccessCodes accessCodes) {
        this.accessCodes = accessCodes;
    }

    /**
     * @return Conference number for toll calls.
     */
    public String getToll() {
        return toll;
    }

    /**
     * @param toll Conference number for toll calls.
     */
    public void setToll(String toll) {
        this.toll = toll;
    }

    /**
     * @return Conference number for toll-free calls.
     */
    public String getTollFree() {
        return tollFree;
    }

    /**
     * @param tollFree Conference number for toll-free calls.
     */
    public void setTollFree(String tollFree) {
        this.tollFree = tollFree;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class CallNumbers {\n");
        String accessCodesString = JsonUtil.Stringify(accessCodes);
        if (accessCodesString != null && !accessCodesString.isEmpty())
            sb.append(String.format("  accessCodes: %s\n", accessCodesString));
        String tollString = JsonUtil.Stringify(toll);
        if (tollString != null && !tollString.isEmpty())
            sb.append(String.format("  toll: %s\n", tollString));
        String tollFreeString = JsonUtil.Stringify(tollFree);
        if (tollFreeString != null && !tollFreeString.isEmpty())
            sb.append(String.format("  tollFree: %s\n", tollFreeString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy