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

com.logmein.gotomeeting.api.model.OrganizerByGroup 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.model.Status;
import java.util.ArrayList;
import java.util.List;

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

/**
 * Describes an organizer within a specified group.
 */
public class OrganizerByGroup {

    /* The organizer's surname */
    private String lastName = null;

    /* The key of the group */
    private Long groupId = null;

    /* The name of the group */
    private String groupName = null;

    /* The status of the organizer, i.e. whether the organizer is able to host meetings */
    private Status status = null;

    /* The organizer's email address */
    private String email = null;

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

    /* The organizer's first name */
    private String firstName = null;

    /* The products the organizer has access to, can be 'G2M', 'G2W', 'G2T' or 'OPENVOICE' */
    private List products = new ArrayList();

    /* The maximum number of attendees allowed at sessions held by this organizer */
    private Integer maxNumAttendeesAllowed = null;

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

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

    /**
     * @return The key of the group
     */
    public Long getGroupId() {
        return groupId;
    }

    /**
     * @param groupId The key of the group
     */
    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    /**
     * @return The name of the group
     */
    public String getGroupName() {
        return groupName;
    }

    /**
     * @param groupName The name of the group
     */
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    /**
     * @return The status of the organizer, i.e. whether the organizer is able to host meetings
     */
    public Status getStatus() {
        return status;
    }

    /**
     * @param status The status of the organizer, i.e. whether the organizer is able to host meetings
     */
    public void setStatus(Status status) {
        this.status = status;
    }

    /**
     * @return The organizer's email address
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email The organizer's email address
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return The key of the organizer
     */
    public Long getOrganizerKey() {
        return organizerKey;
    }

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

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

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

    /**
     * @return The products the organizer has access to, can be 'G2M', 'G2W', 'G2T' or 'OPENVOICE'
     */
    public List getProducts() {
        return products;
    }

    /**
     * @param products The products the organizer has access to, can be 'G2M', 'G2W', 'G2T' or 'OPENVOICE'
     */
    public void setProducts(List products) {
        this.products = products;
    }

    /**
     * @return The maximum number of attendees allowed at sessions held by this organizer
     */
    public Integer getMaxNumAttendeesAllowed() {
        return maxNumAttendeesAllowed;
    }

    /**
     * @param maxNumAttendeesAllowed The maximum number of attendees allowed at sessions held by this organizer
     */
    public void setMaxNumAttendeesAllowed(Integer maxNumAttendeesAllowed) {
        this.maxNumAttendeesAllowed = maxNumAttendeesAllowed;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class OrganizerByGroup {\n");
        String lastNameString = JsonUtil.Stringify(lastName);
        if (lastNameString != null && !lastNameString.isEmpty())
            sb.append(String.format("  lastName: %s\n", lastNameString));
        String groupIdString = JsonUtil.Stringify(groupId);
        if (groupIdString != null && !groupIdString.isEmpty())
            sb.append(String.format("  groupId: %s\n", groupIdString));
        String groupNameString = JsonUtil.Stringify(groupName);
        if (groupNameString != null && !groupNameString.isEmpty())
            sb.append(String.format("  groupName: %s\n", groupNameString));
        String statusString = JsonUtil.Stringify(status);
        if (statusString != null && !statusString.isEmpty())
            sb.append(String.format("  status: %s\n", statusString));
        String emailString = JsonUtil.Stringify(email);
        if (emailString != null && !emailString.isEmpty())
            sb.append(String.format("  email: %s\n", emailString));
        String organizerKeyString = JsonUtil.Stringify(organizerKey);
        if (organizerKeyString != null && !organizerKeyString.isEmpty())
            sb.append(String.format("  organizerKey: %s\n", organizerKeyString));
        String firstNameString = JsonUtil.Stringify(firstName);
        if (firstNameString != null && !firstNameString.isEmpty())
            sb.append(String.format("  firstName: %s\n", firstNameString));
        String productsString = JsonUtil.Stringify(products);
        if (productsString != null && !productsString.isEmpty())
            sb.append(String.format("  products: %s\n", productsString));
        String maxNumAttendeesAllowedString = JsonUtil.Stringify(maxNumAttendeesAllowed);
        if (maxNumAttendeesAllowedString != null && !maxNumAttendeesAllowedString.isEmpty())
            sb.append(String.format("  maxNumAttendeesAllowed: %s\n", maxNumAttendeesAllowedString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy