Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The id of the Role. This field must be left null when creating an Role, otherwise a 400 Bad Request error will result. | [optional] |
Name | string | The human-readable display name of the Role | |
Created | Pointer to time.Time | Date the Role was created | [optional] [readonly] |
Modified | Pointer to time.Time | Date the Role was last modified. | [optional] [readonly] |
Description | Pointer to NullableString | A human-readable description of the Role | [optional] |
Owner | OwnerReference | ||
AccessProfiles | Pointer to []AccessProfileRef | [optional] | |
Entitlements | Pointer to []EntitlementRef | [optional] | |
Membership | Pointer to NullableRoleMembershipSelector | [optional] | |
LegacyMembershipInfo | Pointer to map[string]interface{} | This field is not directly modifiable and is generally expected to be null. In very rare instances, some Roles may have been created using membership selection criteria that are no longer fully supported. While these Roles will still work, they should be migrated to STANDARD or IDENTITY_LIST selection criteria. This field exists for informational purposes as an aid to such migration. | [optional] |
Enabled | Pointer to bool | Whether the Role is enabled or not. | [optional] [default to false] |
Requestable | Pointer to bool | Whether the Role can be the target of access requests. | [optional] [default to false] |
AccessRequestConfig | Pointer to RequestabilityForRole | [optional] | |
RevocationRequestConfig | Pointer to RevocabilityForRole | [optional] | |
Segments | Pointer to []string | List of IDs of segments, if any, to which this Role is assigned. | [optional] |
func NewRole(name string, owner OwnerReference, ) *Role
NewRole instantiates a new Role 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 NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role 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 *Role) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Role) 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 *Role) SetId(v string)
SetId sets Id field to given value.
func (o *Role) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Role) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Role) 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 *Role) SetName(v string)
SetName sets Name field to given value.
func (o *Role) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Role) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *Role) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Role) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *Role) GetModifiedOk() (*time.Time, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetModified(v time.Time)
SetModified sets Modified field to given value.
func (o *Role) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *Role) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Role) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Role) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Role) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *Role) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *Role) GetOwner() OwnerReference
GetOwner returns the Owner field if non-nil, zero value otherwise.
func (o *Role) GetOwnerOk() (*OwnerReference, bool)
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetOwner(v OwnerReference)
SetOwner sets Owner field to given value.
func (o *Role) GetAccessProfiles() []AccessProfileRef
GetAccessProfiles returns the AccessProfiles field if non-nil, zero value otherwise.
func (o *Role) GetAccessProfilesOk() (*[]AccessProfileRef, bool)
GetAccessProfilesOk returns a tuple with the AccessProfiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetAccessProfiles(v []AccessProfileRef)
SetAccessProfiles sets AccessProfiles field to given value.
func (o *Role) HasAccessProfiles() bool
HasAccessProfiles returns a boolean if a field has been set.
func (o *Role) SetAccessProfilesNil(b bool)
SetAccessProfilesNil sets the value for AccessProfiles to be an explicit nil
func (o *Role) UnsetAccessProfiles()
UnsetAccessProfiles ensures that no value is present for AccessProfiles, not even an explicit nil
func (o *Role) GetEntitlements() []EntitlementRef
GetEntitlements returns the Entitlements field if non-nil, zero value otherwise.
func (o *Role) GetEntitlementsOk() (*[]EntitlementRef, bool)
GetEntitlementsOk returns a tuple with the Entitlements field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetEntitlements(v []EntitlementRef)
SetEntitlements sets Entitlements field to given value.
func (o *Role) HasEntitlements() bool
HasEntitlements returns a boolean if a field has been set.
func (o *Role) GetMembership() RoleMembershipSelector
GetMembership returns the Membership field if non-nil, zero value otherwise.
func (o *Role) GetMembershipOk() (*RoleMembershipSelector, bool)
GetMembershipOk returns a tuple with the Membership field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetMembership(v RoleMembershipSelector)
SetMembership sets Membership field to given value.
func (o *Role) HasMembership() bool
HasMembership returns a boolean if a field has been set.
func (o *Role) SetMembershipNil(b bool)
SetMembershipNil sets the value for Membership to be an explicit nil
func (o *Role) UnsetMembership()
UnsetMembership ensures that no value is present for Membership, not even an explicit nil
func (o *Role) GetLegacyMembershipInfo() map[string]interface{}
GetLegacyMembershipInfo returns the LegacyMembershipInfo field if non-nil, zero value otherwise.
func (o *Role) GetLegacyMembershipInfoOk() (*map[string]interface{}, bool)
GetLegacyMembershipInfoOk returns a tuple with the LegacyMembershipInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetLegacyMembershipInfo(v map[string]interface{})
SetLegacyMembershipInfo sets LegacyMembershipInfo field to given value.
func (o *Role) HasLegacyMembershipInfo() bool
HasLegacyMembershipInfo returns a boolean if a field has been set.
func (o *Role) SetLegacyMembershipInfoNil(b bool)
SetLegacyMembershipInfoNil sets the value for LegacyMembershipInfo to be an explicit nil
func (o *Role) UnsetLegacyMembershipInfo()
UnsetLegacyMembershipInfo ensures that no value is present for LegacyMembershipInfo, not even an explicit nil
func (o *Role) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Role) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *Role) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *Role) GetRequestable() bool
GetRequestable returns the Requestable field if non-nil, zero value otherwise.
func (o *Role) GetRequestableOk() (*bool, bool)
GetRequestableOk returns a tuple with the Requestable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetRequestable(v bool)
SetRequestable sets Requestable field to given value.
func (o *Role) HasRequestable() bool
HasRequestable returns a boolean if a field has been set.
func (o *Role) GetAccessRequestConfig() RequestabilityForRole
GetAccessRequestConfig returns the AccessRequestConfig field if non-nil, zero value otherwise.
func (o *Role) GetAccessRequestConfigOk() (*RequestabilityForRole, bool)
GetAccessRequestConfigOk returns a tuple with the AccessRequestConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetAccessRequestConfig(v RequestabilityForRole)
SetAccessRequestConfig sets AccessRequestConfig field to given value.
func (o *Role) HasAccessRequestConfig() bool
HasAccessRequestConfig returns a boolean if a field has been set.
func (o *Role) GetRevocationRequestConfig() RevocabilityForRole
GetRevocationRequestConfig returns the RevocationRequestConfig field if non-nil, zero value otherwise.
func (o *Role) GetRevocationRequestConfigOk() (*RevocabilityForRole, bool)
GetRevocationRequestConfigOk returns a tuple with the RevocationRequestConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetRevocationRequestConfig(v RevocabilityForRole)
SetRevocationRequestConfig sets RevocationRequestConfig field to given value.
func (o *Role) HasRevocationRequestConfig() bool
HasRevocationRequestConfig returns a boolean if a field has been set.
func (o *Role) GetSegments() []string
GetSegments returns the Segments field if non-nil, zero value otherwise.
func (o *Role) GetSegmentsOk() (*[]string, bool)
GetSegmentsOk returns a tuple with the Segments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetSegments(v []string)
SetSegments sets Segments field to given value.
func (o *Role) HasSegments() bool
HasSegments returns a boolean if a field has been set.
func (o *Role) SetSegmentsNil(b bool)
SetSegmentsNil sets the value for Segments to be an explicit nil
func (o *Role) UnsetSegments()
UnsetSegments ensures that no value is present for Segments, not even an explicit nil