Class Video

    • Constructor Detail

      • Video

        public Video()
    • 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​(org.threeten.bp.OffsetDateTime createdAt)
      • getCreatedAt

        @Nullable
        public org.threeten.bp.OffsetDateTime getCreatedAt()
        When a video was created, presented in ISO-8601 format.
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(org.threeten.bp.OffsetDateTime createdAt)
      • getTitle

        public String getTitle()
        The title of the video content.
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
      • description

        public Video description​(String description)
      • getDescription

        @Nullable
        public String getDescription()
        A description for the video content.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • publishedAt

        public Video publishedAt​(String publishedAt)
      • getPublishedAt

        @Nullable
        public String 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​(String publishedAt)
      • updatedAt

        public Video updatedAt​(org.threeten.bp.OffsetDateTime updatedAt)
      • getUpdatedAt

        @Nullable
        public org.threeten.bp.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​(org.threeten.bp.OffsetDateTime updatedAt)
      • addTagsItem

        public Video addTagsItem​(String tagsItem)
      • 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
      • setTags

        public void setTags​(List<String> tags)
      • addMetadataItem

        public Video addMetadataItem​(Metadata metadataItem)
      • 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
      • setMetadata

        public void setMetadata​(List<Metadata> metadata)
      • getSource

        @Nullable
        public VideoSource getSource()
        Get source
        Returns:
        source
      • setSource

        public void setSource​(VideoSource source)
      • getAssets

        @Nullable
        public VideoAssets getAssets()
        Get assets
        Returns:
        assets
      • setAssets

        public void setAssets​(VideoAssets assets)
      • playerId

        public Video playerId​(String playerId)
      • 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)
      • mp4Support

        public Video mp4Support​(Boolean mp4Support)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object