com.logmein.gotowebinar_2_0.api.model.Asset 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 a completed recordingasset.
*/
public class Asset {
/* The name of the asset */
private String name = null;
/* The unique identifier for the recording asset */
private String recordingAssetKey = null;
/* The product with which the asset was originally created */
private String productName = null;
/* The create time of the asset */
private Date createTime = null;
/* The key of the creator */
private String creatorKey = null;
/* The key of the account */
private String accountKey = null;
/* The total number of references of the asset across products */
private Integer totalReferenceCount = null;
/**
* @return The name of the asset
*/
public String getName() {
return name;
}
/**
* @param name The name of the asset
*/
public void setName(String name) {
this.name = name;
}
/**
* @return The unique identifier for the recording asset
*/
public String getRecordingAssetKey() {
return recordingAssetKey;
}
/**
* @param recordingAssetKey The unique identifier for the recording asset
*/
public void setRecordingAssetKey(String recordingAssetKey) {
this.recordingAssetKey = recordingAssetKey;
}
/**
* @return The product with which the asset was originally created
*/
public String getProductName() {
return productName;
}
/**
* @param productName The product with which the asset was originally created
*/
public void setProductName(String productName) {
this.productName = productName;
}
/**
* @return The create time of the asset
*/
public Date getCreateTime() {
return createTime;
}
/**
* @param createTime The create time of the asset
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* @return The key of the creator
*/
public String getCreatorKey() {
return creatorKey;
}
/**
* @param creatorKey The key of the creator
*/
public void setCreatorKey(String creatorKey) {
this.creatorKey = creatorKey;
}
/**
* @return The key of the account
*/
public String getAccountKey() {
return accountKey;
}
/**
* @param accountKey The key of the account
*/
public void setAccountKey(String accountKey) {
this.accountKey = accountKey;
}
/**
* @return The total number of references of the asset across products
*/
public Integer getTotalReferenceCount() {
return totalReferenceCount;
}
/**
* @param totalReferenceCount The total number of references of the asset across products
*/
public void setTotalReferenceCount(Integer totalReferenceCount) {
this.totalReferenceCount = totalReferenceCount;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Asset {\n");
String nameString = JsonUtil.Stringify(name);
if (nameString != null && !nameString.isEmpty())
sb.append(String.format(" name: %s\n", nameString));
String recordingAssetKeyString = JsonUtil.Stringify(recordingAssetKey);
if (recordingAssetKeyString != null && !recordingAssetKeyString.isEmpty())
sb.append(String.format(" recordingAssetKey: %s\n", recordingAssetKeyString));
String productNameString = JsonUtil.Stringify(productName);
if (productNameString != null && !productNameString.isEmpty())
sb.append(String.format(" productName: %s\n", productNameString));
String createTimeString = JsonUtil.Stringify(createTime);
if (createTimeString != null && !createTimeString.isEmpty())
sb.append(String.format(" createTime: %s\n", createTimeString));
String creatorKeyString = JsonUtil.Stringify(creatorKey);
if (creatorKeyString != null && !creatorKeyString.isEmpty())
sb.append(String.format(" creatorKey: %s\n", creatorKeyString));
String accountKeyString = JsonUtil.Stringify(accountKey);
if (accountKeyString != null && !accountKeyString.isEmpty())
sb.append(String.format(" accountKey: %s\n", accountKeyString));
String totalReferenceCountString = JsonUtil.Stringify(totalReferenceCount);
if (totalReferenceCountString != null && !totalReferenceCountString.isEmpty())
sb.append(String.format(" totalReferenceCount: %s\n", totalReferenceCountString));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy