Skip to content

Latest commit

 

History

History
181 lines (98 loc) · 5.01 KB

SelfSubjectAccessReview.md

File metadata and controls

181 lines (98 loc) · 5.01 KB

SelfSubjectAccessReview

Properties

Name Type Description Notes
Kind Pointer to string [optional]
ApiVersion Pointer to string [optional]
Name Pointer to string [optional]
Namespace Pointer to string [optional]
Spec SelfSubjectAccessReviewSpec
Status Pointer to SubjectAccessReviewStatus [optional]

Methods

NewSelfSubjectAccessReview

func NewSelfSubjectAccessReview(spec SelfSubjectAccessReviewSpec, ) *SelfSubjectAccessReview

NewSelfSubjectAccessReview instantiates a new SelfSubjectAccessReview 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

NewSelfSubjectAccessReviewWithDefaults

func NewSelfSubjectAccessReviewWithDefaults() *SelfSubjectAccessReview

NewSelfSubjectAccessReviewWithDefaults instantiates a new SelfSubjectAccessReview 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

GetKind

func (o *SelfSubjectAccessReview) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *SelfSubjectAccessReview) 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.

SetKind

func (o *SelfSubjectAccessReview) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *SelfSubjectAccessReview) HasKind() bool

HasKind returns a boolean if a field has been set.

GetApiVersion

func (o *SelfSubjectAccessReview) GetApiVersion() string

GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.

GetApiVersionOk

func (o *SelfSubjectAccessReview) 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.

SetApiVersion

func (o *SelfSubjectAccessReview) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

HasApiVersion

func (o *SelfSubjectAccessReview) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

GetName

func (o *SelfSubjectAccessReview) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *SelfSubjectAccessReview) 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.

SetName

func (o *SelfSubjectAccessReview) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *SelfSubjectAccessReview) HasName() bool

HasName returns a boolean if a field has been set.

GetNamespace

func (o *SelfSubjectAccessReview) GetNamespace() string

GetNamespace returns the Namespace field if non-nil, zero value otherwise.

GetNamespaceOk

func (o *SelfSubjectAccessReview) 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.

SetNamespace

func (o *SelfSubjectAccessReview) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *SelfSubjectAccessReview) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetSpec

func (o *SelfSubjectAccessReview) GetSpec() SelfSubjectAccessReviewSpec

GetSpec returns the Spec field if non-nil, zero value otherwise.

GetSpecOk

func (o *SelfSubjectAccessReview) GetSpecOk() (*SelfSubjectAccessReviewSpec, bool)

GetSpecOk returns a tuple with the Spec field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSpec

func (o *SelfSubjectAccessReview) SetSpec(v SelfSubjectAccessReviewSpec)

SetSpec sets Spec field to given value.

GetStatus

func (o *SelfSubjectAccessReview) GetStatus() SubjectAccessReviewStatus

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *SelfSubjectAccessReview) GetStatusOk() (*SubjectAccessReviewStatus, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *SelfSubjectAccessReview) SetStatus(v SubjectAccessReviewStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *SelfSubjectAccessReview) HasStatus() bool

HasStatus returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]