Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.86 KB

AccessToken.md

File metadata and controls

134 lines (73 loc) · 3.86 KB

AccessToken

Properties

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]

Methods

NewAccessToken

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

NewAccessTokenWithDefaults

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

GetAccessToken

func (o *AccessToken) GetAccessToken() string

GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.

GetAccessTokenOk

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.

SetAccessToken

func (o *AccessToken) SetAccessToken(v string)

SetAccessToken sets AccessToken field to given value.

HasAccessToken

func (o *AccessToken) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

GetTokenType

func (o *AccessToken) GetTokenType() string

GetTokenType returns the TokenType field if non-nil, zero value otherwise.

GetTokenTypeOk

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.

SetTokenType

func (o *AccessToken) SetTokenType(v string)

SetTokenType sets TokenType field to given value.

HasTokenType

func (o *AccessToken) HasTokenType() bool

HasTokenType returns a boolean if a field has been set.

GetRefreshToken

func (o *AccessToken) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise.

GetRefreshTokenOk

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.

SetRefreshToken

func (o *AccessToken) SetRefreshToken(v string)

SetRefreshToken sets RefreshToken field to given value.

HasRefreshToken

func (o *AccessToken) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

GetExpiresIn

func (o *AccessToken) GetExpiresIn() int32

GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.

GetExpiresInOk

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.

SetExpiresIn

func (o *AccessToken) SetExpiresIn(v int32)

SetExpiresIn sets ExpiresIn field to given value.

HasExpiresIn

func (o *AccessToken) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]