Package video.api.client.api.models
Class Video
- java.lang.Object
-
- video.api.client.api.models.Video
-
- All Implemented Interfaces:
Serializable
public class Video extends Object implements Serializable
Video- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ASSETSstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_METADATAstatic StringSERIALIZED_NAME_MP4_SUPPORTstatic StringSERIALIZED_NAME_PANORAMICstatic StringSERIALIZED_NAME_PLAYER_IDstatic StringSERIALIZED_NAME_PUBLICstatic StringSERIALIZED_NAME_PUBLISHED_ATstatic StringSERIALIZED_NAME_SOURCEstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_TITLEstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_VIDEO_ID
-
Constructor Summary
Constructors Constructor Description Video()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Video_public(Boolean _public)VideoaddMetadataItem(Metadata metadataItem)VideoaddTagsItem(String tagsItem)Videoassets(VideoAssets assets)VideocreatedAt(OffsetDateTime createdAt)Videodescription(String description)booleanequals(Object o)VideoAssetsgetAssets()Get assetsOffsetDateTimegetCreatedAt()When a video was created, presented in ISO-8601 format.StringgetDescription()A description for the video content.List<Metadata>getMetadata()Metadata you can use to categorise and filter videos.BooleangetMp4Support()This lets you know whether mp4 is supported.BooleangetPanoramic()Defines if video is panoramic.StringgetPlayerId()The id of the player that will be applied on the video.BooleangetPublic()Defines if the content is publicly reachable or if a unique token is needed for each play session.OffsetDateTimegetPublishedAt()The date and time the API created the video.VideoSourcegetSource()Get sourceList<String>getTags()One array of tags (each tag is a string) in order to categorize a video.StringgetTitle()The title of the video content.OffsetDateTimegetUpdatedAt()The date and time the video was updated.StringgetVideoId()The unique identifier of the video object.inthashCode()Videometadata(List<Metadata> metadata)Videomp4Support(Boolean mp4Support)Videopanoramic(Boolean panoramic)VideoplayerId(String playerId)VideopublishedAt(OffsetDateTime publishedAt)voidsetAssets(VideoAssets assets)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDescription(String description)voidsetMetadata(List<Metadata> metadata)voidsetMp4Support(Boolean mp4Support)voidsetPanoramic(Boolean panoramic)voidsetPlayerId(String playerId)voidsetPublic(Boolean _public)voidsetPublishedAt(OffsetDateTime publishedAt)voidsetSource(VideoSource source)voidsetTags(List<String> tags)voidsetTitle(String title)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetVideoId(String videoId)Videosource(VideoSource source)Videotags(List<String> tags)Videotitle(String title)StringtoString()VideoupdatedAt(OffsetDateTime updatedAt)VideovideoId(String videoId)
-
-
-
Field Detail
-
SERIALIZED_NAME_VIDEO_ID
public static final String SERIALIZED_NAME_VIDEO_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- 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_PUBLISHED_AT
public static final String SERIALIZED_NAME_PUBLISHED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- 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
-
SERIALIZED_NAME_SOURCE
public static final String SERIALIZED_NAME_SOURCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASSETS
public static final String SERIALIZED_NAME_ASSETS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYER_ID
public static final String SERIALIZED_NAME_PLAYER_ID
- 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
-
-
Method Detail
-
getVideoId
public String getVideoId()
The unique identifier of the video object.- Returns:
- videoId
-
setVideoId
public void setVideoId(String videoId)
-
createdAt
public Video createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
When a video was created, presented in ISO-8601 format.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
getTitle
@Nullable public String getTitle()
The title of the video content.- Returns:
- title
-
setTitle
public void setTitle(String title)
-
getDescription
@Nullable public String getDescription()
A description for the video content.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
publishedAt
public Video publishedAt(OffsetDateTime publishedAt)
-
getPublishedAt
@Nullable public OffsetDateTime getPublishedAt()
The date and time the API created the video. Date and time are provided using ISO-8601 UTC format.- Returns:
- publishedAt
-
setPublishedAt
public void setPublishedAt(OffsetDateTime publishedAt)
-
updatedAt
public Video updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
The date and time the video was updated. Date and time are provided using ISO-8601 UTC format.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
getTags
@Nullable public List<String> getTags()
One array of tags (each tag is a string) in order to categorize a video. Tags may include spaces.- Returns:
- tags
-
getMetadata
@Nullable public List<Metadata> getMetadata()
Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata) allows you to define a key that allows any value pair.- Returns:
- metadata
-
source
public Video source(VideoSource source)
-
getSource
@Nullable public VideoSource getSource()
Get source- Returns:
- source
-
setSource
public void setSource(VideoSource source)
-
assets
public Video assets(VideoAssets assets)
-
getAssets
@Nullable public VideoAssets getAssets()
Get assets- Returns:
- assets
-
setAssets
public void setAssets(VideoAssets assets)
-
getPlayerId
@Nullable public String getPlayerId()
The id of the player that will be applied on the video.- Returns:
- playerId
-
setPlayerId
public void setPlayerId(String playerId)
-
getPublic
@Nullable public Boolean getPublic()
Defines if the content is publicly reachable or if a unique token is needed for each play session. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos).- Returns:
- _public
-
setPublic
public void setPublic(Boolean _public)
-
getPanoramic
@Nullable public Boolean getPanoramic()
Defines if video is panoramic.- Returns:
- panoramic
-
setPanoramic
public void setPanoramic(Boolean panoramic)
-
getMp4Support
@Nullable public Boolean getMp4Support()
This lets you know whether mp4 is supported. If enabled, an mp4 URL will be provided in the response for the video.- Returns:
- mp4Support
-
setMp4Support
public void setMp4Support(Boolean mp4Support)
-
-