Package video.api.client.api.models
Class UploadToken
- java.lang.Object
-
- video.api.client.api.models.UploadToken
-
- All Implemented Interfaces:
Serializable
public class UploadToken extends Object implements Serializable
UploadToken- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_EXPIRES_ATstatic StringSERIALIZED_NAME_TOKENstatic StringSERIALIZED_NAME_TTL
-
Constructor Summary
Constructors Constructor Description UploadToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadTokencreatedAt(org.threeten.bp.OffsetDateTime createdAt)booleanequals(Object o)UploadTokenexpiresAt(org.threeten.bp.OffsetDateTime expiresAt)org.threeten.bp.OffsetDateTimegetCreatedAt()When the token was created, displayed in ISO-8601 format.org.threeten.bp.OffsetDateTimegetExpiresAt()When the token expires, displayed in ISO-8601 format.StringgetToken()The unique identifier for the token you will use to authenticate an upload.IntegergetTtl()Time-to-live - how long the upload token is valid for.inthashCode()voidsetCreatedAt(org.threeten.bp.OffsetDateTime createdAt)voidsetExpiresAt(org.threeten.bp.OffsetDateTime expiresAt)voidsetToken(String token)voidsetTtl(Integer ttl)UploadTokentoken(String token)StringtoString()UploadTokenttl(Integer ttl)
-
-
-
Field Detail
-
SERIALIZED_NAME_TOKEN
public static final String SERIALIZED_NAME_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TTL
public static final String SERIALIZED_NAME_TTL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXPIRES_AT
public static final String SERIALIZED_NAME_EXPIRES_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
token
public UploadToken token(String token)
-
getToken
@Nullable public String getToken()
The unique identifier for the token you will use to authenticate an upload.- Returns:
- token
-
setToken
public void setToken(String token)
-
ttl
public UploadToken ttl(Integer ttl)
-
getTtl
@Nullable public Integer getTtl()
Time-to-live - how long the upload token is valid for. minimum: 0 maximum: 2147483647- Returns:
- ttl
-
setTtl
public void setTtl(Integer ttl)
-
createdAt
public UploadToken createdAt(org.threeten.bp.OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public org.threeten.bp.OffsetDateTime getCreatedAt()
When the token was created, displayed in ISO-8601 format.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(org.threeten.bp.OffsetDateTime createdAt)
-
expiresAt
public UploadToken expiresAt(org.threeten.bp.OffsetDateTime expiresAt)
-
getExpiresAt
@Nullable public org.threeten.bp.OffsetDateTime getExpiresAt()
When the token expires, displayed in ISO-8601 format.- Returns:
- expiresAt
-
setExpiresAt
public void setExpiresAt(org.threeten.bp.OffsetDateTime expiresAt)
-
-