Package video.api.client.api.models
Class VideoUpdatePayload
java.lang.Object
video.api.client.api.models.VideoUpdatePayload
- All Implemented Interfaces:
java.io.Serializable
public class VideoUpdatePayload
extends java.lang.Object
implements java.io.Serializable
VideoUpdatePayload
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERIALIZED_NAME_DESCRIPTIONstatic java.lang.StringSERIALIZED_NAME_METADATAstatic java.lang.StringSERIALIZED_NAME_MP4_SUPPORTstatic java.lang.StringSERIALIZED_NAME_PANORAMICstatic java.lang.StringSERIALIZED_NAME_PLAYER_IDstatic java.lang.StringSERIALIZED_NAME_PUBLICstatic java.lang.StringSERIALIZED_NAME_TAGSstatic java.lang.StringSERIALIZED_NAME_TITLE -
Constructor Summary
Constructors Constructor Description VideoUpdatePayload() -
Method Summary
Modifier and Type Method Description VideoUpdatePayload_public(java.lang.Boolean _public)VideoUpdatePayloadaddMetadataItem(Metadata metadataItem)VideoUpdatePayloadaddTagsItem(java.lang.String tagsItem)VideoUpdatePayloaddescription(java.lang.String description)booleanequals(java.lang.Object o)java.lang.StringgetDescription()A brief description of the video.java.util.List<Metadata>getMetadata()A list (array) of dictionaries where each dictionary contains a key value pair that describes the video.java.lang.BooleangetMp4Support()Whether the player supports the mp4 format.java.lang.BooleangetPanoramic()Whether the video is a 360 degree or immersive video.java.lang.StringgetPlayerId()The unique ID for the player you want to associate with your video.java.lang.BooleangetPublic()Whether the video is publicly available or not.java.util.List<java.lang.String>getTags()A list of terms or words you want to tag the video with.java.lang.StringgetTitle()The title you want to use for your video.inthashCode()VideoUpdatePayloadmetadata(java.util.List<Metadata> metadata)VideoUpdatePayloadmp4Support(java.lang.Boolean mp4Support)VideoUpdatePayloadpanoramic(java.lang.Boolean panoramic)VideoUpdatePayloadplayerId(java.lang.String playerId)voidsetDescription(java.lang.String description)voidsetMetadata(java.util.List<Metadata> metadata)voidsetMp4Support(java.lang.Boolean mp4Support)voidsetPanoramic(java.lang.Boolean panoramic)voidsetPlayerId(java.lang.String playerId)voidsetPublic(java.lang.Boolean _public)voidsetTags(java.util.List<java.lang.String> tags)voidsetTitle(java.lang.String title)VideoUpdatePayloadtags(java.util.List<java.lang.String> tags)VideoUpdatePayloadtitle(java.lang.String title)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
SERIALIZED_NAME_PLAYER_ID
public static final java.lang.String SERIALIZED_NAME_PLAYER_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TITLE
public static final java.lang.String SERIALIZED_NAME_TITLE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_DESCRIPTION- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PUBLIC
public static final java.lang.String SERIALIZED_NAME_PUBLIC- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PANORAMIC
public static final java.lang.String SERIALIZED_NAME_PANORAMIC- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MP4_SUPPORT
public static final java.lang.String SERIALIZED_NAME_MP4_SUPPORT- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final java.lang.String SERIALIZED_NAME_TAGS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METADATA
public static final java.lang.String SERIALIZED_NAME_METADATA- See Also:
- Constant Field Values
-
-
Constructor Details
-
VideoUpdatePayload
public VideoUpdatePayload()
-
-
Method Details
-
playerId
-
getPlayerId
@Nullable public java.lang.String getPlayerId()The unique ID for the player you want to associate with your video.- Returns:
- playerId
-
setPlayerId
public void setPlayerId(java.lang.String playerId) -
title
-
getTitle
@Nullable public java.lang.String getTitle()The title you want to use for your video.- Returns:
- title
-
setTitle
public void setTitle(java.lang.String title) -
description
-
getDescription
@Nullable public java.lang.String getDescription()A brief description of the video.- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description) -
_public
-
getPublic
@Nullable public java.lang.Boolean getPublic()Whether the video is publicly available or not. False means it is set to private.- Returns:
- _public
-
setPublic
public void setPublic(java.lang.Boolean _public) -
panoramic
-
getPanoramic
@Nullable public java.lang.Boolean getPanoramic()Whether the video is a 360 degree or immersive video.- Returns:
- panoramic
-
setPanoramic
public void setPanoramic(java.lang.Boolean panoramic) -
mp4Support
-
getMp4Support
@Nullable public java.lang.Boolean getMp4Support()Whether the player supports the mp4 format.- Returns:
- mp4Support
-
setMp4Support
public void setMp4Support(java.lang.Boolean mp4Support) -
tags
-
addTagsItem
-
getTags
@Nullable public java.util.List<java.lang.String> getTags()A list of terms or words you want to tag the video with. Make sure the list includes all the tags you want as whatever you send in this list will overwrite the existing list for the video.- Returns:
- tags
-
setTags
public void setTags(java.util.List<java.lang.String> tags) -
metadata
-
addMetadataItem
-
getMetadata
A list (array) of dictionaries where each dictionary contains a key value pair that describes the video. As with tags, you must send the complete list of metadata you want as whatever you send here will overwrite the existing metadata for the video.- Returns:
- metadata
-
setMetadata
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-