Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 5.42 KB

File metadata and controls

212 lines (115 loc) · 5.42 KB

ResourceAttributes

Properties

Name Type Description Notes
Namespace Pointer to string [optional]
Verb Pointer to string [optional]
Group Pointer to string [optional]
Version Pointer to string [optional]
Resource Pointer to string [optional]
Subresource Pointer to string [optional]
Name Pointer to string [optional]

Methods

NewResourceAttributes

func NewResourceAttributes() *ResourceAttributes

NewResourceAttributes instantiates a new ResourceAttributes 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

NewResourceAttributesWithDefaults

func NewResourceAttributesWithDefaults() *ResourceAttributes

NewResourceAttributesWithDefaults instantiates a new ResourceAttributes 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

GetNamespace

func (o *ResourceAttributes) GetNamespace() string

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

GetNamespaceOk

func (o *ResourceAttributes) 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 *ResourceAttributes) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *ResourceAttributes) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetVerb

func (o *ResourceAttributes) GetVerb() string

GetVerb returns the Verb field if non-nil, zero value otherwise.

GetVerbOk

func (o *ResourceAttributes) GetVerbOk() (*string, bool)

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

SetVerb

func (o *ResourceAttributes) SetVerb(v string)

SetVerb sets Verb field to given value.

HasVerb

func (o *ResourceAttributes) HasVerb() bool

HasVerb returns a boolean if a field has been set.

GetGroup

func (o *ResourceAttributes) GetGroup() string

GetGroup returns the Group field if non-nil, zero value otherwise.

GetGroupOk

func (o *ResourceAttributes) GetGroupOk() (*string, bool)

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

SetGroup

func (o *ResourceAttributes) SetGroup(v string)

SetGroup sets Group field to given value.

HasGroup

func (o *ResourceAttributes) HasGroup() bool

HasGroup returns a boolean if a field has been set.

GetVersion

func (o *ResourceAttributes) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *ResourceAttributes) GetVersionOk() (*string, bool)

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

SetVersion

func (o *ResourceAttributes) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *ResourceAttributes) HasVersion() bool

HasVersion returns a boolean if a field has been set.

GetResource

func (o *ResourceAttributes) GetResource() string

GetResource returns the Resource field if non-nil, zero value otherwise.

GetResourceOk

func (o *ResourceAttributes) GetResourceOk() (*string, bool)

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

SetResource

func (o *ResourceAttributes) SetResource(v string)

SetResource sets Resource field to given value.

HasResource

func (o *ResourceAttributes) HasResource() bool

HasResource returns a boolean if a field has been set.

GetSubresource

func (o *ResourceAttributes) GetSubresource() string

GetSubresource returns the Subresource field if non-nil, zero value otherwise.

GetSubresourceOk

func (o *ResourceAttributes) GetSubresourceOk() (*string, bool)

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

SetSubresource

func (o *ResourceAttributes) SetSubresource(v string)

SetSubresource sets Subresource field to given value.

HasSubresource

func (o *ResourceAttributes) HasSubresource() bool

HasSubresource returns a boolean if a field has been set.

GetName

func (o *ResourceAttributes) GetName() string

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

GetNameOk

func (o *ResourceAttributes) 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 *ResourceAttributes) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ResourceAttributes) HasName() bool

HasName returns a boolean if a field has been set.

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