File: LabelResource.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 (153 lines) | stat: -rw-r--r-- 4,068 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
# LabelResource

## Properties

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**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**](NoStateMetaData.md) |  | [optional] |
|**Properties** | [**LabelResourceProperties**](LabelResourceProperties.md) |  | |

## Methods

### NewLabelResource

`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

### NewLabelResourceWithDefaults

`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

### GetId

`func (o *LabelResource) GetId() string`

GetId returns the Id field if non-nil, zero value otherwise.

### GetIdOk

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

### SetId

`func (o *LabelResource) SetId(v string)`

SetId sets Id field to given value.

### HasId

`func (o *LabelResource) HasId() bool`

HasId returns a boolean if a field has been set.

### GetType

`func (o *LabelResource) GetType() string`

GetType returns the Type field if non-nil, zero value otherwise.

### GetTypeOk

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

### SetType

`func (o *LabelResource) SetType(v string)`

SetType sets Type field to given value.

### HasType

`func (o *LabelResource) HasType() bool`

HasType returns a boolean if a field has been set.

### GetHref

`func (o *LabelResource) GetHref() string`

GetHref returns the Href field if non-nil, zero value otherwise.

### GetHrefOk

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

### SetHref

`func (o *LabelResource) SetHref(v string)`

SetHref sets Href field to given value.

### HasHref

`func (o *LabelResource) HasHref() bool`

HasHref returns a boolean if a field has been set.

### GetMetadata

`func (o *LabelResource) GetMetadata() NoStateMetaData`

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

### GetMetadataOk

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

### SetMetadata

`func (o *LabelResource) SetMetadata(v NoStateMetaData)`

SetMetadata sets Metadata field to given value.

### HasMetadata

`func (o *LabelResource) HasMetadata() bool`

HasMetadata returns a boolean if a field has been set.

### GetProperties

`func (o *LabelResource) GetProperties() LabelResourceProperties`

GetProperties returns the Properties field if non-nil, zero value otherwise.

### GetPropertiesOk

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

### SetProperties

`func (o *LabelResource) SetProperties(v LabelResourceProperties)`

SetProperties sets Properties field to given value.