Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 5.74 KB

AuthToken.md

File metadata and controls

238 lines (129 loc) · 5.74 KB

AuthToken

Properties

Name Type Description Notes
Access Pointer to []AuthTokenAccess [optional]
ClientIp Pointer to string [optional]
CreatedBy Pointer to string [optional]
CreatedOn Pointer to time.Time [optional]
Expiry Pointer to time.Time [optional]
Id Pointer to string [optional]
Name Pointer to string [optional]
UserAgent Pointer to string [optional]

Methods

NewAuthToken

func NewAuthToken() *AuthToken

NewAuthToken instantiates a new AuthToken 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

NewAuthTokenWithDefaults

func NewAuthTokenWithDefaults() *AuthToken

NewAuthTokenWithDefaults instantiates a new AuthToken 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

GetAccess

func (o *AuthToken) GetAccess() []AuthTokenAccess

GetAccess returns the Access field if non-nil, zero value otherwise.

GetAccessOk

func (o *AuthToken) GetAccessOk() (*[]AuthTokenAccess, bool)

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

SetAccess

func (o *AuthToken) SetAccess(v []AuthTokenAccess)

SetAccess sets Access field to given value.

HasAccess

func (o *AuthToken) HasAccess() bool

HasAccess returns a boolean if a field has been set.

GetClientIp

func (o *AuthToken) GetClientIp() string

GetClientIp returns the ClientIp field if non-nil, zero value otherwise.

GetClientIpOk

func (o *AuthToken) GetClientIpOk() (*string, bool)

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

SetClientIp

func (o *AuthToken) SetClientIp(v string)

SetClientIp sets ClientIp field to given value.

HasClientIp

func (o *AuthToken) HasClientIp() bool

HasClientIp returns a boolean if a field has been set.

GetCreatedBy

func (o *AuthToken) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *AuthToken) GetCreatedByOk() (*string, bool)

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

SetCreatedBy

func (o *AuthToken) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *AuthToken) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

GetCreatedOn

func (o *AuthToken) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.

GetCreatedOnOk

func (o *AuthToken) GetCreatedOnOk() (*time.Time, bool)

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

SetCreatedOn

func (o *AuthToken) SetCreatedOn(v time.Time)

SetCreatedOn sets CreatedOn field to given value.

HasCreatedOn

func (o *AuthToken) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

GetExpiry

func (o *AuthToken) GetExpiry() time.Time

GetExpiry returns the Expiry field if non-nil, zero value otherwise.

GetExpiryOk

func (o *AuthToken) GetExpiryOk() (*time.Time, bool)

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

SetExpiry

func (o *AuthToken) SetExpiry(v time.Time)

SetExpiry sets Expiry field to given value.

HasExpiry

func (o *AuthToken) HasExpiry() bool

HasExpiry returns a boolean if a field has been set.

GetId

func (o *AuthToken) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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

SetId

func (o *AuthToken) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *AuthToken) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *AuthToken) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *AuthToken) 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.

SetName

func (o *AuthToken) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *AuthToken) HasName() bool

HasName returns a boolean if a field has been set.

GetUserAgent

func (o *AuthToken) GetUserAgent() string

GetUserAgent returns the UserAgent field if non-nil, zero value otherwise.

GetUserAgentOk

func (o *AuthToken) GetUserAgentOk() (*string, bool)

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

SetUserAgent

func (o *AuthToken) SetUserAgent(v string)

SetUserAgent sets UserAgent field to given value.

HasUserAgent

func (o *AuthToken) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

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