@@ -18,8 +18,6 @@ type SearchedBranch struct {
18
18
description * string
19
19
// An ID of a single artifact group.
20
20
groupId * string
21
- // User-defined name-value pairs. Name and value must be strings.
22
- labels Labelsable
23
21
// The modifiedBy property
24
22
modifiedBy * string
25
23
// The modifiedOn property
@@ -127,16 +125,6 @@ func (m *SearchedBranch) GetFieldDeserializers() map[string]func(i878a80d2330e89
127
125
}
128
126
return nil
129
127
}
130
- res ["labels" ] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode ) error {
131
- val , err := n .GetObjectValue (CreateLabelsFromDiscriminatorValue )
132
- if err != nil {
133
- return err
134
- }
135
- if val != nil {
136
- m .SetLabels (val .(Labelsable ))
137
- }
138
- return nil
139
- }
140
128
res ["modifiedBy" ] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode ) error {
141
129
val , err := n .GetStringValue ()
142
130
if err != nil {
@@ -186,12 +174,6 @@ func (m *SearchedBranch) GetGroupId() *string {
186
174
return m .groupId
187
175
}
188
176
189
- // GetLabels gets the labels property value. User-defined name-value pairs. Name and value must be strings.
190
- // returns a Labelsable when successful
191
- func (m * SearchedBranch ) GetLabels () Labelsable {
192
- return m .labels
193
- }
194
-
195
177
// GetModifiedBy gets the modifiedBy property value. The modifiedBy property
196
178
// returns a *string when successful
197
179
func (m * SearchedBranch ) GetModifiedBy () * string {
@@ -248,12 +230,6 @@ func (m *SearchedBranch) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a
248
230
return err
249
231
}
250
232
}
251
- {
252
- err := writer .WriteObjectValue ("labels" , m .GetLabels ())
253
- if err != nil {
254
- return err
255
- }
256
- }
257
233
{
258
234
err := writer .WriteStringValue ("modifiedBy" , m .GetModifiedBy ())
259
235
if err != nil {
@@ -317,11 +293,6 @@ func (m *SearchedBranch) SetGroupId(value *string) {
317
293
m .groupId = value
318
294
}
319
295
320
- // SetLabels sets the labels property value. User-defined name-value pairs. Name and value must be strings.
321
- func (m * SearchedBranch ) SetLabels (value Labelsable ) {
322
- m .labels = value
323
- }
324
-
325
296
// SetModifiedBy sets the modifiedBy property value. The modifiedBy property
326
297
func (m * SearchedBranch ) SetModifiedBy (value * string ) {
327
298
m .modifiedBy = value
@@ -350,7 +321,6 @@ type SearchedBranchable interface {
350
321
GetCreatedOn () * i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
351
322
GetDescription () * string
352
323
GetGroupId () * string
353
- GetLabels () Labelsable
354
324
GetModifiedBy () * string
355
325
GetModifiedOn () * i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
356
326
GetOwner () * string
@@ -360,7 +330,6 @@ type SearchedBranchable interface {
360
330
SetCreatedOn (value * i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time )
361
331
SetDescription (value * string )
362
332
SetGroupId (value * string )
363
- SetLabels (value Labelsable )
364
333
SetModifiedBy (value * string )
365
334
SetModifiedOn (value * i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time )
366
335
SetOwner (value * string )
0 commit comments