Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to NullableString | [optional] | |
Subscriptions | Pointer to []string | [optional] | |
Groups | Pointer to []string | [optional] | |
AdminPermission | Pointer to AdminPermission | [optional] | |
IsAdmin | Pointer to bool | [optional] | |
Name | Pointer to NullableString | [optional] | |
Username | Pointer to NullableString | [optional] | |
Pointer to NullableString | [optional] | ||
CreatedTime | Pointer to time.Time | [optional] | |
T | string |
func NewUserVM(t string, ) *UserVM
NewUserVM instantiates a new UserVM 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 NewUserVMWithDefaults() *UserVM
NewUserVMWithDefaults instantiates a new UserVM 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 *UserVM) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *UserVM) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserVM) SetId(v string)
SetId sets Id field to given value.
func (o *UserVM) HasId() bool
HasId returns a boolean if a field has been set.
func (o *UserVM) SetIdNil(b bool)
SetIdNil sets the value for Id to be an explicit nil
func (o *UserVM) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *UserVM) GetSubscriptions() []string
GetSubscriptions returns the Subscriptions field if non-nil, zero value otherwise.
func (o *UserVM) GetSubscriptionsOk() (*[]string, bool)
GetSubscriptionsOk returns a tuple with the Subscriptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserVM) SetSubscriptions(v []string)
SetSubscriptions sets Subscriptions field to given value.
func (o *UserVM) HasSubscriptions() bool
HasSubscriptions returns a boolean if a field has been set.
func (o *UserVM) SetSubscriptionsNil(b bool)
SetSubscriptionsNil sets the value for Subscriptions to be an explicit nil
func (o *UserVM) UnsetSubscriptions()
UnsetSubscriptions ensures that no value is present for Subscriptions, not even an explicit nil
func (o *UserVM) GetGroups() []string
GetGroups returns the Groups field if non-nil, zero value otherwise.
func (o *UserVM) 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.
func (o *UserVM) SetGroups(v []string)
SetGroups sets Groups field to given value.
func (o *UserVM) HasGroups() bool
HasGroups returns a boolean if a field has been set.
func (o *UserVM) SetGroupsNil(b bool)
SetGroupsNil sets the value for Groups to be an explicit nil
func (o *UserVM) UnsetGroups()
UnsetGroups ensures that no value is present for Groups, not even an explicit nil
func (o *UserVM) GetAdminPermission() AdminPermission
GetAdminPermission returns the AdminPermission field if non-nil, zero value otherwise.
func (o *UserVM) GetAdminPermissionOk() (*AdminPermission, bool)
GetAdminPermissionOk returns a tuple with the AdminPermission field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserVM) SetAdminPermission(v AdminPermission)
SetAdminPermission sets AdminPermission field to given value.
func (o *UserVM) HasAdminPermission() bool
HasAdminPermission returns a boolean if a field has been set.
func (o *UserVM) GetIsAdmin() bool
GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
func (o *UserVM) GetIsAdminOk() (*bool, bool)
GetIsAdminOk returns a tuple with the IsAdmin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserVM) SetIsAdmin(v bool)
SetIsAdmin sets IsAdmin field to given value.
func (o *UserVM) HasIsAdmin() bool
HasIsAdmin returns a boolean if a field has been set.
func (o *UserVM) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UserVM) 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.
func (o *UserVM) SetName(v string)
SetName sets Name field to given value.
func (o *UserVM) HasName() bool
HasName returns a boolean if a field has been set.
func (o *UserVM) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *UserVM) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *UserVM) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *UserVM) 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.
func (o *UserVM) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *UserVM) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (o *UserVM) SetUsernameNil(b bool)
SetUsernameNil sets the value for Username to be an explicit nil
func (o *UserVM) UnsetUsername()
UnsetUsername ensures that no value is present for Username, not even an explicit nil
func (o *UserVM) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *UserVM) 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 *UserVM) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *UserVM) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *UserVM) SetEmailNil(b bool)
SetEmailNil sets the value for Email to be an explicit nil
func (o *UserVM) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (o *UserVM) GetCreatedTime() time.Time
GetCreatedTime returns the CreatedTime field if non-nil, zero value otherwise.
func (o *UserVM) GetCreatedTimeOk() (*time.Time, bool)
GetCreatedTimeOk returns a tuple with the CreatedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserVM) SetCreatedTime(v time.Time)
SetCreatedTime sets CreatedTime field to given value.
func (o *UserVM) HasCreatedTime() bool
HasCreatedTime returns a boolean if a field has been set.
func (o *UserVM) GetT() string
GetT returns the T field if non-nil, zero value otherwise.
func (o *UserVM) GetTOk() (*string, bool)
GetTOk returns a tuple with the T field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserVM) SetT(v string)
SetT sets T field to given value.