Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
UserId | Pointer to string | [optional] | |
OrganizationId | Pointer to string | [optional] | |
ExpiresAt | Pointer to time.Time | [optional] |
func NewToken() *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) HasId() bool
HasId 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) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *Token) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
func (o *Token) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetOrganizationId(v string)
SetOrganizationId sets OrganizationId field to given value.
func (o *Token) HasOrganizationId() bool
HasOrganizationId returns a boolean if a field has been set.
func (o *Token) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *Token) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetExpiresAt(v time.Time)
SetExpiresAt sets ExpiresAt field to given value.
func (o *Token) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.