Token

Properties

NameTypeDescriptionNotes

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.

Methods

NewToken

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

NewTokenWithDefaults

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

GetId

func (o *Token) GetId() string

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

GetIdOk

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.

SetId

func (o *Token) SetId(v string)

SetId sets Id field to given value.

GetHref

func (o *Token) GetHref() string

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

GetHrefOk

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.

SetHref

func (o *Token) SetHref(v string)

SetHref sets Href field to given value.

GetCreatedDate

func (o *Token) GetCreatedDate() string

GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.

GetCreatedDateOk

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.

SetCreatedDate

func (o *Token) SetCreatedDate(v string)

SetCreatedDate sets CreatedDate field to given value.

GetExpirationDate

func (o *Token) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field if non-nil, zero value otherwise.

GetExpirationDateOk

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.

SetExpirationDate

func (o *Token) SetExpirationDate(v string)

SetExpirationDate sets ExpirationDate field to given value.

Last updated