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

com.logmein.gotowebinar.api.model.Panelist 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.api.model;


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

/**
 * Describes a webinar session panelist
 */
public class Panelist {

    /* The co-organizer's join link */
    private String joinLink = null;

    /* DEPRECATED. The fields 'firstName' and 'lastName' are replaced by the field 'name' */
    @Deprecated
    private String lastName = null;

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

    /* The panelist's name */
    private String name = null;

    /* The panelist's ID */
    private Long panelistId = null;

    /* DEPRECATED. The fields 'firstName' and 'lastName' are replaced by the field 'name' */
    @Deprecated
    private String firstName = null;

    /**
     * @return The co-organizer's join link
     */
    public String getJoinLink() {
        return joinLink;
    }

    /**
     * @param joinLink The co-organizer's join link
     */
    public void setJoinLink(String joinLink) {
        this.joinLink = joinLink;
    }

    /**
     * @return DEPRECATED. The fields 'firstName' and 'lastName' are replaced by the field 'name'
     */
    @Deprecated
    public String getLastName() {
        return lastName;
    }

    /**
     * @param lastName DEPRECATED. The fields 'firstName' and 'lastName' are replaced by the field 'name'
     */
    @Deprecated
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

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

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

    /**
     * @return The panelist's name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name The panelist's name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return The panelist's ID
     */
    public Long getPanelistId() {
        return panelistId;
    }

    /**
     * @param panelistId The panelist's ID
     */
    public void setPanelistId(Long panelistId) {
        this.panelistId = panelistId;
    }

    /**
     * @return DEPRECATED. The fields 'firstName' and 'lastName' are replaced by the field 'name'
     */
    @Deprecated
    public String getFirstName() {
        return firstName;
    }

    /**
     * @param firstName DEPRECATED. The fields 'firstName' and 'lastName' are replaced by the field 'name'
     */
    @Deprecated
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class Panelist {\n");
        String joinLinkString = JsonUtil.Stringify(joinLink);
        if (joinLinkString != null && !joinLinkString.isEmpty())
            sb.append(String.format("  joinLink: %s\n", joinLinkString));
        String lastNameString = JsonUtil.Stringify(lastName);
        if (lastNameString != null && !lastNameString.isEmpty())
            sb.append(String.format("  lastName: %s\n", lastNameString));
        String emailString = JsonUtil.Stringify(email);
        if (emailString != null && !emailString.isEmpty())
            sb.append(String.format("  email: %s\n", emailString));
        String nameString = JsonUtil.Stringify(name);
        if (nameString != null && !nameString.isEmpty())
            sb.append(String.format("  name: %s\n", nameString));
        String panelistIdString = JsonUtil.Stringify(panelistId);
        if (panelistIdString != null && !panelistIdString.isEmpty())
            sb.append(String.format("  panelistId: %s\n", panelistIdString));
        String firstNameString = JsonUtil.Stringify(firstName);
        if (firstNameString != null && !firstNameString.isEmpty())
            sb.append(String.format("  firstName: %s\n", firstNameString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy