public final class VideoStatus
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the YouTube Data API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
VideoStatus() |
| Modifier and Type | Method and Description |
|---|---|
VideoStatus |
clone() |
java.lang.Boolean |
getEmbeddable()
This value indicates if the video can be embedded on another website.
|
java.lang.String |
getFailureReason()
This value explains why a video failed to upload.
|
java.lang.String |
getLicense()
The video's license.
|
java.lang.String |
getPrivacyStatus()
The video's privacy status.
|
java.lang.Boolean |
getPublicStatsViewable()
This value indicates if the extended video statistics on the watch page can be viewed by
everyone.
|
com.google.api.client.util.DateTime |
getPublishAt()
The date and time when the video is scheduled to publish.
|
java.lang.String |
getRejectionReason()
This value explains why YouTube rejected an uploaded video.
|
java.lang.String |
getUploadStatus()
The status of the uploaded video.
|
VideoStatus |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoStatus |
setEmbeddable(java.lang.Boolean embeddable)
This value indicates if the video can be embedded on another website.
|
VideoStatus |
setFailureReason(java.lang.String failureReason)
This value explains why a video failed to upload.
|
VideoStatus |
setLicense(java.lang.String license)
The video's license.
|
VideoStatus |
setPrivacyStatus(java.lang.String privacyStatus)
The video's privacy status.
|
VideoStatus |
setPublicStatsViewable(java.lang.Boolean publicStatsViewable)
This value indicates if the extended video statistics on the watch page can be viewed by
everyone.
|
VideoStatus |
setPublishAt(com.google.api.client.util.DateTime publishAt)
The date and time when the video is scheduled to publish.
|
VideoStatus |
setRejectionReason(java.lang.String rejectionReason)
This value explains why YouTube rejected an uploaded video.
|
VideoStatus |
setUploadStatus(java.lang.String uploadStatus)
The status of the uploaded video.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getEmbeddable()
null for nonepublic VideoStatus setEmbeddable(java.lang.Boolean embeddable)
embeddable - embeddable or null for nonepublic java.lang.String getFailureReason()
null for nonepublic VideoStatus setFailureReason(java.lang.String failureReason)
failureReason - failureReason or null for nonepublic java.lang.String getLicense()
null for nonepublic VideoStatus setLicense(java.lang.String license)
license - license or null for nonepublic java.lang.String getPrivacyStatus()
null for nonepublic VideoStatus setPrivacyStatus(java.lang.String privacyStatus)
privacyStatus - privacyStatus or null for nonepublic java.lang.Boolean getPublicStatsViewable()
null for nonepublic VideoStatus setPublicStatsViewable(java.lang.Boolean publicStatsViewable)
publicStatsViewable - publicStatsViewable or null for nonepublic com.google.api.client.util.DateTime getPublishAt()
null for nonepublic VideoStatus setPublishAt(com.google.api.client.util.DateTime publishAt)
publishAt - publishAt or null for nonepublic java.lang.String getRejectionReason()
null for nonepublic VideoStatus setRejectionReason(java.lang.String rejectionReason)
rejectionReason - rejectionReason or null for nonepublic java.lang.String getUploadStatus()
null for nonepublic VideoStatus setUploadStatus(java.lang.String uploadStatus)
uploadStatus - uploadStatus or null for nonepublic VideoStatus set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic VideoStatus clone()
clone in class com.google.api.client.json.GenericJson