com.logmein.gotowebinar_2_0.api.model.Attendance 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_2_0.api.model;
import java.util.Date;
import com.logmein.gotowebinar_2_0.api.common.JsonUtil;
/**
* Describes the times the attendee joined and left a webinar session.
*/
public class Attendance {
/* The time the attendee joined a webinar session */
private Date joinTime = null;
/* The time the attendee left a webinar session */
private Date leaveTime = null;
/**
* @return The time the attendee joined a webinar session
*/
public Date getJoinTime() {
return joinTime;
}
/**
* @param joinTime The time the attendee joined a webinar session
*/
public void setJoinTime(Date joinTime) {
this.joinTime = joinTime;
}
/**
* @return The time the attendee left a webinar session
*/
public Date getLeaveTime() {
return leaveTime;
}
/**
* @param leaveTime The time the attendee left a webinar session
*/
public void setLeaveTime(Date leaveTime) {
this.leaveTime = leaveTime;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Attendance {\n");
String joinTimeString = JsonUtil.Stringify(joinTime);
if (joinTimeString != null && !joinTimeString.isEmpty())
sb.append(String.format(" joinTime: %s\n", joinTimeString));
String leaveTimeString = JsonUtil.Stringify(leaveTime);
if (leaveTimeString != null && !leaveTimeString.isEmpty())
sb.append(String.format(" leaveTime: %s\n", leaveTimeString));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy