Skip to content

Latest commit

 

History

History
150 lines (81 loc) · 3.79 KB

UserResponse.md

File metadata and controls

150 lines (81 loc) · 3.79 KB

UserResponse

Properties

Name Type Description Notes
Email string
FirstName Pointer to string [optional]
IsExternal Pointer to bool [optional]
LastName Pointer to string [optional]
Role UserRole

Methods

NewUserResponse

func NewUserResponse(email string, role UserRole, ) *UserResponse

NewUserResponse instantiates a new UserResponse 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

NewUserResponseWithDefaults

func NewUserResponseWithDefaults() *UserResponse

NewUserResponseWithDefaults instantiates a new UserResponse 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 *UserResponse) GetEmail() string

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

GetEmailOk

func (o *UserResponse) 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 *UserResponse) SetEmail(v string)

SetEmail sets Email field to given value.

GetFirstName

func (o *UserResponse) GetFirstName() string

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

GetFirstNameOk

func (o *UserResponse) 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 *UserResponse) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

HasFirstName

func (o *UserResponse) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

GetIsExternal

func (o *UserResponse) GetIsExternal() bool

GetIsExternal returns the IsExternal field if non-nil, zero value otherwise.

GetIsExternalOk

func (o *UserResponse) GetIsExternalOk() (*bool, bool)

GetIsExternalOk returns a tuple with the IsExternal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIsExternal

func (o *UserResponse) SetIsExternal(v bool)

SetIsExternal sets IsExternal field to given value.

HasIsExternal

func (o *UserResponse) HasIsExternal() bool

HasIsExternal returns a boolean if a field has been set.

GetLastName

func (o *UserResponse) GetLastName() string

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

GetLastNameOk

func (o *UserResponse) 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 *UserResponse) SetLastName(v string)

SetLastName sets LastName field to given value.

HasLastName

func (o *UserResponse) HasLastName() bool

HasLastName returns a boolean if a field has been set.

GetRole

func (o *UserResponse) GetRole() UserRole

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *UserResponse) GetRoleOk() (*UserRole, bool)

GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRole

func (o *UserResponse) SetRole(v UserRole)

SetRole sets Role field to given value.

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