Name | Type | Description | Notes |
---|---|---|---|
NewPassword | string | ||
OldPassword | string |
func NewModelUpdateUserPasswordRequest(newPassword string, oldPassword string, ) *ModelUpdateUserPasswordRequest
NewModelUpdateUserPasswordRequest instantiates a new ModelUpdateUserPasswordRequest 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 NewModelUpdateUserPasswordRequestWithDefaults() *ModelUpdateUserPasswordRequest
NewModelUpdateUserPasswordRequestWithDefaults instantiates a new ModelUpdateUserPasswordRequest 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 *ModelUpdateUserPasswordRequest) GetNewPassword() string
GetNewPassword returns the NewPassword field if non-nil, zero value otherwise.
func (o *ModelUpdateUserPasswordRequest) GetNewPasswordOk() (*string, 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 *ModelUpdateUserPasswordRequest) SetNewPassword(v string)
SetNewPassword sets NewPassword field to given value.
func (o *ModelUpdateUserPasswordRequest) GetOldPassword() string
GetOldPassword returns the OldPassword field if non-nil, zero value otherwise.
func (o *ModelUpdateUserPasswordRequest) GetOldPasswordOk() (*string, 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 *ModelUpdateUserPasswordRequest) SetOldPassword(v string)
SetOldPassword sets OldPassword field to given value.