LabelResource
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewLabelResource(properties LabelResourceProperties, ) *LabelResource
NewLabelResource instantiates a new LabelResource 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 NewLabelResourceWithDefaults() *LabelResource
NewLabelResourceWithDefaults instantiates a new LabelResource 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 *LabelResource) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *LabelResource) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LabelResource) SetId(v string)
SetId sets Id field to given value.
func (o *LabelResource) HasId() bool
HasId returns a boolean if a field has been set.
func (o *LabelResource) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *LabelResource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LabelResource) SetType(v string)
SetType sets Type field to given value.
func (o *LabelResource) HasType() bool
HasType returns a boolean if a field has been set.
func (o *LabelResource) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *LabelResource) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LabelResource) SetHref(v string)
SetHref sets Href field to given value.
func (o *LabelResource) HasHref() bool
HasHref returns a boolean if a field has been set.
func (o *LabelResource) GetMetadata() NoStateMetaData
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *LabelResource) GetMetadataOk() (*NoStateMetaData, 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 *LabelResource) SetMetadata(v NoStateMetaData)
SetMetadata sets Metadata field to given value.
func (o *LabelResource) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *LabelResource) GetProperties() LabelResourceProperties
GetProperties returns the Properties field if non-nil, zero value otherwise.
func (o *LabelResource) GetPropertiesOk() (*LabelResourceProperties, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LabelResource) SetProperties(v LabelResourceProperties)
SetProperties sets Properties field to given value.
Id
Pointer to string
Label on a resource is identified using label key.
[optional] [readonly]
Type
Pointer to string
The type of object that has been created
[optional] [readonly]
Href
Pointer to string
URL to the object representation (absolute path)
[optional] [readonly]
Metadata
Pointer to NoStateMetaData
[optional]
Properties