Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.19 KB

PartnerOauthResponse.md

File metadata and controls

108 lines (59 loc) · 3.19 KB

PartnerOauthResponse

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. [optional]

Methods

NewPartnerOauthResponse

func NewPartnerOauthResponse() *PartnerOauthResponse

NewPartnerOauthResponse instantiates a new PartnerOauthResponse 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

NewPartnerOauthResponseWithDefaults

func NewPartnerOauthResponseWithDefaults() *PartnerOauthResponse

NewPartnerOauthResponseWithDefaults instantiates a new PartnerOauthResponse 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 *PartnerOauthResponse) GetAccessToken() string

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

GetAccessTokenOk

func (o *PartnerOauthResponse) 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 *PartnerOauthResponse) SetAccessToken(v string)

SetAccessToken sets AccessToken field to given value.

HasAccessToken

func (o *PartnerOauthResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

GetTokenType

func (o *PartnerOauthResponse) GetTokenType() string

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

GetTokenTypeOk

func (o *PartnerOauthResponse) 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 *PartnerOauthResponse) SetTokenType(v string)

SetTokenType sets TokenType field to given value.

HasTokenType

func (o *PartnerOauthResponse) HasTokenType() bool

HasTokenType returns a boolean if a field has been set.

GetExpiresIn

func (o *PartnerOauthResponse) GetExpiresIn() int32

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

GetExpiresInOk

func (o *PartnerOauthResponse) 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 *PartnerOauthResponse) SetExpiresIn(v int32)

SetExpiresIn sets ExpiresIn field to given value.

HasExpiresIn

func (o *PartnerOauthResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

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