Package video.api.client.api.models
Class VideoUpdatePayload
- java.lang.Object
-
- video.api.client.api.models.VideoUpdatePayload
-
- All Implemented Interfaces:
Serializable
public class VideoUpdatePayload extends Object implements Serializable
VideoUpdatePayload- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_METADATAstatic StringSERIALIZED_NAME_MP4_SUPPORTstatic StringSERIALIZED_NAME_PANORAMICstatic StringSERIALIZED_NAME_PLAYER_IDstatic StringSERIALIZED_NAME_PUBLICstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_TITLE
-
Constructor Summary
Constructors Constructor Description VideoUpdatePayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoUpdatePayload_public(Boolean _public)VideoUpdatePayloadaddMetadataItem(Metadata metadataItem)VideoUpdatePayloadaddTagsItem(String tagsItem)VideoUpdatePayloaddescription(String description)booleanequals(Object o)StringgetDescription()A brief description of the video.List<Metadata>getMetadata()A list (array) of dictionaries where each dictionary contains a key value pair that describes the video.BooleangetMp4Support()Whether the player supports the mp4 format.BooleangetPanoramic()Whether the video is a 360 degree or immersive video.StringgetPlayerId()The unique ID for the player you want to associate with your video.BooleangetPublic()Whether the video is publicly available or not.List<String>getTags()A list of terms or words you want to tag the video with.StringgetTitle()The title you want to use for your video.inthashCode()VideoUpdatePayloadmetadata(List<Metadata> metadata)VideoUpdatePayloadmp4Support(Boolean mp4Support)VideoUpdatePayloadpanoramic(Boolean panoramic)VideoUpdatePayloadplayerId(String playerId)voidsetDescription(String description)voidsetMetadata(List<Metadata> metadata)voidsetMp4Support(Boolean mp4Support)voidsetPanoramic(Boolean panoramic)voidsetPlayerId(String playerId)voidsetPublic(Boolean _public)voidsetTags(List<String> tags)voidsetTitle(String title)VideoUpdatePayloadtags(List<String> tags)VideoUpdatePayloadtitle(String title)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_PLAYER_ID
public static final String SERIALIZED_NAME_PLAYER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PUBLIC
public static final String SERIALIZED_NAME_PUBLIC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PANORAMIC
public static final String SERIALIZED_NAME_PANORAMIC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MP4_SUPPORT
public static final String SERIALIZED_NAME_MP4_SUPPORT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_METADATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
playerId
public VideoUpdatePayload playerId(String playerId)
-
getPlayerId
@Nullable public String getPlayerId()
The unique ID for the player you want to associate with your video.- Returns:
- playerId
-
setPlayerId
public void setPlayerId(String playerId)
-
title
public VideoUpdatePayload title(String title)
-
getTitle
@Nullable public String getTitle()
The title you want to use for your video.- Returns:
- title
-
setTitle
public void setTitle(String title)
-
description
public VideoUpdatePayload description(String description)
-
getDescription
@Nullable public String getDescription()
A brief description of the video.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
_public
public VideoUpdatePayload _public(Boolean _public)
-
getPublic
@Nullable public Boolean getPublic()
Whether the video is publicly available or not. False means it is set to private.- Returns:
- _public
-
setPublic
public void setPublic(Boolean _public)
-
panoramic
public VideoUpdatePayload panoramic(Boolean panoramic)
-
getPanoramic
@Nullable public Boolean getPanoramic()
Whether the video is a 360 degree or immersive video.- Returns:
- panoramic
-
setPanoramic
public void setPanoramic(Boolean panoramic)
-
mp4Support
public VideoUpdatePayload mp4Support(Boolean mp4Support)
-
getMp4Support
@Nullable public Boolean getMp4Support()
Whether the player supports the mp4 format.- Returns:
- mp4Support
-
setMp4Support
public void setMp4Support(Boolean mp4Support)
-
tags
public VideoUpdatePayload tags(List<String> tags)
-
addTagsItem
public VideoUpdatePayload addTagsItem(String tagsItem)
-
getTags
@Nullable public List<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
-
metadata
public VideoUpdatePayload metadata(List<Metadata> metadata)
-
addMetadataItem
public VideoUpdatePayload addMetadataItem(Metadata metadataItem)
-
getMetadata
@Nullable public List<Metadata> 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
-
-