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

com.logmein.gotomeeting.api.model.OrganizerReq Maven / Gradle / Ivy

The 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.gotomeeting.api.model;

import com.logmein.gotomeeting.api.model.Product;

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

/**
 * Describes the information required to create an organizer, with or without assigning a group.
 */
public class OrganizerReq {

    /* The email address of the organizer */
    private String organizerEmail = null;

    /* The first name of the organizer */
    private String firstName = null;

    /* The surname of the organizer */
    private String lastName = null;

    /* A product the organizer has access to, can be 'G2M', 'G2W', 'G2T' or 'OPENVOICE' */
    private Product productType = null;

    /**
     * @return The email address of the organizer
     */
    public String getOrganizerEmail() {
        return organizerEmail;
    }

    /**
     * @param organizerEmail The email address of the organizer
     */
    public void setOrganizerEmail(String organizerEmail) {
        this.organizerEmail = organizerEmail;
    }

    /**
     * @return The first name of the organizer
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * @param firstName The first name of the organizer
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * @return The surname of the organizer
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * @param lastName The surname of the organizer
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * @return A product the organizer has access to, can be 'G2M', 'G2W', 'G2T' or 'OPENVOICE'
     */
    public Product getProductType() {
        return productType;
    }

    /**
     * @param productType A product the organizer has access to, can be 'G2M', 'G2W', 'G2T' or 'OPENVOICE'
     */
    public void setProductType(Product productType) {
        this.productType = productType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class OrganizerReq {\n");
        String organizerEmailString = JsonUtil.Stringify(organizerEmail);
        if (organizerEmailString != null && !organizerEmailString.isEmpty())
            sb.append(String.format("  organizerEmail: %s\n", organizerEmailString));
        String firstNameString = JsonUtil.Stringify(firstName);
        if (firstNameString != null && !firstNameString.isEmpty())
            sb.append(String.format("  firstName: %s\n", firstNameString));
        String lastNameString = JsonUtil.Stringify(lastName);
        if (lastNameString != null && !lastNameString.isEmpty())
            sb.append(String.format("  lastName: %s\n", lastNameString));
        String productTypeString = JsonUtil.Stringify(productType);
        if (productTypeString != null && !productTypeString.isEmpty())
            sb.append(String.format("  productType: %s\n", productTypeString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy