Package video.api.client.api.models
Class VideoStatusIngest
- java.lang.Object
-
- video.api.client.api.models.VideoStatusIngest
-
- All Implemented Interfaces:
Serializable,DeepObject
public class VideoStatusIngest extends Object implements Serializable, DeepObject
Details about the capturing, transferring, and storing of your video for use immediately or in the future.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVideoStatusIngest.StatusEnumThere are four possible statuses depending on how you provide a video file: - `uploading` - the API is gathering the video source file from an upload.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_FILESIZEstatic StringSERIALIZED_NAME_RECEIVED_BYTESstatic StringSERIALIZED_NAME_RECEIVED_PARTSstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description VideoStatusIngest()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILESIZE
public static final String SERIALIZED_NAME_FILESIZE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECEIVED_BYTES
public static final String SERIALIZED_NAME_RECEIVED_BYTES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECEIVED_PARTS
public static final String SERIALIZED_NAME_RECEIVED_PARTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public VideoStatusIngest status(VideoStatusIngest.StatusEnum status)
-
getStatus
@Nullable public VideoStatusIngest.StatusEnum getStatus()
There are four possible statuses depending on how you provide a video file: - `uploading` - the API is gathering the video source file from an upload. - `uploaded` - the video file is fully uploaded. - `ingesting` - the API is gathering the video source file from either a URL, or from cloning. - `ingested` - the video file is fully stored.- Returns:
- status
-
setStatus
public void setStatus(VideoStatusIngest.StatusEnum status)
-
filesize
public VideoStatusIngest filesize(Integer filesize)
-
getFilesize
@Nullable public Integer getFilesize()
The size of your file in bytes.- Returns:
- filesize
-
setFilesize
public void setFilesize(Integer filesize)
-
receivedBytes
public VideoStatusIngest receivedBytes(List<BytesRange> receivedBytes)
-
addReceivedBytesItem
public VideoStatusIngest addReceivedBytesItem(BytesRange receivedBytesItem)
-
getReceivedBytes
@Nullable public List<BytesRange> getReceivedBytes()
The total number of bytes received, listed for each chunk of the upload.- Returns:
- receivedBytes
-
setReceivedBytes
public void setReceivedBytes(List<BytesRange> receivedBytes)
-
receivedParts
public VideoStatusIngest receivedParts(VideoStatusIngestReceivedParts receivedParts)
-
getReceivedParts
@Nullable public VideoStatusIngestReceivedParts getReceivedParts()
Get receivedParts- Returns:
- receivedParts
-
setReceivedParts
public void setReceivedParts(VideoStatusIngestReceivedParts receivedParts)
-
-