Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.89 KB

Resource.md

File metadata and controls

72 lines (39 loc) · 1.89 KB

Resource

Properties

Name Type Description Notes
Kind string
Metadata ResourceMetadata

Methods

NewResource

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

NewResourceWithDefaults

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

GetKind

func (o *Resource) GetKind() string

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

GetKindOk

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.

SetKind

func (o *Resource) SetKind(v string)

SetKind sets Kind field to given value.

GetMetadata

func (o *Resource) GetMetadata() ResourceMetadata

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

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.

SetMetadata

func (o *Resource) SetMetadata(v ResourceMetadata)

SetMetadata sets Metadata field to given value.

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