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] |
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
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
func (o *TokenRequest) GetManaged() string
GetManaged returns the Managed field if non-nil, zero value otherwise.
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.
func (o *TokenRequest) SetManaged(v string)
SetManaged sets Managed field to given value.
func (o *TokenRequest) HasManaged() bool
HasManaged returns a boolean if a field has been set.
func (o *TokenRequest) SetManagedNil(b bool)
SetManagedNil sets the value for Managed to be an explicit nil
func (o *TokenRequest) UnsetManaged()
UnsetManaged ensures that no value is present for Managed, not even an explicit nil
func (o *TokenRequest) GetIdentifier() string
GetIdentifier returns the Identifier field if non-nil, zero value otherwise.
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.
func (o *TokenRequest) SetIdentifier(v string)
SetIdentifier sets Identifier field to given value.
func (o *TokenRequest) GetIntent() IntentEnum
GetIntent returns the Intent field if non-nil, zero value otherwise.
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.
func (o *TokenRequest) SetIntent(v IntentEnum)
SetIntent sets Intent field to given value.
func (o *TokenRequest) HasIntent() bool
HasIntent returns a boolean if a field has been set.
func (o *TokenRequest) GetUser() int32
GetUser returns the User field if non-nil, zero value otherwise.
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.
func (o *TokenRequest) SetUser(v int32)
SetUser sets User field to given value.
func (o *TokenRequest) HasUser() bool
HasUser returns a boolean if a field has been set.
func (o *TokenRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *TokenRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *TokenRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *TokenRequest) GetExpires() time.Time
GetExpires returns the Expires field if non-nil, zero value otherwise.
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.
func (o *TokenRequest) SetExpires(v time.Time)
SetExpires sets Expires field to given value.
func (o *TokenRequest) HasExpires() bool
HasExpires returns a boolean if a field has been set.
func (o *TokenRequest) SetExpiresNil(b bool)
SetExpiresNil sets the value for Expires to be an explicit nil
func (o *TokenRequest) UnsetExpires()
UnsetExpires ensures that no value is present for Expires, not even an explicit nil
func (o *TokenRequest) GetExpiring() bool
GetExpiring returns the Expiring field if non-nil, zero value otherwise.
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.
func (o *TokenRequest) SetExpiring(v bool)
SetExpiring sets Expiring field to given value.
func (o *TokenRequest) HasExpiring() bool
HasExpiring returns a boolean if a field has been set.