Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int64 | The resource identifier. | [optional] |
Type | Pointer to string | The resource type. | [optional] |
Username | string | The username used to initiate the session. | |
Password | string | The associated password for the username used to initiate the session. | |
ApiToken | Pointer to string | The API token of the user session. | [optional] [readonly] |
ApiTokenExpirationDateTime | Pointer to time.Time | The timestamp of the API token expiration. | [optional] [readonly] |
RemoteAddress | Pointer to string | The IP address of the device that initiated the user session. | [optional] [readonly] |
ReadOnly | Pointer to bool | Indicates whether the initiated session is a read-only session. When database replication is configured between Address Manager servers, you can initiate a read-only session to call API methods with read-only support and retrieve information from the Secondary or Tertiary Address Manager server. | [optional] |
LoginDateTime | Pointer to time.Time | A timestamp of when the session was initiated. | [optional] [readonly] |
LogoutDateTime | Pointer to time.Time | A timestamp of when the session was terminated. | [optional] [readonly] |
State | Pointer to string | The state of the user session. | [optional] |
Response | Pointer to string | The response from the authenticated user session. | [optional] |
User | Pointer to User | [optional] | |
Authenticator | Pointer to Authenticator | [optional] |
func NewUserSessionPostRequestBody(username string, password string, ) *UserSessionPostRequestBody
NewUserSessionPostRequestBody instantiates a new UserSessionPostRequestBody 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 NewUserSessionPostRequestBodyWithDefaults() *UserSessionPostRequestBody
NewUserSessionPostRequestBodyWithDefaults instantiates a new UserSessionPostRequestBody 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 *UserSessionPostRequestBody) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetIdOk() (*int64, 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 *UserSessionPostRequestBody) SetId(v int64)
SetId sets Id field to given value.
func (o *UserSessionPostRequestBody) HasId() bool
HasId returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetType(v string)
SetType sets Type field to given value.
func (o *UserSessionPostRequestBody) HasType() bool
HasType returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *UserSessionPostRequestBody) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *UserSessionPostRequestBody) GetApiToken() string
GetApiToken returns the ApiToken field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetApiTokenOk() (*string, bool)
GetApiTokenOk returns a tuple with the ApiToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetApiToken(v string)
SetApiToken sets ApiToken field to given value.
func (o *UserSessionPostRequestBody) HasApiToken() bool
HasApiToken returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetApiTokenExpirationDateTime() time.Time
GetApiTokenExpirationDateTime returns the ApiTokenExpirationDateTime field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetApiTokenExpirationDateTimeOk() (*time.Time, bool)
GetApiTokenExpirationDateTimeOk returns a tuple with the ApiTokenExpirationDateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetApiTokenExpirationDateTime(v time.Time)
SetApiTokenExpirationDateTime sets ApiTokenExpirationDateTime field to given value.
func (o *UserSessionPostRequestBody) HasApiTokenExpirationDateTime() bool
HasApiTokenExpirationDateTime returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetRemoteAddress() string
GetRemoteAddress returns the RemoteAddress field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetRemoteAddressOk() (*string, bool)
GetRemoteAddressOk returns a tuple with the RemoteAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetRemoteAddress(v string)
SetRemoteAddress sets RemoteAddress field to given value.
func (o *UserSessionPostRequestBody) HasRemoteAddress() bool
HasRemoteAddress returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetReadOnly() bool
GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetReadOnlyOk() (*bool, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetReadOnly(v bool)
SetReadOnly sets ReadOnly field to given value.
func (o *UserSessionPostRequestBody) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetLoginDateTime() time.Time
GetLoginDateTime returns the LoginDateTime field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetLoginDateTimeOk() (*time.Time, bool)
GetLoginDateTimeOk returns a tuple with the LoginDateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetLoginDateTime(v time.Time)
SetLoginDateTime sets LoginDateTime field to given value.
func (o *UserSessionPostRequestBody) HasLoginDateTime() bool
HasLoginDateTime returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetLogoutDateTime() time.Time
GetLogoutDateTime returns the LogoutDateTime field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetLogoutDateTimeOk() (*time.Time, bool)
GetLogoutDateTimeOk returns a tuple with the LogoutDateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetLogoutDateTime(v time.Time)
SetLogoutDateTime sets LogoutDateTime field to given value.
func (o *UserSessionPostRequestBody) HasLogoutDateTime() bool
HasLogoutDateTime returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetState(v string)
SetState sets State field to given value.
func (o *UserSessionPostRequestBody) HasState() bool
HasState returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetResponse() string
GetResponse returns the Response field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetResponseOk() (*string, bool)
GetResponseOk returns a tuple with the Response field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetResponse(v string)
SetResponse sets Response field to given value.
func (o *UserSessionPostRequestBody) HasResponse() bool
HasResponse returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetUser() User
GetUser returns the User field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetUserOk() (*User, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetUser(v User)
SetUser sets User field to given value.
func (o *UserSessionPostRequestBody) HasUser() bool
HasUser returns a boolean if a field has been set.
func (o *UserSessionPostRequestBody) GetAuthenticator() Authenticator
GetAuthenticator returns the Authenticator field if non-nil, zero value otherwise.
func (o *UserSessionPostRequestBody) GetAuthenticatorOk() (*Authenticator, bool)
GetAuthenticatorOk returns a tuple with the Authenticator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSessionPostRequestBody) SetAuthenticator(v Authenticator)
SetAuthenticator sets Authenticator field to given value.
func (o *UserSessionPostRequestBody) HasAuthenticator() bool
HasAuthenticator returns a boolean if a field has been set.