Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.47 KB

AuthToken.md

File metadata and controls

98 lines (53 loc) · 2.47 KB

AuthToken

Properties

Name Type Description Notes
Username string
Password string
Token Pointer to string [optional] [readonly]

Methods

NewAuthToken

func NewAuthToken(username string, password string, ) *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

GetUsername

func (o *AuthToken) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

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

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

SetUsername

func (o *AuthToken) SetUsername(v string)

SetUsername sets Username field to given value.

GetPassword

func (o *AuthToken) GetPassword() string

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

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

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

SetPassword

func (o *AuthToken) SetPassword(v string)

SetPassword sets Password field to given value.

GetToken

func (o *AuthToken) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

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

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

SetToken

func (o *AuthToken) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *AuthToken) HasToken() bool

HasToken returns a boolean if a field has been set.

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