Name | Type | Description | Notes |
---|---|---|---|
Token | Pointer to string | The unique identifier for the token you will use to authenticate an upload. | [optional] |
Ttl | Pointer to int32 | Time-to-live - how long the upload token is valid for. | [optional] |
CreatedAt | Pointer to string | When the token was created, displayed in ATOM UTC format. | [optional] |
ExpiresAt | Pointer to NullableString | When the token expires, displayed in ATOM UTC format. | [optional] |
func NewUploadToken() *UploadToken
NewUploadToken instantiates a new UploadToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUploadTokenWithDefaults() *UploadToken
NewUploadTokenWithDefaults instantiates a new UploadToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *UploadToken) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UploadToken) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadToken) SetToken(v string)
SetToken sets Token field to given value.
func (o *UploadToken) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UploadToken) GetTtl() int32
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *UploadToken) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadToken) SetTtl(v int32)
SetTtl sets Ttl field to given value.
func (o *UploadToken) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (o *UploadToken) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *UploadToken) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadToken) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *UploadToken) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *UploadToken) GetExpiresAt() string
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *UploadToken) GetExpiresAtOk() (*string, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadToken) SetExpiresAt(v string)
SetExpiresAt sets ExpiresAt field to given value.
func (o *UploadToken) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (o *UploadToken) SetExpiresAtNil(b bool)
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (o *UploadToken) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil