File: LabelProperties.md

package info (click to toggle)
golang-github-ionos-cloud-sdk-go 6.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,332 kB
  • sloc: sh: 35; makefile: 3
file content (158 lines) | stat: -rw-r--r-- 4,303 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# LabelProperties

## Properties

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**Key** | Pointer to **string** | A label key | [optional] |
|**Value** | Pointer to **string** | A label value | [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] |
|**ResourceHref** | Pointer to **string** | URL to the Resource (absolute path) on which the label is applied. | [optional] |

## Methods

### NewLabelProperties

`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

### NewLabelPropertiesWithDefaults

`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

### GetKey

`func (o *LabelProperties) GetKey() string`

GetKey returns the Key field if non-nil, zero value otherwise.

### GetKeyOk

`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.

### SetKey

`func (o *LabelProperties) SetKey(v string)`

SetKey sets Key field to given value.

### HasKey

`func (o *LabelProperties) HasKey() bool`

HasKey returns a boolean if a field has been set.

### GetValue

`func (o *LabelProperties) GetValue() string`

GetValue returns the Value field if non-nil, zero value otherwise.

### GetValueOk

`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.

### SetValue

`func (o *LabelProperties) SetValue(v string)`

SetValue sets Value field to given value.

### HasValue

`func (o *LabelProperties) HasValue() bool`

HasValue returns a boolean if a field has been set.

### GetResourceId

`func (o *LabelProperties) GetResourceId() string`

GetResourceId returns the ResourceId field if non-nil, zero value otherwise.

### GetResourceIdOk

`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.

### SetResourceId

`func (o *LabelProperties) SetResourceId(v string)`

SetResourceId sets ResourceId field to given value.

### HasResourceId

`func (o *LabelProperties) HasResourceId() bool`

HasResourceId returns a boolean if a field has been set.

### GetResourceType

`func (o *LabelProperties) GetResourceType() string`

GetResourceType returns the ResourceType field if non-nil, zero value otherwise.

### GetResourceTypeOk

`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.

### SetResourceType

`func (o *LabelProperties) SetResourceType(v string)`

SetResourceType sets ResourceType field to given value.

### HasResourceType

`func (o *LabelProperties) HasResourceType() bool`

HasResourceType returns a boolean if a field has been set.

### GetResourceHref

`func (o *LabelProperties) GetResourceHref() string`

GetResourceHref returns the ResourceHref field if non-nil, zero value otherwise.

### GetResourceHrefOk

`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.

### SetResourceHref

`func (o *LabelProperties) SetResourceHref(v string)`

SetResourceHref sets ResourceHref field to given value.

### HasResourceHref

`func (o *LabelProperties) HasResourceHref() bool`

HasResourceHref returns a boolean if a field has been set.