Skip to content

Latest commit

 

History

History
147 lines (80 loc) · 3.67 KB

TokenResponse.md

File metadata and controls

147 lines (80 loc) · 3.67 KB

TokenResponse

Properties

Name Type Description Notes
Href Pointer to string [optional]
Id Pointer to string [optional]
Metadata ApiResourceMetadata
Properties TokenProperties
Type Pointer to string [optional]

Methods

NewTokenResponse

func NewTokenResponse(metadata ApiResourceMetadata, properties TokenProperties, ) *TokenResponse

NewTokenResponse instantiates a new TokenResponse 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

NewTokenResponseWithDefaults

func NewTokenResponseWithDefaults() *TokenResponse

NewTokenResponseWithDefaults instantiates a new TokenResponse 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

GetHref

func (o *TokenResponse) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *TokenResponse) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHref

func (o *TokenResponse) SetHref(v string)

SetHref sets Href field to given value.

HasHref

func (o *TokenResponse) HasHref() bool

HasHref returns a boolean if a field has been set.

GetId

func (o *TokenResponse) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *TokenResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *TokenResponse) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *TokenResponse) HasId() bool

HasId returns a boolean if a field has been set.

GetMetadata

func (o *TokenResponse) GetMetadata() ApiResourceMetadata

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *TokenResponse) GetMetadataOk() (*ApiResourceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMetadata

func (o *TokenResponse) SetMetadata(v ApiResourceMetadata)

SetMetadata sets Metadata field to given value.

GetProperties

func (o *TokenResponse) GetProperties() TokenProperties

GetProperties returns the Properties field if non-nil, zero value otherwise.

GetPropertiesOk

func (o *TokenResponse) GetPropertiesOk() (*TokenProperties, bool)

GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProperties

func (o *TokenResponse) SetProperties(v TokenProperties)

SetProperties sets Properties field to given value.

GetType

func (o *TokenResponse) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *TokenResponse) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *TokenResponse) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *TokenResponse) HasType() bool

HasType returns a boolean if a field has been set.