Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.24 KB

Token.md

File metadata and controls

134 lines (73 loc) · 3.24 KB

Token

Properties

Name Type Description Notes
Id Pointer to string [optional]
UserId Pointer to string [optional]
OrganizationId Pointer to string [optional]
ExpiresAt Pointer to time.Time [optional]

Methods

NewToken

func NewToken() *Token

NewToken instantiates a new Token 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

NewTokenWithDefaults

func NewTokenWithDefaults() *Token

NewTokenWithDefaults instantiates a new Token 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

GetId

func (o *Token) GetId() string

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

GetIdOk

func (o *Token) 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 *Token) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Token) HasId() bool

HasId returns a boolean if a field has been set.

GetUserId

func (o *Token) GetUserId() string

GetUserId returns the UserId field if non-nil, zero value otherwise.

GetUserIdOk

func (o *Token) GetUserIdOk() (*string, bool)

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

SetUserId

func (o *Token) SetUserId(v string)

SetUserId sets UserId field to given value.

HasUserId

func (o *Token) HasUserId() bool

HasUserId returns a boolean if a field has been set.

GetOrganizationId

func (o *Token) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.

GetOrganizationIdOk

func (o *Token) GetOrganizationIdOk() (*string, bool)

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

SetOrganizationId

func (o *Token) SetOrganizationId(v string)

SetOrganizationId sets OrganizationId field to given value.

HasOrganizationId

func (o *Token) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

GetExpiresAt

func (o *Token) GetExpiresAt() time.Time

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

GetExpiresAtOk

func (o *Token) GetExpiresAtOk() (*time.Time, 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 *Token) SetExpiresAt(v time.Time)

SetExpiresAt sets ExpiresAt field to given value.

HasExpiresAt

func (o *Token) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

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