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 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

      public VideoUpdatePayload playerId​(java.lang.String 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

      public VideoUpdatePayload title​(java.lang.String 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

      public VideoUpdatePayload description​(java.lang.String 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

      public VideoUpdatePayload _public​(java.lang.Boolean _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

      public VideoUpdatePayload panoramic​(java.lang.Boolean 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

      public VideoUpdatePayload mp4Support​(java.lang.Boolean 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

      public VideoUpdatePayload tags​(java.util.List<java.lang.String> tags)
    • addTagsItem

      public VideoUpdatePayload addTagsItem​(java.lang.String tagsItem)
    • 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

      public VideoUpdatePayload metadata​(java.util.List<Metadata> metadata)
    • addMetadataItem

      public VideoUpdatePayload addMetadataItem​(Metadata metadataItem)
    • getMetadata

      @Nullable public java.util.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
    • setMetadata

      public void setMetadata​(java.util.List<Metadata> metadata)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object