Skip to content

Latest commit

 

History

History
197 lines (106 loc) · 5.33 KB

AccessReview.md

File metadata and controls

197 lines (106 loc) · 5.33 KB

AccessReview

Properties

Name Type Description Notes
AccountUsername string
Action string
ClusterId Pointer to string [optional]
ClusterUuid Pointer to string [optional]
OrganizationId Pointer to string [optional]
ResourceType string
SubscriptionId Pointer to string [optional]

Methods

NewAccessReview

func NewAccessReview(accountUsername string, action string, resourceType string, ) *AccessReview

NewAccessReview instantiates a new AccessReview 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

NewAccessReviewWithDefaults

func NewAccessReviewWithDefaults() *AccessReview

NewAccessReviewWithDefaults instantiates a new AccessReview 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

GetAccountUsername

func (o *AccessReview) GetAccountUsername() string

GetAccountUsername returns the AccountUsername field if non-nil, zero value otherwise.

GetAccountUsernameOk

func (o *AccessReview) GetAccountUsernameOk() (*string, bool)

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

SetAccountUsername

func (o *AccessReview) SetAccountUsername(v string)

SetAccountUsername sets AccountUsername field to given value.

GetAction

func (o *AccessReview) GetAction() string

GetAction returns the Action field if non-nil, zero value otherwise.

GetActionOk

func (o *AccessReview) GetActionOk() (*string, bool)

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

SetAction

func (o *AccessReview) SetAction(v string)

SetAction sets Action field to given value.

GetClusterId

func (o *AccessReview) GetClusterId() string

GetClusterId returns the ClusterId field if non-nil, zero value otherwise.

GetClusterIdOk

func (o *AccessReview) GetClusterIdOk() (*string, bool)

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

SetClusterId

func (o *AccessReview) SetClusterId(v string)

SetClusterId sets ClusterId field to given value.

HasClusterId

func (o *AccessReview) HasClusterId() bool

HasClusterId returns a boolean if a field has been set.

GetClusterUuid

func (o *AccessReview) GetClusterUuid() string

GetClusterUuid returns the ClusterUuid field if non-nil, zero value otherwise.

GetClusterUuidOk

func (o *AccessReview) GetClusterUuidOk() (*string, bool)

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

SetClusterUuid

func (o *AccessReview) SetClusterUuid(v string)

SetClusterUuid sets ClusterUuid field to given value.

HasClusterUuid

func (o *AccessReview) HasClusterUuid() bool

HasClusterUuid returns a boolean if a field has been set.

GetOrganizationId

func (o *AccessReview) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.

GetOrganizationIdOk

func (o *AccessReview) GetOrganizationIdOk() (*string, bool)

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

SetOrganizationId

func (o *AccessReview) SetOrganizationId(v string)

SetOrganizationId sets OrganizationId field to given value.

HasOrganizationId

func (o *AccessReview) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

GetResourceType

func (o *AccessReview) GetResourceType() string

GetResourceType returns the ResourceType field if non-nil, zero value otherwise.

GetResourceTypeOk

func (o *AccessReview) GetResourceTypeOk() (*string, bool)

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

SetResourceType

func (o *AccessReview) SetResourceType(v string)

SetResourceType sets ResourceType field to given value.

GetSubscriptionId

func (o *AccessReview) GetSubscriptionId() string

GetSubscriptionId returns the SubscriptionId field if non-nil, zero value otherwise.

GetSubscriptionIdOk

func (o *AccessReview) GetSubscriptionIdOk() (*string, bool)

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

SetSubscriptionId

func (o *AccessReview) SetSubscriptionId(v string)

SetSubscriptionId sets SubscriptionId field to given value.

HasSubscriptionId

func (o *AccessReview) HasSubscriptionId() bool

HasSubscriptionId returns a boolean if a field has been set.

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