Skip to content

Latest commit

 

History

History
264 lines (143 loc) · 6.61 KB

UserRequest.md

File metadata and controls

264 lines (143 loc) · 6.61 KB

UserRequest

Properties

Name Type Description Notes
Username string
Name string User's display name.
IsActive Pointer to bool Designates whether this user should be treated as active. Unselect this instead of deleting accounts. [optional]
LastLogin Pointer to NullableTime [optional]
Groups Pointer to []string [optional]
Email Pointer to string [optional]
Attributes Pointer to map[string]interface{} [optional]
Path Pointer to string [optional]
Type Pointer to UserTypeEnum [optional]

Methods

NewUserRequest

func NewUserRequest(username string, name string, ) *UserRequest

NewUserRequest instantiates a new UserRequest 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

NewUserRequestWithDefaults

func NewUserRequestWithDefaults() *UserRequest

NewUserRequestWithDefaults instantiates a new UserRequest 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

GetUsername

func (o *UserRequest) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

func (o *UserRequest) 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.

SetUsername

func (o *UserRequest) SetUsername(v string)

SetUsername sets Username field to given value.

GetName

func (o *UserRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *UserRequest) 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 *UserRequest) SetName(v string)

SetName sets Name field to given value.

GetIsActive

func (o *UserRequest) GetIsActive() bool

GetIsActive returns the IsActive field if non-nil, zero value otherwise.

GetIsActiveOk

func (o *UserRequest) GetIsActiveOk() (*bool, bool)

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

SetIsActive

func (o *UserRequest) SetIsActive(v bool)

SetIsActive sets IsActive field to given value.

HasIsActive

func (o *UserRequest) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

GetLastLogin

func (o *UserRequest) GetLastLogin() time.Time

GetLastLogin returns the LastLogin field if non-nil, zero value otherwise.

GetLastLoginOk

func (o *UserRequest) GetLastLoginOk() (*time.Time, bool)

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

SetLastLogin

func (o *UserRequest) SetLastLogin(v time.Time)

SetLastLogin sets LastLogin field to given value.

HasLastLogin

func (o *UserRequest) HasLastLogin() bool

HasLastLogin returns a boolean if a field has been set.

SetLastLoginNil

func (o *UserRequest) SetLastLoginNil(b bool)

SetLastLoginNil sets the value for LastLogin to be an explicit nil

UnsetLastLogin

func (o *UserRequest) UnsetLastLogin()

UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil

GetGroups

func (o *UserRequest) GetGroups() []string

GetGroups returns the Groups field if non-nil, zero value otherwise.

GetGroupsOk

func (o *UserRequest) GetGroupsOk() (*[]string, bool)

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

SetGroups

func (o *UserRequest) SetGroups(v []string)

SetGroups sets Groups field to given value.

HasGroups

func (o *UserRequest) HasGroups() bool

HasGroups returns a boolean if a field has been set.

GetEmail

func (o *UserRequest) GetEmail() string

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

GetEmailOk

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

SetEmail sets Email field to given value.

HasEmail

func (o *UserRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetAttributes

func (o *UserRequest) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field if non-nil, zero value otherwise.

GetAttributesOk

func (o *UserRequest) GetAttributesOk() (*map[string]interface{}, bool)

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

SetAttributes

func (o *UserRequest) SetAttributes(v map[string]interface{})

SetAttributes sets Attributes field to given value.

HasAttributes

func (o *UserRequest) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

GetPath

func (o *UserRequest) GetPath() string

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

func (o *UserRequest) GetPathOk() (*string, bool)

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

SetPath

func (o *UserRequest) SetPath(v string)

SetPath sets Path field to given value.

HasPath

func (o *UserRequest) HasPath() bool

HasPath returns a boolean if a field has been set.

GetType

func (o *UserRequest) GetType() UserTypeEnum

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *UserRequest) GetTypeOk() (*UserTypeEnum, bool)

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

SetType

func (o *UserRequest) SetType(v UserTypeEnum)

SetType sets Type field to given value.

HasType

func (o *UserRequest) HasType() bool

HasType returns a boolean if a field has been set.

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