func NewLabelProperties() *LabelProperties
NewLabelProperties instantiates a new LabelProperties 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 NewLabelPropertiesWithDefaults() *LabelProperties
NewLabelPropertiesWithDefaults instantiates a new LabelProperties 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 *LabelProperties) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *LabelProperties) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LabelProperties) SetKey(v string)
SetKey sets Key field to given value.
func (o *LabelProperties) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *LabelProperties) GetResourceHref() string
GetResourceHref returns the ResourceHref field if non-nil, zero value otherwise.
func (o *LabelProperties) GetResourceHrefOk() (*string, bool)
GetResourceHrefOk returns a tuple with the ResourceHref field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LabelProperties) SetResourceHref(v string)
SetResourceHref sets ResourceHref field to given value.
func (o *LabelProperties) HasResourceHref() bool
HasResourceHref returns a boolean if a field has been set.
func (o *LabelProperties) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *LabelProperties) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LabelProperties) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *LabelProperties) HasResourceId() bool
HasResourceId returns a boolean if a field has been set.
func (o *LabelProperties) GetResourceType() string
GetResourceType returns the ResourceType field if non-nil, zero value otherwise.
func (o *LabelProperties) 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.
func (o *LabelProperties) SetResourceType(v string)
SetResourceType sets ResourceType field to given value.
func (o *LabelProperties) HasResourceType() bool
HasResourceType returns a boolean if a field has been set.
func (o *LabelProperties) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *LabelProperties) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LabelProperties) SetValue(v string)
SetValue sets Value field to given value.
func (o *LabelProperties) HasValue() bool
HasValue returns a boolean if a field has been set.
Name | Type | Description | Notes |
---|---|---|---|
Key
Pointer to string
A label key
[optional]
ResourceHref
Pointer to string
URL to the Resource (absolute path) on which the label is applied.
[optional]
ResourceId
Pointer to string
The ID of the resource.
[optional]
ResourceType
Pointer to string
The type of the resource on which the label is applied.
[optional]
Value
Pointer to string
A label value
[optional]