Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.35 KB

CreateUserRequest.md

File metadata and controls

124 lines (67 loc) · 3.35 KB

CreateUserRequest

Properties

Name Type Description Notes
Email 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.

Methods

NewCreateUserRequest

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

NewCreateUserRequestWithDefaults

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

GetEmail

func (o *CreateUserRequest) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

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.

SetEmail

func (o *CreateUserRequest) SetEmail(v string)

SetEmail sets Email field to given value.

GetFirstName

func (o *CreateUserRequest) GetFirstName() string

GetFirstName returns the FirstName field if non-nil, zero value otherwise.

GetFirstNameOk

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.

SetFirstName

func (o *CreateUserRequest) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

HasFirstName

func (o *CreateUserRequest) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

GetLastName

func (o *CreateUserRequest) GetLastName() string

GetLastName returns the LastName field if non-nil, zero value otherwise.

GetLastNameOk

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.

SetLastName

func (o *CreateUserRequest) SetLastName(v string)

SetLastName sets LastName field to given value.

HasLastName

func (o *CreateUserRequest) HasLastName() bool

HasLastName returns a boolean if a field has been set.

GetRoles

func (o *CreateUserRequest) GetRoles() []string

GetRoles returns the Roles field if non-nil, zero value otherwise.

GetRolesOk

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.

SetRoles

func (o *CreateUserRequest) SetRoles(v []string)

SetRoles sets Roles field to given value.

[Back to Model list] [Back to API list] [Back to README]