com.logmein.gotowebinar.api.model.ReportingAttendee Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gotowebinar-api Show documentation
Show all versions of gotowebinar-api Show documentation
Java SDK for the GoToWebinar REST API
/*
* © 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;
import java.util.ArrayList;
import java.util.List;
/**
* Describes the attendee of a webinar
*/
public class ReportingAttendee {
/* The key of the webinar attendee */
private Long registrantKey = null;
/* The unique key of the webinar session */
private Long sessionKey = null;
/* The attendee's email address */
private String email = null;
/* The total attendance time in seconds */
private Long attendanceTimeInSeconds = null;
/* The list of times the attendee joined and left the webinar session */
private List attendance = new ArrayList();
/* The attendee's first name */
private String firstName = null;
/* The attendee's last name */
private String lastName = null;
/**
* @return The key of the webinar attendee
*/
public Long getRegistrantKey() {
return registrantKey;
}
/**
* @param registrantKey The key of the webinar attendee
*/
public void setRegistrantKey(Long registrantKey) {
this.registrantKey = registrantKey;
}
/**
* @return The unique key of the webinar session
*/
public Long getSessionKey() {
return sessionKey;
}
/**
* @param sessionKey The unique key of the webinar session
*/
public void setSessionKey(Long sessionKey) {
this.sessionKey = sessionKey;
}
/**
* @return The attendee's email address
*/
public String getEmail() {
return email;
}
/**
* @param email The attendee's email address
*/
public void setEmail(String email) {
this.email = email;
}
/**
* @return The total attendance time in seconds
*/
public Long getAttendanceTimeInSeconds() {
return attendanceTimeInSeconds;
}
/**
* @param attendanceTimeInSeconds The total attendance time in seconds
*/
public void setAttendanceTimeInSeconds(Long attendanceTimeInSeconds) {
this.attendanceTimeInSeconds = attendanceTimeInSeconds;
}
/**
* @return The list of times the attendee joined and left the webinar session
*/
public List getAttendance() {
return attendance;
}
/**
* @param attendance The list of times the attendee joined and left the webinar session
*/
public void setAttendance(List attendance) {
this.attendance = attendance;
}
/**
* @return The attendee's first name
*/
public String getFirstName() {
return firstName;
}
/**
* @param firstName The attendee's first name
*/
public void setFirstName(String firstName) {
this.firstName = firstName;
}
/**
* @return The attendee's last name
*/
public String getLastName() {
return lastName;
}
/**
* @param lastName The attendee's last name
*/
public void setLastName(String lastName) {
this.lastName = lastName;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ReportingAttendee {\n");
String registrantKeyString = JsonUtil.Stringify(registrantKey);
if (registrantKeyString != null && !registrantKeyString.isEmpty())
sb.append(String.format(" registrantKey: %s\n", registrantKeyString));
String sessionKeyString = JsonUtil.Stringify(sessionKey);
if (sessionKeyString != null && !sessionKeyString.isEmpty())
sb.append(String.format(" sessionKey: %s\n", sessionKeyString));
String emailString = JsonUtil.Stringify(email);
if (emailString != null && !emailString.isEmpty())
sb.append(String.format(" email: %s\n", emailString));
String attendanceTimeInSecondsString = JsonUtil.Stringify(attendanceTimeInSeconds);
if (attendanceTimeInSecondsString != null && !attendanceTimeInSecondsString.isEmpty())
sb.append(String.format(" attendanceTimeInSeconds: %s\n", attendanceTimeInSecondsString));
String attendanceString = JsonUtil.Stringify(attendance);
if (attendanceString != null && !attendanceString.isEmpty())
sb.append(String.format(" attendance: %s\n", attendanceString));
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));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy