Skip to content

Latest commit

 

History

History
227 lines (124 loc) · 5.99 KB

TokenRequest.md

File metadata and controls

227 lines (124 loc) · 5.99 KB

TokenRequest

Properties

Name Type Description Notes
Managed Pointer to NullableString Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update. [optional]
Identifier string
Intent Pointer to IntentEnum [optional]
User Pointer to int32 [optional]
Description Pointer to string [optional]
Expires Pointer to NullableTime [optional]
Expiring Pointer to bool [optional]

Methods

NewTokenRequest

func NewTokenRequest(identifier string, ) *TokenRequest

NewTokenRequest instantiates a new TokenRequest 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

NewTokenRequestWithDefaults

func NewTokenRequestWithDefaults() *TokenRequest

NewTokenRequestWithDefaults instantiates a new TokenRequest 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

GetManaged

func (o *TokenRequest) GetManaged() string

GetManaged returns the Managed field if non-nil, zero value otherwise.

GetManagedOk

func (o *TokenRequest) GetManagedOk() (*string, bool)

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

SetManaged

func (o *TokenRequest) SetManaged(v string)

SetManaged sets Managed field to given value.

HasManaged

func (o *TokenRequest) HasManaged() bool

HasManaged returns a boolean if a field has been set.

SetManagedNil

func (o *TokenRequest) SetManagedNil(b bool)

SetManagedNil sets the value for Managed to be an explicit nil

UnsetManaged

func (o *TokenRequest) UnsetManaged()

UnsetManaged ensures that no value is present for Managed, not even an explicit nil

GetIdentifier

func (o *TokenRequest) GetIdentifier() string

GetIdentifier returns the Identifier field if non-nil, zero value otherwise.

GetIdentifierOk

func (o *TokenRequest) GetIdentifierOk() (*string, bool)

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

SetIdentifier

func (o *TokenRequest) SetIdentifier(v string)

SetIdentifier sets Identifier field to given value.

GetIntent

func (o *TokenRequest) GetIntent() IntentEnum

GetIntent returns the Intent field if non-nil, zero value otherwise.

GetIntentOk

func (o *TokenRequest) GetIntentOk() (*IntentEnum, bool)

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

SetIntent

func (o *TokenRequest) SetIntent(v IntentEnum)

SetIntent sets Intent field to given value.

HasIntent

func (o *TokenRequest) HasIntent() bool

HasIntent returns a boolean if a field has been set.

GetUser

func (o *TokenRequest) GetUser() int32

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *TokenRequest) GetUserOk() (*int32, 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.

SetUser

func (o *TokenRequest) SetUser(v int32)

SetUser sets User field to given value.

HasUser

func (o *TokenRequest) HasUser() bool

HasUser returns a boolean if a field has been set.

GetDescription

func (o *TokenRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *TokenRequest) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *TokenRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *TokenRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetExpires

func (o *TokenRequest) GetExpires() time.Time

GetExpires returns the Expires field if non-nil, zero value otherwise.

GetExpiresOk

func (o *TokenRequest) GetExpiresOk() (*time.Time, bool)

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

SetExpires

func (o *TokenRequest) SetExpires(v time.Time)

SetExpires sets Expires field to given value.

HasExpires

func (o *TokenRequest) HasExpires() bool

HasExpires returns a boolean if a field has been set.

SetExpiresNil

func (o *TokenRequest) SetExpiresNil(b bool)

SetExpiresNil sets the value for Expires to be an explicit nil

UnsetExpires

func (o *TokenRequest) UnsetExpires()

UnsetExpires ensures that no value is present for Expires, not even an explicit nil

GetExpiring

func (o *TokenRequest) GetExpiring() bool

GetExpiring returns the Expiring field if non-nil, zero value otherwise.

GetExpiringOk

func (o *TokenRequest) GetExpiringOk() (*bool, bool)

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

SetExpiring

func (o *TokenRequest) SetExpiring(v bool)

SetExpiring sets Expiring field to given value.

HasExpiring

func (o *TokenRequest) HasExpiring() bool

HasExpiring returns a boolean if a field has been set.

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