Name | Type | Description | Notes |
---|---|---|---|
Pk | int32 | [readonly] | |
Username | string | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | |
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] | |
Pointer to string | [optional] | ||
Attributes | Pointer to map[string]interface{} | [optional] | |
Uid | string | [readonly] | |
Permissions | []UserObjectPermission | ||
IsSuperuser | bool |
func NewUserAssignedObjectPermission(pk int32, username string, name string, uid string, permissions []UserObjectPermission, isSuperuser bool, ) *UserAssignedObjectPermission
NewUserAssignedObjectPermission instantiates a new UserAssignedObjectPermission 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 NewUserAssignedObjectPermissionWithDefaults() *UserAssignedObjectPermission
NewUserAssignedObjectPermissionWithDefaults instantiates a new UserAssignedObjectPermission 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 *UserAssignedObjectPermission) GetPk() int32
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) GetPkOk() (*int32, bool)
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserAssignedObjectPermission) SetPk(v int32)
SetPk sets Pk field to given value.
func (o *UserAssignedObjectPermission) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) 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 *UserAssignedObjectPermission) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *UserAssignedObjectPermission) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) 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 *UserAssignedObjectPermission) SetName(v string)
SetName sets Name field to given value.
func (o *UserAssignedObjectPermission) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) 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.
func (o *UserAssignedObjectPermission) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *UserAssignedObjectPermission) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (o *UserAssignedObjectPermission) GetLastLogin() time.Time
GetLastLogin returns the LastLogin field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) 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.
func (o *UserAssignedObjectPermission) SetLastLogin(v time.Time)
SetLastLogin sets LastLogin field to given value.
func (o *UserAssignedObjectPermission) HasLastLogin() bool
HasLastLogin returns a boolean if a field has been set.
func (o *UserAssignedObjectPermission) SetLastLoginNil(b bool)
SetLastLoginNil sets the value for LastLogin to be an explicit nil
func (o *UserAssignedObjectPermission) UnsetLastLogin()
UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil
func (o *UserAssignedObjectPermission) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) 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 *UserAssignedObjectPermission) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *UserAssignedObjectPermission) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *UserAssignedObjectPermission) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) 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.
func (o *UserAssignedObjectPermission) SetAttributes(v map[string]interface{})
SetAttributes sets Attributes field to given value.
func (o *UserAssignedObjectPermission) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *UserAssignedObjectPermission) GetUid() string
GetUid returns the Uid field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) GetUidOk() (*string, bool)
GetUidOk returns a tuple with the Uid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserAssignedObjectPermission) SetUid(v string)
SetUid sets Uid field to given value.
func (o *UserAssignedObjectPermission) GetPermissions() []UserObjectPermission
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) GetPermissionsOk() (*[]UserObjectPermission, bool)
GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserAssignedObjectPermission) SetPermissions(v []UserObjectPermission)
SetPermissions sets Permissions field to given value.
func (o *UserAssignedObjectPermission) GetIsSuperuser() bool
GetIsSuperuser returns the IsSuperuser field if non-nil, zero value otherwise.
func (o *UserAssignedObjectPermission) GetIsSuperuserOk() (*bool, bool)
GetIsSuperuserOk returns a tuple with the IsSuperuser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserAssignedObjectPermission) SetIsSuperuser(v bool)
SetIsSuperuser sets IsSuperuser field to given value.