Package video.api.client.api.models
Class VideoCreationPayload
- java.lang.Object
-
- video.api.client.api.models.VideoCreationPayload
-
- All Implemented Interfaces:
Serializable
public class VideoCreationPayload extends Object implements Serializable
VideoCreationPayload- 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_SOURCEstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_TITLE
-
Constructor Summary
Constructors Constructor Description VideoCreationPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoCreationPayload_public(Boolean _public)VideoCreationPayloadaddMetadataItem(Metadata metadataItem)VideoCreationPayloadaddTagsItem(String tagsItem)VideoCreationPayloaddescription(String description)booleanequals(Object o)StringgetDescription()A brief description of your video.List<Metadata>getMetadata()A list of key value pairs that you use to provide metadata for your video.BooleangetMp4Support()Enables mp4 version in addition to streamed version.BooleangetPanoramic()Indicates if your video is a 360/immersive video.StringgetPlayerId()The unique identification number for your video player.BooleangetPublic()Whether your video can be viewed by everyone, or requires authentication to see it.StringgetSource()If you add a video already on the web, this is where you enter the url for the video.List<String>getTags()A list of tags you want to use to describe your video.StringgetTitle()The title of your new video.inthashCode()VideoCreationPayloadmetadata(List<Metadata> metadata)VideoCreationPayloadmp4Support(Boolean mp4Support)VideoCreationPayloadpanoramic(Boolean panoramic)VideoCreationPayloadplayerId(String playerId)voidsetDescription(String description)voidsetMetadata(List<Metadata> metadata)voidsetMp4Support(Boolean mp4Support)voidsetPanoramic(Boolean panoramic)voidsetPlayerId(String playerId)voidsetPublic(Boolean _public)voidsetSource(String source)voidsetTags(List<String> tags)voidsetTitle(String title)VideoCreationPayloadsource(String source)VideoCreationPayloadtags(List<String> tags)VideoCreationPayloadtitle(String title)StringtoString()
-
-
-
Field Detail
-
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_SOURCE
public static final String SERIALIZED_NAME_SOURCE
- 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_PLAYER_ID
public static final String SERIALIZED_NAME_PLAYER_ID
- 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
-
title
public VideoCreationPayload title(String title)
-
getTitle
public String getTitle()
The title of your new video.- Returns:
- title
-
setTitle
public void setTitle(String title)
-
description
public VideoCreationPayload description(String description)
-
getDescription
@Nullable public String getDescription()
A brief description of your video.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
source
public VideoCreationPayload source(String source)
-
getSource
@Nullable public String getSource()
If you add a video already on the web, this is where you enter the url for the video.- Returns:
- source
-
setSource
public void setSource(String source)
-
_public
public VideoCreationPayload _public(Boolean _public)
-
getPublic
@Nullable public Boolean getPublic()
Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view.- Returns:
- _public
-
setPublic
public void setPublic(Boolean _public)
-
panoramic
public VideoCreationPayload panoramic(Boolean panoramic)
-
getPanoramic
@Nullable public Boolean getPanoramic()
Indicates if your video is a 360/immersive video.- Returns:
- panoramic
-
setPanoramic
public void setPanoramic(Boolean panoramic)
-
mp4Support
public VideoCreationPayload mp4Support(Boolean mp4Support)
-
getMp4Support
@Nullable public Boolean getMp4Support()
Enables mp4 version in addition to streamed version.- Returns:
- mp4Support
-
setMp4Support
public void setMp4Support(Boolean mp4Support)
-
playerId
public VideoCreationPayload playerId(String playerId)
-
getPlayerId
@Nullable public String getPlayerId()
The unique identification number for your video player.- Returns:
- playerId
-
setPlayerId
public void setPlayerId(String playerId)
-
tags
public VideoCreationPayload tags(List<String> tags)
-
addTagsItem
public VideoCreationPayload addTagsItem(String tagsItem)
-
getTags
@Nullable public List<String> getTags()
A list of tags you want to use to describe your video.- Returns:
- tags
-
metadata
public VideoCreationPayload metadata(List<Metadata> metadata)
-
addMetadataItem
public VideoCreationPayload addMetadataItem(Metadata metadataItem)
-
getMetadata
@Nullable public List<Metadata> getMetadata()
A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos.- Returns:
- metadata
-
-