4.3 KiB
UserUpdate
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | Pointer to NullableString | [optional] | |
| Pointer to NullableString | [optional] | ||
| IsAdmin | Pointer to NullableBool | [optional] | |
| Password | Pointer to NullableString | [optional] |
Methods
NewUserUpdate
func NewUserUpdate() *UserUpdate
NewUserUpdate instantiates a new UserUpdate 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
NewUserUpdateWithDefaults
func NewUserUpdateWithDefaults() *UserUpdate
NewUserUpdateWithDefaults instantiates a new UserUpdate 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
GetName
func (o *UserUpdate) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *UserUpdate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *UserUpdate) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *UserUpdate) HasName() bool
HasName returns a boolean if a field has been set.
SetNameNil
func (o *UserUpdate) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
UnsetName
func (o *UserUpdate) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
GetEmail
func (o *UserUpdate) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
GetEmailOk
func (o *UserUpdate) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEmail
func (o *UserUpdate) SetEmail(v string)
SetEmail sets Email field to given value.
HasEmail
func (o *UserUpdate) HasEmail() bool
HasEmail returns a boolean if a field has been set.
SetEmailNil
func (o *UserUpdate) SetEmailNil(b bool)
SetEmailNil sets the value for Email to be an explicit nil
UnsetEmail
func (o *UserUpdate) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
GetIsAdmin
func (o *UserUpdate) GetIsAdmin() bool
GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
GetIsAdminOk
func (o *UserUpdate) GetIsAdminOk() (*bool, bool)
GetIsAdminOk returns a tuple with the IsAdmin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIsAdmin
func (o *UserUpdate) SetIsAdmin(v bool)
SetIsAdmin sets IsAdmin field to given value.
HasIsAdmin
func (o *UserUpdate) HasIsAdmin() bool
HasIsAdmin returns a boolean if a field has been set.
SetIsAdminNil
func (o *UserUpdate) SetIsAdminNil(b bool)
SetIsAdminNil sets the value for IsAdmin to be an explicit nil
UnsetIsAdmin
func (o *UserUpdate) UnsetIsAdmin()
UnsetIsAdmin ensures that no value is present for IsAdmin, not even an explicit nil
GetPassword
func (o *UserUpdate) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
GetPasswordOk
func (o *UserUpdate) 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 *UserUpdate) SetPassword(v string)
SetPassword sets Password field to given value.
HasPassword
func (o *UserUpdate) HasPassword() bool
HasPassword returns a boolean if a field has been set.
SetPasswordNil
func (o *UserUpdate) SetPasswordNil(b bool)
SetPasswordNil sets the value for Password to be an explicit nil
UnsetPassword
func (o *UserUpdate) UnsetPassword()
UnsetPassword ensures that no value is present for Password, not even an explicit nil