Skip to content

Latest commit

 

History

History
274 lines (149 loc) · 7.17 KB

PatchedUserRequest.md

File metadata and controls

274 lines (149 loc) · 7.17 KB

PatchedUserRequest

Properties

Name Type Description Notes
Username Pointer to string [optional]
Name Pointer to string User's display name. [optional]
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

NewPatchedUserRequest

func NewPatchedUserRequest() *PatchedUserRequest

NewPatchedUserRequest instantiates a new PatchedUserRequest 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

NewPatchedUserRequestWithDefaults

func NewPatchedUserRequestWithDefaults() *PatchedUserRequest

NewPatchedUserRequestWithDefaults instantiates a new PatchedUserRequest 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 *PatchedUserRequest) GetUsername() string

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

GetUsernameOk

func (o *PatchedUserRequest) 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 *PatchedUserRequest) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *PatchedUserRequest) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetName

func (o *PatchedUserRequest) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *PatchedUserRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetIsActive

func (o *PatchedUserRequest) GetIsActive() bool

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

GetIsActiveOk

func (o *PatchedUserRequest) 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 *PatchedUserRequest) SetIsActive(v bool)

SetIsActive sets IsActive field to given value.

HasIsActive

func (o *PatchedUserRequest) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

GetLastLogin

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

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

GetLastLoginOk

func (o *PatchedUserRequest) 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 *PatchedUserRequest) SetLastLogin(v time.Time)

SetLastLogin sets LastLogin field to given value.

HasLastLogin

func (o *PatchedUserRequest) HasLastLogin() bool

HasLastLogin returns a boolean if a field has been set.

SetLastLoginNil

func (o *PatchedUserRequest) SetLastLoginNil(b bool)

SetLastLoginNil sets the value for LastLogin to be an explicit nil

UnsetLastLogin

func (o *PatchedUserRequest) UnsetLastLogin()

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

GetGroups

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

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

GetGroupsOk

func (o *PatchedUserRequest) 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 *PatchedUserRequest) SetGroups(v []string)

SetGroups sets Groups field to given value.

HasGroups

func (o *PatchedUserRequest) HasGroups() bool

HasGroups returns a boolean if a field has been set.

GetEmail

func (o *PatchedUserRequest) GetEmail() string

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

GetEmailOk

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

SetEmail sets Email field to given value.

HasEmail

func (o *PatchedUserRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetAttributes

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

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

GetAttributesOk

func (o *PatchedUserRequest) 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 *PatchedUserRequest) SetAttributes(v map[string]interface{})

SetAttributes sets Attributes field to given value.

HasAttributes

func (o *PatchedUserRequest) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

GetPath

func (o *PatchedUserRequest) GetPath() string

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

GetPathOk

func (o *PatchedUserRequest) 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 *PatchedUserRequest) SetPath(v string)

SetPath sets Path field to given value.

HasPath

func (o *PatchedUserRequest) HasPath() bool

HasPath returns a boolean if a field has been set.

GetType

func (o *PatchedUserRequest) GetType() UserTypeEnum

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

GetTypeOk

func (o *PatchedUserRequest) 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 *PatchedUserRequest) SetType(v UserTypeEnum)

SetType sets Type field to given value.

HasType

func (o *PatchedUserRequest) HasType() bool

HasType returns a boolean if a field has been set.

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