Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
DisplayName | string | ||
Privileges | []string |
func NewApiRole(id string, displayName string, privileges []string, ) *ApiRole
NewApiRole instantiates a new ApiRole 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 NewApiRoleWithDefaults() *ApiRole
NewApiRoleWithDefaults instantiates a new ApiRole 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 *ApiRole) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ApiRole) 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 *ApiRole) SetId(v string)
SetId sets Id field to given value.
func (o *ApiRole) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (o *ApiRole) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiRole) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
func (o *ApiRole) GetPrivileges() []string
GetPrivileges returns the Privileges field if non-nil, zero value otherwise.
func (o *ApiRole) GetPrivilegesOk() (*[]string, bool)
GetPrivilegesOk returns a tuple with the Privileges field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiRole) SetPrivileges(v []string)
SetPrivileges sets Privileges field to given value.