Name | Type | Description | Notes |
---|---|---|---|
Kind | string | ||
Metadata | ResourceMetadata |
func NewResource(kind string, metadata ResourceMetadata, ) *Resource
NewResource instantiates a new Resource 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 NewResourceWithDefaults() *Resource
NewResourceWithDefaults instantiates a new Resource 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 *Resource) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *Resource) 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 *Resource) SetKind(v string)
SetKind sets Kind field to given value.
func (o *Resource) GetMetadata() ResourceMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Resource) GetMetadataOk() (*ResourceMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetMetadata(v ResourceMetadata)
SetMetadata sets Metadata field to given value.