com.logmein.gotowebinar.api.model.Asset Maven / Gradle / Ivy
/*
* © 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.Date;
/**
* 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;
/*The url to download recording assets video*/
private String mp4DownloadUrl = null;
/*The url to download the transcript for the given recording video, available only if the transcript was generated*/
private String transcriptDownloadUrl = null;
/*The share link for recording*/
private String recordingShareUrl = null;
/*The webinarKey of parent webinar for which this online recordings was created, not available for uploaded recordings*/
private String webinarKey = 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;
}
/**
* @return The url to download recording assets video
*/
public String getMp4DownloadUrl() {
return mp4DownloadUrl;
}
/**
* @param mp4DownloadUrl The url to download recording assets video
*/
public void setMp4DownloadUrl(String mp4DownloadUrl) {
this.mp4DownloadUrl = mp4DownloadUrl;
}
/**
* @return The url to download the transcript for the given recording video, available only if the transcript was generated
*/
public String getTranscriptDownloadUrl() {
return transcriptDownloadUrl;
}
/**
* @param transcriptDownloadUrl The url to download the transcript for the given recording video, available only if the transcript was generated
*/
public void setTranscriptDownloadUrl(String transcriptDownloadUrl) {
this.transcriptDownloadUrl = transcriptDownloadUrl;
}
/**
* @return The share link for recording
*/
public String getRecordingShareUrl() {
return recordingShareUrl;
}
/**
* @param recordingShareUrl The share link for recording
*/
public void setRecordingShareUrl(String recordingShareUrl) {
this.recordingShareUrl = recordingShareUrl;
}
/**
* @return The webinarKey of parent webinar for which this online recordings was created, not available for uploaded recordings
*/
public String getWebinarKey() {
return webinarKey;
}
/**
* @param webinarKey The webinarKey of parent webinar for which this online recordings was created, not available for uploaded recordings
*/
public void setWebinarKey(String webinarKey) {
this.webinarKey = webinarKey;
}
@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));
String mp4DownloadUrlString = JsonUtil.Stringify(mp4DownloadUrl);
if (mp4DownloadUrlString != null && !mp4DownloadUrlString.isEmpty())
sb.append(String.format(" mp4DownloadUrl: %s\n", mp4DownloadUrlString));
String transcriptDownloadUrlString = JsonUtil.Stringify(transcriptDownloadUrl);
if (transcriptDownloadUrlString != null && !transcriptDownloadUrlString.isEmpty())
sb.append(String.format(" transcriptDownloadUrl: %s\n", transcriptDownloadUrlString));
String recordingShareUrlString = JsonUtil.Stringify(recordingShareUrl);
if (recordingShareUrlString != null && !recordingShareUrlString.isEmpty())
sb.append(String.format(" recordingShareUrl: %s\n", recordingShareUrlString));
String webinarKeyString = JsonUtil.Stringify(webinarKey);
if (webinarKeyString != null && !webinarKeyString.isEmpty())
sb.append(String.format(" webinarKey: %s\n", webinarKeyString));
sb.append("}\n");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy