Name | Type | Description | Notes |
---|---|---|---|
CreatedAt | string | ||
Id | string | ||
Last4 | Pointer to string | [optional] | |
Status | string | ||
UpdatedAt | Pointer to string | [optional] | |
UserId | string | ||
VersionId | int32 |
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
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) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
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.
func (o *Token) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
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) GetLast4() string
GetLast4 returns the Last4 field if non-nil, zero value otherwise.
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.
func (o *Token) SetLast4(v string)
SetLast4 sets Last4 field to given value.
func (o *Token) HasLast4() bool
HasLast4 returns a boolean if a field has been set.
func (o *Token) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *Token) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *Token) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
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.
func (o *Token) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Token) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *Token) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
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.
func (o *Token) SetUserId(v string)
SetUserId sets UserId field to given value.
func (o *Token) GetVersionId() int32
GetVersionId returns the VersionId field if non-nil, zero value otherwise.
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.
func (o *Token) SetVersionId(v int32)
SetVersionId sets VersionId field to given value.