TokenProperties
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewTokenProperties(credentials NullableCredentials, name string, ) *TokenProperties
NewTokenProperties instantiates a new TokenProperties 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 NewTokenPropertiesWithDefaults() *TokenProperties
NewTokenPropertiesWithDefaults instantiates a new TokenProperties 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 *TokenProperties) GetCredentials() Credentials
GetCredentials returns the Credentials field if non-nil, zero value otherwise.
func (o *TokenProperties) GetCredentialsOk() (*Credentials, bool)
GetCredentialsOk returns a tuple with the Credentials field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenProperties) SetCredentials(v Credentials)
SetCredentials sets Credentials field to given value.
func (o *TokenProperties) SetCredentialsNil(b bool)
SetCredentialsNil sets the value for Credentials to be an explicit nil
func (o *TokenProperties) UnsetCredentials()
UnsetCredentials ensures that no value is present for Credentials, not even an explicit nil
func (o *TokenProperties) GetExpiryDate() time.Time
GetExpiryDate returns the ExpiryDate field if non-nil, zero value otherwise.
func (o *TokenProperties) GetExpiryDateOk() (*time.Time, bool)
GetExpiryDateOk returns a tuple with the ExpiryDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenProperties) SetExpiryDate(v time.Time)
SetExpiryDate sets ExpiryDate field to given value.
func (o *TokenProperties) HasExpiryDate() bool
HasExpiryDate returns a boolean if a field has been set.
func (o *TokenProperties) SetExpiryDateNil(b bool)
SetExpiryDateNil sets the value for ExpiryDate to be an explicit nil
func (o *TokenProperties) UnsetExpiryDate()
UnsetExpiryDate ensures that no value is present for ExpiryDate, not even an explicit nil
func (o *TokenProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TokenProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenProperties) SetName(v string)
SetName sets Name field to given value.
func (o *TokenProperties) GetScopes() []Scope
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *TokenProperties) GetScopesOk() (*[]Scope, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenProperties) SetScopes(v []Scope)
SetScopes sets Scopes field to given value.
func (o *TokenProperties) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *TokenProperties) SetScopesNil(b bool)
SetScopesNil sets the value for Scopes to be an explicit nil
func (o *TokenProperties) UnsetScopes()
UnsetScopes ensures that no value is present for Scopes, not even an explicit nil
func (o *TokenProperties) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *TokenProperties) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenProperties) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *TokenProperties) HasStatus() bool
HasStatus returns a boolean if a field has been set.
Credentials
ExpiryDate
Pointer to NullableTime
[optional]
Name
string
Scopes
Pointer to []Scope
[optional]
Status
Pointer to string
[optional]