Class VideoUpdatePayload

    • Constructor Detail

      • VideoUpdatePayload

        public VideoUpdatePayload()
    • Method Detail

      • 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)
      • getTitle

        @Nullable
        public String getTitle()
        The title you want to use for your video.
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
      • getDescription

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

        public void setDescription​(String description)
      • getPublic

        @Nullable
        public Boolean getPublic()
        Whether the video is publicly available or not. False means it is set to private. 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()
        Whether the video is a 360 degree or immersive video.
        Returns:
        panoramic
      • setPanoramic

        public void setPanoramic​(Boolean panoramic)
      • getMp4Support

        @Nullable
        public Boolean getMp4Support()
        Whether the player supports the mp4 format.
        Returns:
        mp4Support
      • setMp4Support

        public void setMp4Support​(Boolean mp4Support)
      • 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
      • setTags

        public void setTags​(List<String> tags)
      • 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
      • setMetadata

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

        @Nullable
        public VideoUpdatePayload.LanguageEnum getLanguage()
        Use this parameter to set the language of the video. When this parameter is set, the API creates a transcript of the video using the language you specify. You must use the [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format. `language` is a permanent attribute of the video. You can update it to another language using the [`PATCH /videos/{videoId}`](https://docs.api.video/reference/api/Videos#update-a-video-object) operation. This triggers the API to generate a new transcript using a different language.
        Returns:
        language
      • getTranscript

        @Nullable
        public Boolean getTranscript()
        Use this parameter to enable transcription. - When `true`, the API generates a transcript for the video. - The default value is `false`. - If you define a video language using the `language` parameter, the API uses that language to transcribe the video. If you do not define a language, the API detects it based on the video. - When the API generates a transcript, it will be available as a caption for the video.
        Returns:
        transcript
      • setTranscript

        public void setTranscript​(Boolean transcript)
      • getTranscriptSummary

        @Nullable
        public Boolean getTranscriptSummary()
        Use this parameter to enable summarization. - When `true`, the API generates a summary for the video, based on the transcription. - The default value is `false`. - If you define a video language using the `language` parameter, the API uses that language to summarize the video. If you do not define a language, the API detects it based on the video.
        Returns:
        transcriptSummary
      • setTranscriptSummary

        public void setTranscriptSummary​(Boolean transcriptSummary)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object