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/docs/private-videos)
        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. These pairs can be made dynamic, allowing you to segment your audience. Read more on [dynamic metadata](https://api.video/blog/endpoints/dynamic-metadata).
        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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object