Token
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewToken(id string, href string, createdDate string, expirationDate string, ) *Token
NewToken instantiates a new Token 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 NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token 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 *Token) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Token) 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.
func (o *Token) SetId(v string)
SetId sets Id field to given value.
func (o *Token) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *Token) 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.
func (o *Token) SetHref(v string)
SetHref sets Href field to given value.
func (o *Token) GetCreatedDate() string
GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.
func (o *Token) GetCreatedDateOk() (*string, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetCreatedDate(v string)
SetCreatedDate sets CreatedDate field to given value.
func (o *Token) GetExpirationDate() string
GetExpirationDate returns the ExpirationDate field if non-nil, zero value otherwise.
func (o *Token) GetExpirationDateOk() (*string, bool)
GetExpirationDateOk returns a tuple with the ExpirationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetExpirationDate(v string)
SetExpirationDate sets ExpirationDate field to given value.
Id
string
Identifier of the token.
Href
string
Hypertext REFerence for the specified token.
CreatedDate
string
The date the token was generated.
ExpirationDate
string
The date the token will expire.