| Name | Type | Description | Notes |
|---|---|---|---|
| Kind | Pointer to string | [optional] | |
| ApiVersion | Pointer to string | [optional] | |
| Name | Pointer to string | [optional] | |
| Namespace | Pointer to string | [optional] | |
| Rules | Pointer to []PolicyRule | [optional] |
func NewClusterRole() *ClusterRole
NewClusterRole instantiates a new ClusterRole 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 NewClusterRoleWithDefaults() *ClusterRole
NewClusterRoleWithDefaults instantiates a new ClusterRole 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 *ClusterRole) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *ClusterRole) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterRole) SetKind(v string)
SetKind sets Kind field to given value.
func (o *ClusterRole) HasKind() bool
HasKind returns a boolean if a field has been set.
func (o *ClusterRole) GetApiVersion() string
GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.
func (o *ClusterRole) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterRole) SetApiVersion(v string)
SetApiVersion sets ApiVersion field to given value.
func (o *ClusterRole) HasApiVersion() bool
HasApiVersion returns a boolean if a field has been set.
func (o *ClusterRole) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ClusterRole) 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 *ClusterRole) SetName(v string)
SetName sets Name field to given value.
func (o *ClusterRole) HasName() bool
HasName returns a boolean if a field has been set.
func (o *ClusterRole) GetNamespace() string
GetNamespace returns the Namespace field if non-nil, zero value otherwise.
func (o *ClusterRole) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterRole) SetNamespace(v string)
SetNamespace sets Namespace field to given value.
func (o *ClusterRole) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (o *ClusterRole) GetRules() []PolicyRule
GetRules returns the Rules field if non-nil, zero value otherwise.
func (o *ClusterRole) GetRulesOk() (*[]PolicyRule, bool)
GetRulesOk returns a tuple with the Rules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterRole) SetRules(v []PolicyRule)
SetRules sets Rules field to given value.
func (o *ClusterRole) HasRules() bool
HasRules returns a boolean if a field has been set.