This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_sor_info_1.go
401 lines (339 loc) · 11.1 KB
/
model_sor_info_1.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
/*
Nudr_DataRepository API OpenAPI file
Unified Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 2.3.0-alpha.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_Nudr_DR
import (
"encoding/json"
"time"
)
// checks if the SorInfo1 type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &SorInfo1{}
// SorInfo1 struct for SorInfo1
type SorInfo1 struct {
SteeringContainer *SteeringContainer `json:"steeringContainer,omitempty"`
// Contains indication whether the acknowledgement from UE is needed.
AckInd bool `json:"ackInd"`
// MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE).
SorMacIausf *string `json:"sorMacIausf,omitempty"`
// CounterSoR.
Countersor *string `json:"countersor,omitempty"`
// string with format 'date-time' as defined in OpenAPI.
ProvisioningTime time.Time `json:"provisioningTime"`
// string with format 'bytes' as defined in OpenAPI
SorTransparentContainer *string `json:"sorTransparentContainer,omitempty"`
// string with format 'bytes' as defined in OpenAPI
SorCmci *string `json:"sorCmci,omitempty"`
StoreSorCmciInMe *bool `json:"storeSorCmciInMe,omitempty"`
UsimSupportOfSorCmci *bool `json:"usimSupportOfSorCmci,omitempty"`
}
// NewSorInfo1 instantiates a new SorInfo1 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 NewSorInfo1(ackInd bool, provisioningTime time.Time) *SorInfo1 {
this := SorInfo1{}
this.AckInd = ackInd
this.ProvisioningTime = provisioningTime
return &this
}
// NewSorInfo1WithDefaults instantiates a new SorInfo1 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 NewSorInfo1WithDefaults() *SorInfo1 {
this := SorInfo1{}
return &this
}
// GetSteeringContainer returns the SteeringContainer field value if set, zero value otherwise.
func (o *SorInfo1) GetSteeringContainer() SteeringContainer {
if o == nil || IsNil(o.SteeringContainer) {
var ret SteeringContainer
return ret
}
return *o.SteeringContainer
}
// GetSteeringContainerOk returns a tuple with the SteeringContainer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetSteeringContainerOk() (*SteeringContainer, bool) {
if o == nil || IsNil(o.SteeringContainer) {
return nil, false
}
return o.SteeringContainer, true
}
// HasSteeringContainer returns a boolean if a field has been set.
func (o *SorInfo1) HasSteeringContainer() bool {
if o != nil && !IsNil(o.SteeringContainer) {
return true
}
return false
}
// SetSteeringContainer gets a reference to the given SteeringContainer and assigns it to the SteeringContainer field.
func (o *SorInfo1) SetSteeringContainer(v SteeringContainer) {
o.SteeringContainer = &v
}
// GetAckInd returns the AckInd field value
func (o *SorInfo1) GetAckInd() bool {
if o == nil {
var ret bool
return ret
}
return o.AckInd
}
// GetAckIndOk returns a tuple with the AckInd field value
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetAckIndOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.AckInd, true
}
// SetAckInd sets field value
func (o *SorInfo1) SetAckInd(v bool) {
o.AckInd = v
}
// GetSorMacIausf returns the SorMacIausf field value if set, zero value otherwise.
func (o *SorInfo1) GetSorMacIausf() string {
if o == nil || IsNil(o.SorMacIausf) {
var ret string
return ret
}
return *o.SorMacIausf
}
// GetSorMacIausfOk returns a tuple with the SorMacIausf field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetSorMacIausfOk() (*string, bool) {
if o == nil || IsNil(o.SorMacIausf) {
return nil, false
}
return o.SorMacIausf, true
}
// HasSorMacIausf returns a boolean if a field has been set.
func (o *SorInfo1) HasSorMacIausf() bool {
if o != nil && !IsNil(o.SorMacIausf) {
return true
}
return false
}
// SetSorMacIausf gets a reference to the given string and assigns it to the SorMacIausf field.
func (o *SorInfo1) SetSorMacIausf(v string) {
o.SorMacIausf = &v
}
// GetCountersor returns the Countersor field value if set, zero value otherwise.
func (o *SorInfo1) GetCountersor() string {
if o == nil || IsNil(o.Countersor) {
var ret string
return ret
}
return *o.Countersor
}
// GetCountersorOk returns a tuple with the Countersor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetCountersorOk() (*string, bool) {
if o == nil || IsNil(o.Countersor) {
return nil, false
}
return o.Countersor, true
}
// HasCountersor returns a boolean if a field has been set.
func (o *SorInfo1) HasCountersor() bool {
if o != nil && !IsNil(o.Countersor) {
return true
}
return false
}
// SetCountersor gets a reference to the given string and assigns it to the Countersor field.
func (o *SorInfo1) SetCountersor(v string) {
o.Countersor = &v
}
// GetProvisioningTime returns the ProvisioningTime field value
func (o *SorInfo1) GetProvisioningTime() time.Time {
if o == nil {
var ret time.Time
return ret
}
return o.ProvisioningTime
}
// GetProvisioningTimeOk returns a tuple with the ProvisioningTime field value
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetProvisioningTimeOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return &o.ProvisioningTime, true
}
// SetProvisioningTime sets field value
func (o *SorInfo1) SetProvisioningTime(v time.Time) {
o.ProvisioningTime = v
}
// GetSorTransparentContainer returns the SorTransparentContainer field value if set, zero value otherwise.
func (o *SorInfo1) GetSorTransparentContainer() string {
if o == nil || IsNil(o.SorTransparentContainer) {
var ret string
return ret
}
return *o.SorTransparentContainer
}
// GetSorTransparentContainerOk returns a tuple with the SorTransparentContainer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetSorTransparentContainerOk() (*string, bool) {
if o == nil || IsNil(o.SorTransparentContainer) {
return nil, false
}
return o.SorTransparentContainer, true
}
// HasSorTransparentContainer returns a boolean if a field has been set.
func (o *SorInfo1) HasSorTransparentContainer() bool {
if o != nil && !IsNil(o.SorTransparentContainer) {
return true
}
return false
}
// SetSorTransparentContainer gets a reference to the given string and assigns it to the SorTransparentContainer field.
func (o *SorInfo1) SetSorTransparentContainer(v string) {
o.SorTransparentContainer = &v
}
// GetSorCmci returns the SorCmci field value if set, zero value otherwise.
func (o *SorInfo1) GetSorCmci() string {
if o == nil || IsNil(o.SorCmci) {
var ret string
return ret
}
return *o.SorCmci
}
// GetSorCmciOk returns a tuple with the SorCmci field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetSorCmciOk() (*string, bool) {
if o == nil || IsNil(o.SorCmci) {
return nil, false
}
return o.SorCmci, true
}
// HasSorCmci returns a boolean if a field has been set.
func (o *SorInfo1) HasSorCmci() bool {
if o != nil && !IsNil(o.SorCmci) {
return true
}
return false
}
// SetSorCmci gets a reference to the given string and assigns it to the SorCmci field.
func (o *SorInfo1) SetSorCmci(v string) {
o.SorCmci = &v
}
// GetStoreSorCmciInMe returns the StoreSorCmciInMe field value if set, zero value otherwise.
func (o *SorInfo1) GetStoreSorCmciInMe() bool {
if o == nil || IsNil(o.StoreSorCmciInMe) {
var ret bool
return ret
}
return *o.StoreSorCmciInMe
}
// GetStoreSorCmciInMeOk returns a tuple with the StoreSorCmciInMe field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetStoreSorCmciInMeOk() (*bool, bool) {
if o == nil || IsNil(o.StoreSorCmciInMe) {
return nil, false
}
return o.StoreSorCmciInMe, true
}
// HasStoreSorCmciInMe returns a boolean if a field has been set.
func (o *SorInfo1) HasStoreSorCmciInMe() bool {
if o != nil && !IsNil(o.StoreSorCmciInMe) {
return true
}
return false
}
// SetStoreSorCmciInMe gets a reference to the given bool and assigns it to the StoreSorCmciInMe field.
func (o *SorInfo1) SetStoreSorCmciInMe(v bool) {
o.StoreSorCmciInMe = &v
}
// GetUsimSupportOfSorCmci returns the UsimSupportOfSorCmci field value if set, zero value otherwise.
func (o *SorInfo1) GetUsimSupportOfSorCmci() bool {
if o == nil || IsNil(o.UsimSupportOfSorCmci) {
var ret bool
return ret
}
return *o.UsimSupportOfSorCmci
}
// GetUsimSupportOfSorCmciOk returns a tuple with the UsimSupportOfSorCmci field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SorInfo1) GetUsimSupportOfSorCmciOk() (*bool, bool) {
if o == nil || IsNil(o.UsimSupportOfSorCmci) {
return nil, false
}
return o.UsimSupportOfSorCmci, true
}
// HasUsimSupportOfSorCmci returns a boolean if a field has been set.
func (o *SorInfo1) HasUsimSupportOfSorCmci() bool {
if o != nil && !IsNil(o.UsimSupportOfSorCmci) {
return true
}
return false
}
// SetUsimSupportOfSorCmci gets a reference to the given bool and assigns it to the UsimSupportOfSorCmci field.
func (o *SorInfo1) SetUsimSupportOfSorCmci(v bool) {
o.UsimSupportOfSorCmci = &v
}
func (o SorInfo1) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o SorInfo1) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.SteeringContainer) {
toSerialize["steeringContainer"] = o.SteeringContainer
}
toSerialize["ackInd"] = o.AckInd
if !IsNil(o.SorMacIausf) {
toSerialize["sorMacIausf"] = o.SorMacIausf
}
if !IsNil(o.Countersor) {
toSerialize["countersor"] = o.Countersor
}
toSerialize["provisioningTime"] = o.ProvisioningTime
if !IsNil(o.SorTransparentContainer) {
toSerialize["sorTransparentContainer"] = o.SorTransparentContainer
}
if !IsNil(o.SorCmci) {
toSerialize["sorCmci"] = o.SorCmci
}
if !IsNil(o.StoreSorCmciInMe) {
toSerialize["storeSorCmciInMe"] = o.StoreSorCmciInMe
}
if !IsNil(o.UsimSupportOfSorCmci) {
toSerialize["usimSupportOfSorCmci"] = o.UsimSupportOfSorCmci
}
return toSerialize, nil
}
type NullableSorInfo1 struct {
value *SorInfo1
isSet bool
}
func (v NullableSorInfo1) Get() *SorInfo1 {
return v.value
}
func (v *NullableSorInfo1) Set(val *SorInfo1) {
v.value = val
v.isSet = true
}
func (v NullableSorInfo1) IsSet() bool {
return v.isSet
}
func (v *NullableSorInfo1) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableSorInfo1(val *SorInfo1) *NullableSorInfo1 {
return &NullableSorInfo1{value: val, isSet: true}
}
func (v NullableSorInfo1) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableSorInfo1) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}