Name | Type | Description | Notes |
---|---|---|---|
AccessToken | Pointer to string | The OAuth 2.0 access token issued by the partner. | [optional] |
TokenType | Pointer to string | The type of token issued which is case insensitive. | [optional] |
ExpiresIn | Pointer to int32 | The access token lifespan in seconds. The token is reused till it expires - default is 604799 (7 days). | [optional] |
func NewGrabOauthResponse() *GrabOauthResponse
NewGrabOauthResponse instantiates a new GrabOauthResponse 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 NewGrabOauthResponseWithDefaults() *GrabOauthResponse
NewGrabOauthResponseWithDefaults instantiates a new GrabOauthResponse 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 *GrabOauthResponse) GetAccessToken() string
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
func (o *GrabOauthResponse) 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 *GrabOauthResponse) SetAccessToken(v string)
SetAccessToken sets AccessToken field to given value.
func (o *GrabOauthResponse) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (o *GrabOauthResponse) GetTokenType() string
GetTokenType returns the TokenType field if non-nil, zero value otherwise.
func (o *GrabOauthResponse) 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 *GrabOauthResponse) SetTokenType(v string)
SetTokenType sets TokenType field to given value.
func (o *GrabOauthResponse) HasTokenType() bool
HasTokenType returns a boolean if a field has been set.
func (o *GrabOauthResponse) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.
func (o *GrabOauthResponse) 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 *GrabOauthResponse) SetExpiresIn(v int32)
SetExpiresIn sets ExpiresIn field to given value.
func (o *GrabOauthResponse) HasExpiresIn() bool
HasExpiresIn returns a boolean if a field has been set.