Name | Type | Description | Notes |
---|---|---|---|
UserName | Pointer to string | The username to authenticate. | [optional] |
Password | Pointer to NullableString | The password to authenticate. On response, this field is set to null as to not return secrets. | [optional] |
func NewBasicAuthConfig() *BasicAuthConfig
NewBasicAuthConfig instantiates a new BasicAuthConfig 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 NewBasicAuthConfigWithDefaults() *BasicAuthConfig
NewBasicAuthConfigWithDefaults instantiates a new BasicAuthConfig 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 *BasicAuthConfig) GetUserName() string
GetUserName returns the UserName field if non-nil, zero value otherwise.
func (o *BasicAuthConfig) 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 *BasicAuthConfig) SetUserName(v string)
SetUserName sets UserName field to given value.
func (o *BasicAuthConfig) HasUserName() bool
HasUserName returns a boolean if a field has been set.
func (o *BasicAuthConfig) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *BasicAuthConfig) 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 *BasicAuthConfig) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *BasicAuthConfig) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (o *BasicAuthConfig) SetPasswordNil(b bool)
SetPasswordNil sets the value for Password to be an explicit nil
func (o *BasicAuthConfig) UnsetPassword()
UnsetPassword ensures that no value is present for Password, not even an explicit nil