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

com.logmein.gotowebinar.api.model.RegistrantCreated 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 newly created webinar registrant.
 */
public class RegistrantCreated {

    /* The registrant's key */
    private Long registrantKey = null;

    /* The URL the registrant will use to join the webinar. */
    private String joinUrl = null;

    /**
     * @return The registrant's key
     */
    public Long getRegistrantKey() {
        return registrantKey;
    }

    /**
     * @param registrantKey The registrant's key
     */
    public void setRegistrantKey(Long registrantKey) {
        this.registrantKey = registrantKey;
    }

    /**
     * @return The URL the registrant will use to join the webinar.
     */
    public String getJoinUrl() {
        return joinUrl;
    }

    /**
     * @param joinUrl The URL the registrant will use to join the webinar.
     */
    public void setJoinUrl(String joinUrl) {
        this.joinUrl = joinUrl;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class RegistrantCreated {\n");
        String registrantKeyString = JsonUtil.Stringify(registrantKey);
        if (registrantKeyString != null && !registrantKeyString.isEmpty())
            sb.append(String.format("  registrantKey: %s\n", registrantKeyString));
        String joinUrlString = JsonUtil.Stringify(joinUrl);
        if (joinUrlString != null && !joinUrlString.isEmpty())
            sb.append(String.format("  joinUrl: %s\n", joinUrlString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy