Name | Type | Description | Notes |
---|---|---|---|
Account | Pointer to PermissionCollectionAccount | [optional] | |
UserId | UserId | ||
TokenId | string | The unique identifier for the token | |
Token | string | The access token | |
Links | Pointer to AccountLinks | [optional] |
func NewUserToken(userId UserId, tokenId string, token string, ) *UserToken
NewUserToken instantiates a new UserToken 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 NewUserTokenWithDefaults() *UserToken
NewUserTokenWithDefaults instantiates a new UserToken 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 *UserToken) GetAccount() PermissionCollectionAccount
GetAccount returns the Account field if non-nil, zero value otherwise.
func (o *UserToken) GetAccountOk() (*PermissionCollectionAccount, bool)
GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserToken) SetAccount(v PermissionCollectionAccount)
SetAccount sets Account field to given value.
func (o *UserToken) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (o *UserToken) GetUserId() UserId
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *UserToken) GetUserIdOk() (*UserId, 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 *UserToken) SetUserId(v UserId)
SetUserId sets UserId field to given value.
func (o *UserToken) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *UserToken) GetTokenIdOk() (*string, bool)
GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserToken) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *UserToken) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UserToken) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserToken) SetToken(v string)
SetToken sets Token field to given value.
func (o *UserToken) GetLinks() AccountLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *UserToken) GetLinksOk() (*AccountLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserToken) SetLinks(v AccountLinks)
SetLinks sets Links field to given value.
func (o *UserToken) HasLinks() bool
HasLinks returns a boolean if a field has been set.