Skip to content

Latest commit

 

History

History
187 lines (100 loc) · 4.35 KB

Token.md

File metadata and controls

187 lines (100 loc) · 4.35 KB

Token

Properties

Name Type Description Notes
CreatedAt string
Id string
Last4 Pointer to string [optional]
Status string
UpdatedAt Pointer to string [optional]
UserId string
VersionId int32

Methods

NewToken

func NewToken(createdAt string, id string, status string, userId string, versionId int32, ) *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

GetCreatedAt

func (o *Token) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *Token) GetCreatedAtOk() (*string, bool)

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

SetCreatedAt

func (o *Token) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

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.

GetLast4

func (o *Token) GetLast4() string

GetLast4 returns the Last4 field if non-nil, zero value otherwise.

GetLast4Ok

func (o *Token) GetLast4Ok() (*string, bool)

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

SetLast4

func (o *Token) SetLast4(v string)

SetLast4 sets Last4 field to given value.

HasLast4

func (o *Token) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

GetStatus

func (o *Token) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *Token) GetStatusOk() (*string, bool)

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

SetStatus

func (o *Token) SetStatus(v string)

SetStatus sets Status field to given value.

GetUpdatedAt

func (o *Token) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *Token) GetUpdatedAtOk() (*string, bool)

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

SetUpdatedAt

func (o *Token) SetUpdatedAt(v string)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *Token) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetUserId

func (o *Token) GetUserId() string

GetUserId returns the UserId field if non-nil, zero value otherwise.

GetUserIdOk

func (o *Token) GetUserIdOk() (*string, bool)

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

SetUserId

func (o *Token) SetUserId(v string)

SetUserId sets UserId field to given value.

GetVersionId

func (o *Token) GetVersionId() int32

GetVersionId returns the VersionId field if non-nil, zero value otherwise.

GetVersionIdOk

func (o *Token) GetVersionIdOk() (*int32, bool)

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

SetVersionId

func (o *Token) SetVersionId(v int32)

SetVersionId sets VersionId field to given value.

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