Name | Type | Description | Notes |
---|---|---|---|
Username | string | ||
Password | string | ||
Token | Pointer to string | [optional] [readonly] |
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
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
func (o *AuthToken) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
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.
func (o *AuthToken) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *AuthToken) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
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.
func (o *AuthToken) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *AuthToken) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
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.
func (o *AuthToken) SetToken(v string)
SetToken sets Token field to given value.
func (o *AuthToken) HasToken() bool
HasToken returns a boolean if a field has been set.