Name | Type | Description | Notes |
---|---|---|---|
NewPassword | Pointer to PasswordCredential | [optional] | |
OldPassword | Pointer to PasswordCredential | [optional] | |
RevokeSessions | Pointer to bool | [optional] |
func NewChangePasswordRequest() *ChangePasswordRequest
NewChangePasswordRequest instantiates a new ChangePasswordRequest 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 NewChangePasswordRequestWithDefaults() *ChangePasswordRequest
NewChangePasswordRequestWithDefaults instantiates a new ChangePasswordRequest 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 *ChangePasswordRequest) GetNewPassword() PasswordCredential
GetNewPassword returns the NewPassword field if non-nil, zero value otherwise.
func (o *ChangePasswordRequest) GetNewPasswordOk() (*PasswordCredential, bool)
GetNewPasswordOk returns a tuple with the NewPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChangePasswordRequest) SetNewPassword(v PasswordCredential)
SetNewPassword sets NewPassword field to given value.
func (o *ChangePasswordRequest) HasNewPassword() bool
HasNewPassword returns a boolean if a field has been set.
func (o *ChangePasswordRequest) GetOldPassword() PasswordCredential
GetOldPassword returns the OldPassword field if non-nil, zero value otherwise.
func (o *ChangePasswordRequest) GetOldPasswordOk() (*PasswordCredential, bool)
GetOldPasswordOk returns a tuple with the OldPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChangePasswordRequest) SetOldPassword(v PasswordCredential)
SetOldPassword sets OldPassword field to given value.
func (o *ChangePasswordRequest) HasOldPassword() bool
HasOldPassword returns a boolean if a field has been set.
func (o *ChangePasswordRequest) GetRevokeSessions() bool
GetRevokeSessions returns the RevokeSessions field if non-nil, zero value otherwise.
func (o *ChangePasswordRequest) GetRevokeSessionsOk() (*bool, bool)
GetRevokeSessionsOk returns a tuple with the RevokeSessions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChangePasswordRequest) SetRevokeSessions(v bool)
SetRevokeSessions sets RevokeSessions field to given value.
func (o *ChangePasswordRequest) HasRevokeSessions() bool
HasRevokeSessions returns a boolean if a field has been set.