@@ -15,6 +15,8 @@ type UserInterfaceConfigFeatures struct {
15
15
deleteGroup * bool
16
16
// The deleteVersion property
17
17
deleteVersion * bool
18
+ // The draftMutability property
19
+ draftMutability * bool
18
20
// The readOnly property
19
21
readOnly * bool
20
22
// The roleManagement property
@@ -66,6 +68,12 @@ func (m *UserInterfaceConfigFeatures) GetDeleteVersion() *bool {
66
68
return m .deleteVersion
67
69
}
68
70
71
+ // GetDraftMutability gets the draftMutability property value. The draftMutability property
72
+ // returns a *bool when successful
73
+ func (m * UserInterfaceConfigFeatures ) GetDraftMutability () * bool {
74
+ return m .draftMutability
75
+ }
76
+
69
77
// GetFieldDeserializers the deserialization information for the current model
70
78
// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
71
79
func (m * UserInterfaceConfigFeatures ) GetFieldDeserializers () map [string ]func (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode ) error {
@@ -110,6 +118,16 @@ func (m *UserInterfaceConfigFeatures) GetFieldDeserializers() map[string]func(i8
110
118
}
111
119
return nil
112
120
}
121
+ res ["draftMutability" ] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode ) error {
122
+ val , err := n .GetBoolValue ()
123
+ if err != nil {
124
+ return err
125
+ }
126
+ if val != nil {
127
+ m .SetDraftMutability (val )
128
+ }
129
+ return nil
130
+ }
113
131
res ["readOnly" ] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode ) error {
114
132
val , err := n .GetBoolValue ()
115
133
if err != nil {
@@ -187,6 +205,12 @@ func (m *UserInterfaceConfigFeatures) Serialize(writer i878a80d2330e89d26896388a
187
205
return err
188
206
}
189
207
}
208
+ {
209
+ err := writer .WriteBoolValue ("draftMutability" , m .GetDraftMutability ())
210
+ if err != nil {
211
+ return err
212
+ }
213
+ }
190
214
{
191
215
err := writer .WriteBoolValue ("readOnly" , m .GetReadOnly ())
192
216
if err != nil {
@@ -239,6 +263,11 @@ func (m *UserInterfaceConfigFeatures) SetDeleteVersion(value *bool) {
239
263
m .deleteVersion = value
240
264
}
241
265
266
+ // SetDraftMutability sets the draftMutability property value. The draftMutability property
267
+ func (m * UserInterfaceConfigFeatures ) SetDraftMutability (value * bool ) {
268
+ m .draftMutability = value
269
+ }
270
+
242
271
// SetReadOnly sets the readOnly property value. The readOnly property
243
272
func (m * UserInterfaceConfigFeatures ) SetReadOnly (value * bool ) {
244
273
m .readOnly = value
@@ -261,13 +290,15 @@ type UserInterfaceConfigFeaturesable interface {
261
290
GetDeleteArtifact () * bool
262
291
GetDeleteGroup () * bool
263
292
GetDeleteVersion () * bool
293
+ GetDraftMutability () * bool
264
294
GetReadOnly () * bool
265
295
GetRoleManagement () * bool
266
296
GetSettings () * bool
267
297
SetBreadcrumbs (value * bool )
268
298
SetDeleteArtifact (value * bool )
269
299
SetDeleteGroup (value * bool )
270
300
SetDeleteVersion (value * bool )
301
+ SetDraftMutability (value * bool )
271
302
SetReadOnly (value * bool )
272
303
SetRoleManagement (value * bool )
273
304
SetSettings (value * bool )
0 commit comments