Class VideoCreationPayload

    • Constructor Detail

      • VideoCreationPayload

        public VideoCreationPayload()
    • Method Detail

      • getTitle

        public String getTitle()
        The title of your new video.
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
      • getDescription

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

        public void setDescription​(String description)
      • getSource

        @Nullable
        public String getSource()
        You can either add a video already on the web, by entering the URL of the video, or you can also enter the `videoId` of one of the videos you already have on your api.video acccount, and this will generate a copy of your video. Creating a copy of a video can be especially useful if you want to keep your original video and trim or apply a watermark onto the copy you would create.
        Returns:
        source
      • setSource

        public void setSource​(String source)
      • getPublic

        @Nullable
        public Boolean getPublic()
        Default: True. If set to `false` the video will become private. More information on private videos can be found [here](https://docs.api.video/delivery/video-privacy-access-management)
        Returns:
        _public
      • setPublic

        public void setPublic​(Boolean _public)
      • getPanoramic

        @Nullable
        public Boolean getPanoramic()
        Indicates if your video is a 360/immersive video.
        Returns:
        panoramic
      • setPanoramic

        public void setPanoramic​(Boolean panoramic)
      • getMp4Support

        @Nullable
        public Boolean getMp4Support()
        Enables mp4 version in addition to streamed version.
        Returns:
        mp4Support
      • setMp4Support

        public void setMp4Support​(Boolean mp4Support)
      • getPlayerId

        @Nullable
        public String getPlayerId()
        The unique identification number for your video player.
        Returns:
        playerId
      • setPlayerId

        public void setPlayerId​(String playerId)
      • getTags

        @Nullable
        public List<String> getTags()
        A list of tags you want to use to describe your video.
        Returns:
        tags
      • setTags

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

        @Nullable
        public List<Metadata> getMetadata()
        A list of key value pairs that you use to provide metadata for your video.
        Returns:
        metadata
      • setMetadata

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

        @Nullable
        public VideoClip getClip()
        Get clip
        Returns:
        clip
      • setClip

        public void setClip​(VideoClip clip)
      • getWatermark

        @Nullable
        public VideoWatermark getWatermark()
        Get watermark
        Returns:
        watermark
      • setWatermark

        public void setWatermark​(VideoWatermark watermark)
      • getLanguage

        @Nullable
        public VideoCreationPayload.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. We recommend using this parameter together with `transcript: true`. - 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