Name | Type | Description | Notes |
---|---|---|---|
AccessToken | Pointer to string | The access token containing security credentials allowing you to acccess the API. The token lasts for one hour. | [optional] |
TokenType | Pointer to string | The type of token you have. | [optional] [default to "bearer"] |
RefreshToken | Pointer to string | A token you can use to get the next access token when your current access token expires. | [optional] |
ExpiresIn | Pointer to int32 | Lists the time in seconds when your access token expires. It lasts for one hour. | [optional] |
func NewAccessToken() *AccessToken
NewAccessToken instantiates a new AccessToken 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 NewAccessTokenWithDefaults() *AccessToken
NewAccessTokenWithDefaults instantiates a new AccessToken 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 *AccessToken) GetAccessToken() string
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
func (o *AccessToken) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessToken) SetAccessToken(v string)
SetAccessToken sets AccessToken field to given value.
func (o *AccessToken) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (o *AccessToken) GetTokenType() string
GetTokenType returns the TokenType field if non-nil, zero value otherwise.
func (o *AccessToken) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessToken) SetTokenType(v string)
SetTokenType sets TokenType field to given value.
func (o *AccessToken) HasTokenType() bool
HasTokenType returns a boolean if a field has been set.
func (o *AccessToken) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise.
func (o *AccessToken) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessToken) SetRefreshToken(v string)
SetRefreshToken sets RefreshToken field to given value.
func (o *AccessToken) HasRefreshToken() bool
HasRefreshToken returns a boolean if a field has been set.
func (o *AccessToken) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.
func (o *AccessToken) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessToken) SetExpiresIn(v int32)
SetExpiresIn sets ExpiresIn field to given value.
func (o *AccessToken) HasExpiresIn() bool
HasExpiresIn returns a boolean if a field has been set.