Skip to content

Latest commit

 

History

History
159 lines (88 loc) · 4.52 KB

AuthorizeSessionRequest.md

File metadata and controls

159 lines (88 loc) · 4.52 KB

AuthorizeSessionRequest

Properties

Name Type Description Notes
Nonce string
ExpiresAt Pointer to NullableString [optional]
Permissions Pointer to []string [optional]
Rules Pointer to []AccessRule [optional]

Methods

NewAuthorizeSessionRequest

func NewAuthorizeSessionRequest(nonce string, ) *AuthorizeSessionRequest

NewAuthorizeSessionRequest instantiates a new AuthorizeSessionRequest 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

NewAuthorizeSessionRequestWithDefaults

func NewAuthorizeSessionRequestWithDefaults() *AuthorizeSessionRequest

NewAuthorizeSessionRequestWithDefaults instantiates a new AuthorizeSessionRequest 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

GetNonce

func (o *AuthorizeSessionRequest) GetNonce() string

GetNonce returns the Nonce field if non-nil, zero value otherwise.

GetNonceOk

func (o *AuthorizeSessionRequest) GetNonceOk() (*string, bool)

GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNonce

func (o *AuthorizeSessionRequest) SetNonce(v string)

SetNonce sets Nonce field to given value.

GetExpiresAt

func (o *AuthorizeSessionRequest) GetExpiresAt() string

GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.

GetExpiresAtOk

func (o *AuthorizeSessionRequest) GetExpiresAtOk() (*string, 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.

SetExpiresAt

func (o *AuthorizeSessionRequest) SetExpiresAt(v string)

SetExpiresAt sets ExpiresAt field to given value.

HasExpiresAt

func (o *AuthorizeSessionRequest) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

SetExpiresAtNil

func (o *AuthorizeSessionRequest) SetExpiresAtNil(b bool)

SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil

UnsetExpiresAt

func (o *AuthorizeSessionRequest) UnsetExpiresAt()

UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil

GetPermissions

func (o *AuthorizeSessionRequest) GetPermissions() []string

GetPermissions returns the Permissions field if non-nil, zero value otherwise.

GetPermissionsOk

func (o *AuthorizeSessionRequest) GetPermissionsOk() (*[]string, bool)

GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPermissions

func (o *AuthorizeSessionRequest) SetPermissions(v []string)

SetPermissions sets Permissions field to given value.

HasPermissions

func (o *AuthorizeSessionRequest) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

SetPermissionsNil

func (o *AuthorizeSessionRequest) SetPermissionsNil(b bool)

SetPermissionsNil sets the value for Permissions to be an explicit nil

UnsetPermissions

func (o *AuthorizeSessionRequest) UnsetPermissions()

UnsetPermissions ensures that no value is present for Permissions, not even an explicit nil

GetRules

func (o *AuthorizeSessionRequest) GetRules() []AccessRule

GetRules returns the Rules field if non-nil, zero value otherwise.

GetRulesOk

func (o *AuthorizeSessionRequest) GetRulesOk() (*[]AccessRule, bool)

GetRulesOk returns a tuple with the Rules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRules

func (o *AuthorizeSessionRequest) SetRules(v []AccessRule)

SetRules sets Rules field to given value.

HasRules

func (o *AuthorizeSessionRequest) HasRules() bool

HasRules returns a boolean if a field has been set.

SetRulesNil

func (o *AuthorizeSessionRequest) SetRulesNil(b bool)

SetRulesNil sets the value for Rules to be an explicit nil

UnsetRules

func (o *AuthorizeSessionRequest) UnsetRules()

UnsetRules ensures that no value is present for Rules, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]