| Name | Type | Description | Notes |
|---|---|---|---|
| UserId | Pointer to int64 | 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 NewSession(userId int64, token string, created time.Time, ) *Session
NewSession instantiates a new Session 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 NewSessionWithDefaults() *Session
NewSessionWithDefaults instantiates a new Session 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 *Session) GetUserId() int64
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *Session) GetUserIdOk() (*int64, 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) SetUserId(v int64)
SetUserId sets UserId field to given value.
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) SetToken(v string)
SetToken sets Token field to given value.
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) SetCreated(v time.Time)
SetCreated sets Created field to given value.