This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_val_group_document.go
520 lines (442 loc) · 15.1 KB
/
model_val_group_document.go
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
/*
SS_Events
API for SEAL Events management. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.1.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_SS_Events
import (
"encoding/json"
)
// checks if the VALGroupDocument type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &VALGroupDocument{}
// VALGroupDocument Represents details of the VAL group document information.
type VALGroupDocument struct {
// The VAL group idenitity.
ValGroupId string `json:"valGroupId"`
// The text description of the VAL group.
GrpDesc *string `json:"grpDesc,omitempty"`
// The list of VAL User IDs or VAL UE IDs, which are members of the VAL group.
Members []ValTargetUe `json:"members,omitempty"`
// Configuration data for the VAL group.
ValGrpConf *string `json:"valGrpConf,omitempty"`
// The list of VAL services enabled on the group.
ValServiceIds []string `json:"valServiceIds,omitempty"`
// VAL service specific information.
ValSvcInf *string `json:"valSvcInf,omitempty"`
// A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
SuppFeat *string `json:"suppFeat,omitempty"`
// string providing an URI formatted according to IETF RFC 3986.
ResUri *string `json:"resUri,omitempty"`
LocInfo *LocationInfo `json:"locInfo,omitempty"`
AddLocInfo *LocationArea5G `json:"addLocInfo,omitempty"`
// string containing a local identifier followed by \"@\" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any \"@\" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information.
ExtGrpId *string `json:"extGrpId,omitempty"`
Com5GLanType *PduSessionType `json:"com5GLanType,omitempty"`
}
// NewVALGroupDocument instantiates a new VALGroupDocument 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 NewVALGroupDocument(valGroupId string) *VALGroupDocument {
this := VALGroupDocument{}
this.ValGroupId = valGroupId
return &this
}
// NewVALGroupDocumentWithDefaults instantiates a new VALGroupDocument 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 NewVALGroupDocumentWithDefaults() *VALGroupDocument {
this := VALGroupDocument{}
return &this
}
// GetValGroupId returns the ValGroupId field value
func (o *VALGroupDocument) GetValGroupId() string {
if o == nil {
var ret string
return ret
}
return o.ValGroupId
}
// GetValGroupIdOk returns a tuple with the ValGroupId field value
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetValGroupIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ValGroupId, true
}
// SetValGroupId sets field value
func (o *VALGroupDocument) SetValGroupId(v string) {
o.ValGroupId = v
}
// GetGrpDesc returns the GrpDesc field value if set, zero value otherwise.
func (o *VALGroupDocument) GetGrpDesc() string {
if o == nil || IsNil(o.GrpDesc) {
var ret string
return ret
}
return *o.GrpDesc
}
// GetGrpDescOk returns a tuple with the GrpDesc field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetGrpDescOk() (*string, bool) {
if o == nil || IsNil(o.GrpDesc) {
return nil, false
}
return o.GrpDesc, true
}
// HasGrpDesc returns a boolean if a field has been set.
func (o *VALGroupDocument) HasGrpDesc() bool {
if o != nil && !IsNil(o.GrpDesc) {
return true
}
return false
}
// SetGrpDesc gets a reference to the given string and assigns it to the GrpDesc field.
func (o *VALGroupDocument) SetGrpDesc(v string) {
o.GrpDesc = &v
}
// GetMembers returns the Members field value if set, zero value otherwise.
func (o *VALGroupDocument) GetMembers() []ValTargetUe {
if o == nil || IsNil(o.Members) {
var ret []ValTargetUe
return ret
}
return o.Members
}
// GetMembersOk returns a tuple with the Members field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetMembersOk() ([]ValTargetUe, bool) {
if o == nil || IsNil(o.Members) {
return nil, false
}
return o.Members, true
}
// HasMembers returns a boolean if a field has been set.
func (o *VALGroupDocument) HasMembers() bool {
if o != nil && !IsNil(o.Members) {
return true
}
return false
}
// SetMembers gets a reference to the given []ValTargetUe and assigns it to the Members field.
func (o *VALGroupDocument) SetMembers(v []ValTargetUe) {
o.Members = v
}
// GetValGrpConf returns the ValGrpConf field value if set, zero value otherwise.
func (o *VALGroupDocument) GetValGrpConf() string {
if o == nil || IsNil(o.ValGrpConf) {
var ret string
return ret
}
return *o.ValGrpConf
}
// GetValGrpConfOk returns a tuple with the ValGrpConf field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetValGrpConfOk() (*string, bool) {
if o == nil || IsNil(o.ValGrpConf) {
return nil, false
}
return o.ValGrpConf, true
}
// HasValGrpConf returns a boolean if a field has been set.
func (o *VALGroupDocument) HasValGrpConf() bool {
if o != nil && !IsNil(o.ValGrpConf) {
return true
}
return false
}
// SetValGrpConf gets a reference to the given string and assigns it to the ValGrpConf field.
func (o *VALGroupDocument) SetValGrpConf(v string) {
o.ValGrpConf = &v
}
// GetValServiceIds returns the ValServiceIds field value if set, zero value otherwise.
func (o *VALGroupDocument) GetValServiceIds() []string {
if o == nil || IsNil(o.ValServiceIds) {
var ret []string
return ret
}
return o.ValServiceIds
}
// GetValServiceIdsOk returns a tuple with the ValServiceIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetValServiceIdsOk() ([]string, bool) {
if o == nil || IsNil(o.ValServiceIds) {
return nil, false
}
return o.ValServiceIds, true
}
// HasValServiceIds returns a boolean if a field has been set.
func (o *VALGroupDocument) HasValServiceIds() bool {
if o != nil && !IsNil(o.ValServiceIds) {
return true
}
return false
}
// SetValServiceIds gets a reference to the given []string and assigns it to the ValServiceIds field.
func (o *VALGroupDocument) SetValServiceIds(v []string) {
o.ValServiceIds = v
}
// GetValSvcInf returns the ValSvcInf field value if set, zero value otherwise.
func (o *VALGroupDocument) GetValSvcInf() string {
if o == nil || IsNil(o.ValSvcInf) {
var ret string
return ret
}
return *o.ValSvcInf
}
// GetValSvcInfOk returns a tuple with the ValSvcInf field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetValSvcInfOk() (*string, bool) {
if o == nil || IsNil(o.ValSvcInf) {
return nil, false
}
return o.ValSvcInf, true
}
// HasValSvcInf returns a boolean if a field has been set.
func (o *VALGroupDocument) HasValSvcInf() bool {
if o != nil && !IsNil(o.ValSvcInf) {
return true
}
return false
}
// SetValSvcInf gets a reference to the given string and assigns it to the ValSvcInf field.
func (o *VALGroupDocument) SetValSvcInf(v string) {
o.ValSvcInf = &v
}
// GetSuppFeat returns the SuppFeat field value if set, zero value otherwise.
func (o *VALGroupDocument) GetSuppFeat() string {
if o == nil || IsNil(o.SuppFeat) {
var ret string
return ret
}
return *o.SuppFeat
}
// GetSuppFeatOk returns a tuple with the SuppFeat field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetSuppFeatOk() (*string, bool) {
if o == nil || IsNil(o.SuppFeat) {
return nil, false
}
return o.SuppFeat, true
}
// HasSuppFeat returns a boolean if a field has been set.
func (o *VALGroupDocument) HasSuppFeat() bool {
if o != nil && !IsNil(o.SuppFeat) {
return true
}
return false
}
// SetSuppFeat gets a reference to the given string and assigns it to the SuppFeat field.
func (o *VALGroupDocument) SetSuppFeat(v string) {
o.SuppFeat = &v
}
// GetResUri returns the ResUri field value if set, zero value otherwise.
func (o *VALGroupDocument) GetResUri() string {
if o == nil || IsNil(o.ResUri) {
var ret string
return ret
}
return *o.ResUri
}
// GetResUriOk returns a tuple with the ResUri field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetResUriOk() (*string, bool) {
if o == nil || IsNil(o.ResUri) {
return nil, false
}
return o.ResUri, true
}
// HasResUri returns a boolean if a field has been set.
func (o *VALGroupDocument) HasResUri() bool {
if o != nil && !IsNil(o.ResUri) {
return true
}
return false
}
// SetResUri gets a reference to the given string and assigns it to the ResUri field.
func (o *VALGroupDocument) SetResUri(v string) {
o.ResUri = &v
}
// GetLocInfo returns the LocInfo field value if set, zero value otherwise.
func (o *VALGroupDocument) GetLocInfo() LocationInfo {
if o == nil || IsNil(o.LocInfo) {
var ret LocationInfo
return ret
}
return *o.LocInfo
}
// GetLocInfoOk returns a tuple with the LocInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetLocInfoOk() (*LocationInfo, bool) {
if o == nil || IsNil(o.LocInfo) {
return nil, false
}
return o.LocInfo, true
}
// HasLocInfo returns a boolean if a field has been set.
func (o *VALGroupDocument) HasLocInfo() bool {
if o != nil && !IsNil(o.LocInfo) {
return true
}
return false
}
// SetLocInfo gets a reference to the given LocationInfo and assigns it to the LocInfo field.
func (o *VALGroupDocument) SetLocInfo(v LocationInfo) {
o.LocInfo = &v
}
// GetAddLocInfo returns the AddLocInfo field value if set, zero value otherwise.
func (o *VALGroupDocument) GetAddLocInfo() LocationArea5G {
if o == nil || IsNil(o.AddLocInfo) {
var ret LocationArea5G
return ret
}
return *o.AddLocInfo
}
// GetAddLocInfoOk returns a tuple with the AddLocInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetAddLocInfoOk() (*LocationArea5G, bool) {
if o == nil || IsNil(o.AddLocInfo) {
return nil, false
}
return o.AddLocInfo, true
}
// HasAddLocInfo returns a boolean if a field has been set.
func (o *VALGroupDocument) HasAddLocInfo() bool {
if o != nil && !IsNil(o.AddLocInfo) {
return true
}
return false
}
// SetAddLocInfo gets a reference to the given LocationArea5G and assigns it to the AddLocInfo field.
func (o *VALGroupDocument) SetAddLocInfo(v LocationArea5G) {
o.AddLocInfo = &v
}
// GetExtGrpId returns the ExtGrpId field value if set, zero value otherwise.
func (o *VALGroupDocument) GetExtGrpId() string {
if o == nil || IsNil(o.ExtGrpId) {
var ret string
return ret
}
return *o.ExtGrpId
}
// GetExtGrpIdOk returns a tuple with the ExtGrpId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetExtGrpIdOk() (*string, bool) {
if o == nil || IsNil(o.ExtGrpId) {
return nil, false
}
return o.ExtGrpId, true
}
// HasExtGrpId returns a boolean if a field has been set.
func (o *VALGroupDocument) HasExtGrpId() bool {
if o != nil && !IsNil(o.ExtGrpId) {
return true
}
return false
}
// SetExtGrpId gets a reference to the given string and assigns it to the ExtGrpId field.
func (o *VALGroupDocument) SetExtGrpId(v string) {
o.ExtGrpId = &v
}
// GetCom5GLanType returns the Com5GLanType field value if set, zero value otherwise.
func (o *VALGroupDocument) GetCom5GLanType() PduSessionType {
if o == nil || IsNil(o.Com5GLanType) {
var ret PduSessionType
return ret
}
return *o.Com5GLanType
}
// GetCom5GLanTypeOk returns a tuple with the Com5GLanType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetCom5GLanTypeOk() (*PduSessionType, bool) {
if o == nil || IsNil(o.Com5GLanType) {
return nil, false
}
return o.Com5GLanType, true
}
// HasCom5GLanType returns a boolean if a field has been set.
func (o *VALGroupDocument) HasCom5GLanType() bool {
if o != nil && !IsNil(o.Com5GLanType) {
return true
}
return false
}
// SetCom5GLanType gets a reference to the given PduSessionType and assigns it to the Com5GLanType field.
func (o *VALGroupDocument) SetCom5GLanType(v PduSessionType) {
o.Com5GLanType = &v
}
func (o VALGroupDocument) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o VALGroupDocument) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["valGroupId"] = o.ValGroupId
if !IsNil(o.GrpDesc) {
toSerialize["grpDesc"] = o.GrpDesc
}
if !IsNil(o.Members) {
toSerialize["members"] = o.Members
}
if !IsNil(o.ValGrpConf) {
toSerialize["valGrpConf"] = o.ValGrpConf
}
if !IsNil(o.ValServiceIds) {
toSerialize["valServiceIds"] = o.ValServiceIds
}
if !IsNil(o.ValSvcInf) {
toSerialize["valSvcInf"] = o.ValSvcInf
}
if !IsNil(o.SuppFeat) {
toSerialize["suppFeat"] = o.SuppFeat
}
if !IsNil(o.ResUri) {
toSerialize["resUri"] = o.ResUri
}
if !IsNil(o.LocInfo) {
toSerialize["locInfo"] = o.LocInfo
}
if !IsNil(o.AddLocInfo) {
toSerialize["addLocInfo"] = o.AddLocInfo
}
if !IsNil(o.ExtGrpId) {
toSerialize["extGrpId"] = o.ExtGrpId
}
if !IsNil(o.Com5GLanType) {
toSerialize["com5GLanType"] = o.Com5GLanType
}
return toSerialize, nil
}
type NullableVALGroupDocument struct {
value *VALGroupDocument
isSet bool
}
func (v NullableVALGroupDocument) Get() *VALGroupDocument {
return v.value
}
func (v *NullableVALGroupDocument) Set(val *VALGroupDocument) {
v.value = val
v.isSet = true
}
func (v NullableVALGroupDocument) IsSet() bool {
return v.isSet
}
func (v *NullableVALGroupDocument) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableVALGroupDocument(val *VALGroupDocument) *NullableVALGroupDocument {
return &NullableVALGroupDocument{value: val, isSet: true}
}
func (v NullableVALGroupDocument) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableVALGroupDocument) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}