Name | Type | Description | Notes |
---|---|---|---|
Active | Pointer to bool | Active state. If false the session is no longer active. | [optional] |
AuthenticatedAt | Pointer to time.Time | The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed). | [optional] |
AuthenticationMethods | Pointer to []SessionAuthenticationMethod | A list of authenticators which were used to authenticate the session. | [optional] |
AuthenticatorAssuranceLevel | Pointer to AuthenticatorAssuranceLevel | [optional] | |
CreatedAt | Pointer to time.Time | CreatedAt is a helper struct field for. | [optional] |
ExpiresAt | Pointer to time.Time | The Session Expiry When this session expires at. | [optional] |
Id | string | Session ID | |
Identity | Identity | ||
IssuedAt | Pointer to time.Time | The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`. | [optional] |
UpdatedAt | Pointer to time.Time | UpdatedAt is a helper struct field for. | [optional] |
func NewSession(id string, identity Identity, ) *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) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *Session) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Session) SetActive(v bool)
SetActive sets Active field to given value.
func (o *Session) HasActive() bool
HasActive returns a boolean if a field has been set.
func (o *Session) GetAuthenticatedAt() time.Time
GetAuthenticatedAt returns the AuthenticatedAt field if non-nil, zero value otherwise.
func (o *Session) GetAuthenticatedAtOk() (*time.Time, bool)
GetAuthenticatedAtOk returns a tuple with the AuthenticatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Session) SetAuthenticatedAt(v time.Time)
SetAuthenticatedAt sets AuthenticatedAt field to given value.
func (o *Session) HasAuthenticatedAt() bool
HasAuthenticatedAt returns a boolean if a field has been set.
func (o *Session) GetAuthenticationMethods() []SessionAuthenticationMethod
GetAuthenticationMethods returns the AuthenticationMethods field if non-nil, zero value otherwise.
func (o *Session) GetAuthenticationMethodsOk() (*[]SessionAuthenticationMethod, bool)
GetAuthenticationMethodsOk returns a tuple with the AuthenticationMethods field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Session) SetAuthenticationMethods(v []SessionAuthenticationMethod)
SetAuthenticationMethods sets AuthenticationMethods field to given value.
func (o *Session) HasAuthenticationMethods() bool
HasAuthenticationMethods returns a boolean if a field has been set.
func (o *Session) GetAuthenticatorAssuranceLevel() AuthenticatorAssuranceLevel
GetAuthenticatorAssuranceLevel returns the AuthenticatorAssuranceLevel field if non-nil, zero value otherwise.
func (o *Session) GetAuthenticatorAssuranceLevelOk() (*AuthenticatorAssuranceLevel, bool)
GetAuthenticatorAssuranceLevelOk returns a tuple with the AuthenticatorAssuranceLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Session) SetAuthenticatorAssuranceLevel(v AuthenticatorAssuranceLevel)
SetAuthenticatorAssuranceLevel sets AuthenticatorAssuranceLevel field to given value.
func (o *Session) HasAuthenticatorAssuranceLevel() bool
HasAuthenticatorAssuranceLevel returns a boolean if a field has been set.
func (o *Session) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Session) GetCreatedAtOk() (*time.Time, 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 *Session) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Session) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *Session) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *Session) 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 *Session) SetExpiresAt(v time.Time)
SetExpiresAt sets ExpiresAt field to given value.
func (o *Session) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (o *Session) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Session) 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 *Session) SetId(v string)
SetId sets Id field to given value.
func (o *Session) GetIdentity() Identity
GetIdentity returns the Identity field if non-nil, zero value otherwise.
func (o *Session) GetIdentityOk() (*Identity, bool)
GetIdentityOk returns a tuple with the Identity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Session) SetIdentity(v Identity)
SetIdentity sets Identity field to given value.
func (o *Session) GetIssuedAt() time.Time
GetIssuedAt returns the IssuedAt field if non-nil, zero value otherwise.
func (o *Session) GetIssuedAtOk() (*time.Time, bool)
GetIssuedAtOk returns a tuple with the IssuedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Session) SetIssuedAt(v time.Time)
SetIssuedAt sets IssuedAt field to given value.
func (o *Session) HasIssuedAt() bool
HasIssuedAt returns a boolean if a field has been set.
func (o *Session) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Session) GetUpdatedAtOk() (*time.Time, 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 *Session) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Session) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.