3.6 KiB
DtoTokenPair
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AccessToken | Pointer to string | [optional] | |
| ExpiresIn | Pointer to int32 | [optional] | |
| RefreshToken | Pointer to string | [optional] | |
| TokenType | Pointer to string | [optional] |
Methods
NewDtoTokenPair
func NewDtoTokenPair() *DtoTokenPair
NewDtoTokenPair instantiates a new DtoTokenPair 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
NewDtoTokenPairWithDefaults
func NewDtoTokenPairWithDefaults() *DtoTokenPair
NewDtoTokenPairWithDefaults instantiates a new DtoTokenPair 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 *DtoTokenPair) GetAccessToken() string
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
GetAccessTokenOk
func (o *DtoTokenPair) 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 *DtoTokenPair) SetAccessToken(v string)
SetAccessToken sets AccessToken field to given value.
HasAccessToken
func (o *DtoTokenPair) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
GetExpiresIn
func (o *DtoTokenPair) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.
GetExpiresInOk
func (o *DtoTokenPair) 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 *DtoTokenPair) SetExpiresIn(v int32)
SetExpiresIn sets ExpiresIn field to given value.
HasExpiresIn
func (o *DtoTokenPair) HasExpiresIn() bool
HasExpiresIn returns a boolean if a field has been set.
GetRefreshToken
func (o *DtoTokenPair) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise.
GetRefreshTokenOk
func (o *DtoTokenPair) 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 *DtoTokenPair) SetRefreshToken(v string)
SetRefreshToken sets RefreshToken field to given value.
HasRefreshToken
func (o *DtoTokenPair) HasRefreshToken() bool
HasRefreshToken returns a boolean if a field has been set.
GetTokenType
func (o *DtoTokenPair) GetTokenType() string
GetTokenType returns the TokenType field if non-nil, zero value otherwise.
GetTokenTypeOk
func (o *DtoTokenPair) 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 *DtoTokenPair) SetTokenType(v string)
SetTokenType sets TokenType field to given value.
HasTokenType
func (o *DtoTokenPair) HasTokenType() bool
HasTokenType returns a boolean if a field has been set.