Package video.api.client.api.models
Class BytesRange
- java.lang.Object
-
- video.api.client.api.models.BytesRange
-
- All Implemented Interfaces:
Serializable
public class BytesRange extends Object implements Serializable
BytesRange- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_FROMstatic StringSERIALIZED_NAME_TOstatic StringSERIALIZED_NAME_TOTAL
-
Constructor Summary
Constructors Constructor Description BytesRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BytesRangefrom(Integer from)IntegergetFrom()The starting point for the range of bytes for a chunk of a video.IntegergetTo()The ending point for the range of bytes for a chunk of a video.IntegergetTotal()The total number of expected bytes.inthashCode()voidsetFrom(Integer from)voidsetTo(Integer to)voidsetTotal(Integer total)BytesRangeto(Integer to)StringtoString()BytesRangetotal(Integer total)
-
-
-
Field Detail
-
SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_FROM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TO
public static final String SERIALIZED_NAME_TO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL
public static final String SERIALIZED_NAME_TOTAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
from
public BytesRange from(Integer from)
-
getFrom
@Nullable public Integer getFrom()
The starting point for the range of bytes for a chunk of a video.- Returns:
- from
-
setFrom
public void setFrom(Integer from)
-
to
public BytesRange to(Integer to)
-
getTo
@Nullable public Integer getTo()
The ending point for the range of bytes for a chunk of a video.- Returns:
- to
-
setTo
public void setTo(Integer to)
-
total
public BytesRange total(Integer total)
-
getTotal
@Nullable public Integer getTotal()
The total number of expected bytes.- Returns:
- total
-
setTotal
public void setTotal(Integer total)
-
-