Name | Type | Description | Notes |
---|---|---|---|
Pk | string | [readonly] | |
NumPk | int32 | Get a numerical, int32 ID for the group | [readonly] |
Name | string | ||
IsSuperuser | Pointer to bool | Users added to this group will be superusers. | [optional] |
Parent | Pointer to NullableString | [optional] | |
ParentName | NullableString | [readonly] | |
Attributes | Pointer to map[string]interface{} | [optional] |
func NewUserGroup(pk string, numPk int32, name string, parentName NullableString, ) *UserGroup
NewUserGroup instantiates a new UserGroup 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 NewUserGroupWithDefaults() *UserGroup
NewUserGroupWithDefaults instantiates a new UserGroup 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 *UserGroup) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *UserGroup) GetPkOk() (*string, 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 *UserGroup) SetPk(v string)
SetPk sets Pk field to given value.
func (o *UserGroup) GetNumPk() int32
GetNumPk returns the NumPk field if non-nil, zero value otherwise.
func (o *UserGroup) GetNumPkOk() (*int32, bool)
GetNumPkOk returns a tuple with the NumPk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetNumPk(v int32)
SetNumPk sets NumPk field to given value.
func (o *UserGroup) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UserGroup) 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 *UserGroup) SetName(v string)
SetName sets Name field to given value.
func (o *UserGroup) GetIsSuperuser() bool
GetIsSuperuser returns the IsSuperuser field if non-nil, zero value otherwise.
func (o *UserGroup) 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 *UserGroup) SetIsSuperuser(v bool)
SetIsSuperuser sets IsSuperuser field to given value.
func (o *UserGroup) HasIsSuperuser() bool
HasIsSuperuser returns a boolean if a field has been set.
func (o *UserGroup) GetParent() string
GetParent returns the Parent field if non-nil, zero value otherwise.
func (o *UserGroup) GetParentOk() (*string, bool)
GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetParent(v string)
SetParent sets Parent field to given value.
func (o *UserGroup) HasParent() bool
HasParent returns a boolean if a field has been set.
func (o *UserGroup) SetParentNil(b bool)
SetParentNil sets the value for Parent to be an explicit nil
func (o *UserGroup) UnsetParent()
UnsetParent ensures that no value is present for Parent, not even an explicit nil
func (o *UserGroup) GetParentName() string
GetParentName returns the ParentName field if non-nil, zero value otherwise.
func (o *UserGroup) GetParentNameOk() (*string, bool)
GetParentNameOk returns a tuple with the ParentName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetParentName(v string)
SetParentName sets ParentName field to given value.
func (o *UserGroup) SetParentNameNil(b bool)
SetParentNameNil sets the value for ParentName to be an explicit nil
func (o *UserGroup) UnsetParentName()
UnsetParentName ensures that no value is present for ParentName, not even an explicit nil
func (o *UserGroup) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *UserGroup) 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 *UserGroup) SetAttributes(v map[string]interface{})
SetAttributes sets Attributes field to given value.
func (o *UserGroup) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.