Name | Type | Description | Notes |
---|---|---|---|
string | User email, must be unique. | ||
FirstName | Pointer to string | User first name. | [optional] |
LastName | Pointer to string | User last name. | [optional] |
Roles | []string | List of roles for a given user. |
func NewCreateUserRequest(email string, roles []string, ) *CreateUserRequest
NewCreateUserRequest instantiates a new CreateUserRequest 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 NewCreateUserRequestWithDefaults() *CreateUserRequest
NewCreateUserRequestWithDefaults instantiates a new CreateUserRequest 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 *CreateUserRequest) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *CreateUserRequest) 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.
func (o *CreateUserRequest) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *CreateUserRequest) GetFirstName() string
GetFirstName returns the FirstName field if non-nil, zero value otherwise.
func (o *CreateUserRequest) GetFirstNameOk() (*string, bool)
GetFirstNameOk returns a tuple with the FirstName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserRequest) SetFirstName(v string)
SetFirstName sets FirstName field to given value.
func (o *CreateUserRequest) HasFirstName() bool
HasFirstName returns a boolean if a field has been set.
func (o *CreateUserRequest) GetLastName() string
GetLastName returns the LastName field if non-nil, zero value otherwise.
func (o *CreateUserRequest) GetLastNameOk() (*string, bool)
GetLastNameOk returns a tuple with the LastName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserRequest) SetLastName(v string)
SetLastName sets LastName field to given value.
func (o *CreateUserRequest) HasLastName() bool
HasLastName returns a boolean if a field has been set.
func (o *CreateUserRequest) GetRoles() []string
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *CreateUserRequest) GetRolesOk() (*[]string, bool)
GetRolesOk returns a tuple with the Roles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserRequest) SetRoles(v []string)
SetRoles sets Roles field to given value.