Name | Type | Description | Notes |
---|---|---|---|
UserId | Pointer to int32 | The ID of the user of this session. | |
Token | Pointer to string | The token to use as a bearer token to query Management API endpoints. | |
Created | Pointer to time.Time | Unix timestamp indicating when the session was first created. |
func (o *Session) GetUserId() int32
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *Session) GetUserIdOk() (int32, 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 *Session) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *Session) SetUserId(v int32)
SetUserId gets a reference to the given int32 and assigns it to the UserId field.
func (o *Session) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *Session) 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 *Session) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *Session) SetToken(v string)
SetToken gets a reference to the given string and assigns it to the Token field.
func (o *Session) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Session) GetCreatedOk() (time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Session) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Session) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.