Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.19 KB

GrabOauthResponse.md

File metadata and controls

108 lines (59 loc) · 3.19 KB

GrabOauthResponse

Properties

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]

Methods

NewGrabOauthResponse

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

NewGrabOauthResponseWithDefaults

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

GetAccessToken

func (o *GrabOauthResponse) GetAccessToken() string

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

GetAccessTokenOk

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.

SetAccessToken

func (o *GrabOauthResponse) SetAccessToken(v string)

SetAccessToken sets AccessToken field to given value.

HasAccessToken

func (o *GrabOauthResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

GetTokenType

func (o *GrabOauthResponse) GetTokenType() string

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

GetTokenTypeOk

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.

SetTokenType

func (o *GrabOauthResponse) SetTokenType(v string)

SetTokenType sets TokenType field to given value.

HasTokenType

func (o *GrabOauthResponse) HasTokenType() bool

HasTokenType returns a boolean if a field has been set.

GetExpiresIn

func (o *GrabOauthResponse) GetExpiresIn() int32

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

GetExpiresInOk

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.

SetExpiresIn

func (o *GrabOauthResponse) SetExpiresIn(v int32)

SetExpiresIn sets ExpiresIn field to given value.

HasExpiresIn

func (o *GrabOauthResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

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