Name | Type | Description | Notes |
---|---|---|---|
Username | string | ||
Password | string | ||
Admin | bool |
func NewNewUserRequest(username string, password string, admin bool, ) *NewUserRequest
NewNewUserRequest instantiates a new NewUserRequest 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 NewNewUserRequestWithDefaults() *NewUserRequest
NewNewUserRequestWithDefaults instantiates a new NewUserRequest 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 *NewUserRequest) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *NewUserRequest) 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 *NewUserRequest) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *NewUserRequest) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *NewUserRequest) 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 *NewUserRequest) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *NewUserRequest) GetAdmin() bool
GetAdmin returns the Admin field if non-nil, zero value otherwise.
func (o *NewUserRequest) GetAdminOk() (*bool, bool)
GetAdminOk returns a tuple with the Admin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewUserRequest) SetAdmin(v bool)
SetAdmin sets Admin field to given value.