This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_eas_deploy_info_data.go
298 lines (250 loc) · 8.74 KB
/
model_eas_deploy_info_data.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
/*
Unified Data Repository Service API file for Application Data
The API version is defined in 3GPP TS 29.504 © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: -
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_Application_Data
import (
"encoding/json"
)
// checks if the EasDeployInfoData type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &EasDeployInfoData{}
// EasDeployInfoData Represents the EAS Deployment Information to be reported.
type EasDeployInfoData struct {
AppId *string `json:"appId,omitempty"`
// list of DNS server identifier (consisting of IP address and port) and/or IP address(s) of the EAS in the local DN for each DNAI. The key of map is the DNAI.
DnaiInfos *map[string]DnaiInformation `json:"dnaiInfos,omitempty"`
// String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\").
Dnn *string `json:"dnn,omitempty"`
FqdnPatternList []FqdnPatternMatchingRule `json:"fqdnPatternList"`
// String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003.
InternalGroupId *string `json:"internalGroupId,omitempty"`
Snssai *Snssai `json:"snssai,omitempty"`
}
// NewEasDeployInfoData instantiates a new EasDeployInfoData 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 NewEasDeployInfoData(fqdnPatternList []FqdnPatternMatchingRule) *EasDeployInfoData {
this := EasDeployInfoData{}
this.FqdnPatternList = fqdnPatternList
return &this
}
// NewEasDeployInfoDataWithDefaults instantiates a new EasDeployInfoData 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 NewEasDeployInfoDataWithDefaults() *EasDeployInfoData {
this := EasDeployInfoData{}
return &this
}
// GetAppId returns the AppId field value if set, zero value otherwise.
func (o *EasDeployInfoData) GetAppId() string {
if o == nil || IsNil(o.AppId) {
var ret string
return ret
}
return *o.AppId
}
// GetAppIdOk returns a tuple with the AppId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EasDeployInfoData) GetAppIdOk() (*string, bool) {
if o == nil || IsNil(o.AppId) {
return nil, false
}
return o.AppId, true
}
// HasAppId returns a boolean if a field has been set.
func (o *EasDeployInfoData) HasAppId() bool {
if o != nil && !IsNil(o.AppId) {
return true
}
return false
}
// SetAppId gets a reference to the given string and assigns it to the AppId field.
func (o *EasDeployInfoData) SetAppId(v string) {
o.AppId = &v
}
// GetDnaiInfos returns the DnaiInfos field value if set, zero value otherwise.
func (o *EasDeployInfoData) GetDnaiInfos() map[string]DnaiInformation {
if o == nil || IsNil(o.DnaiInfos) {
var ret map[string]DnaiInformation
return ret
}
return *o.DnaiInfos
}
// GetDnaiInfosOk returns a tuple with the DnaiInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EasDeployInfoData) GetDnaiInfosOk() (*map[string]DnaiInformation, bool) {
if o == nil || IsNil(o.DnaiInfos) {
return nil, false
}
return o.DnaiInfos, true
}
// HasDnaiInfos returns a boolean if a field has been set.
func (o *EasDeployInfoData) HasDnaiInfos() bool {
if o != nil && !IsNil(o.DnaiInfos) {
return true
}
return false
}
// SetDnaiInfos gets a reference to the given map[string]DnaiInformation and assigns it to the DnaiInfos field.
func (o *EasDeployInfoData) SetDnaiInfos(v map[string]DnaiInformation) {
o.DnaiInfos = &v
}
// GetDnn returns the Dnn field value if set, zero value otherwise.
func (o *EasDeployInfoData) GetDnn() string {
if o == nil || IsNil(o.Dnn) {
var ret string
return ret
}
return *o.Dnn
}
// GetDnnOk returns a tuple with the Dnn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EasDeployInfoData) GetDnnOk() (*string, bool) {
if o == nil || IsNil(o.Dnn) {
return nil, false
}
return o.Dnn, true
}
// HasDnn returns a boolean if a field has been set.
func (o *EasDeployInfoData) HasDnn() bool {
if o != nil && !IsNil(o.Dnn) {
return true
}
return false
}
// SetDnn gets a reference to the given string and assigns it to the Dnn field.
func (o *EasDeployInfoData) SetDnn(v string) {
o.Dnn = &v
}
// GetFqdnPatternList returns the FqdnPatternList field value
func (o *EasDeployInfoData) GetFqdnPatternList() []FqdnPatternMatchingRule {
if o == nil {
var ret []FqdnPatternMatchingRule
return ret
}
return o.FqdnPatternList
}
// GetFqdnPatternListOk returns a tuple with the FqdnPatternList field value
// and a boolean to check if the value has been set.
func (o *EasDeployInfoData) GetFqdnPatternListOk() ([]FqdnPatternMatchingRule, bool) {
if o == nil {
return nil, false
}
return o.FqdnPatternList, true
}
// SetFqdnPatternList sets field value
func (o *EasDeployInfoData) SetFqdnPatternList(v []FqdnPatternMatchingRule) {
o.FqdnPatternList = v
}
// GetInternalGroupId returns the InternalGroupId field value if set, zero value otherwise.
func (o *EasDeployInfoData) GetInternalGroupId() string {
if o == nil || IsNil(o.InternalGroupId) {
var ret string
return ret
}
return *o.InternalGroupId
}
// GetInternalGroupIdOk returns a tuple with the InternalGroupId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EasDeployInfoData) GetInternalGroupIdOk() (*string, bool) {
if o == nil || IsNil(o.InternalGroupId) {
return nil, false
}
return o.InternalGroupId, true
}
// HasInternalGroupId returns a boolean if a field has been set.
func (o *EasDeployInfoData) HasInternalGroupId() bool {
if o != nil && !IsNil(o.InternalGroupId) {
return true
}
return false
}
// SetInternalGroupId gets a reference to the given string and assigns it to the InternalGroupId field.
func (o *EasDeployInfoData) SetInternalGroupId(v string) {
o.InternalGroupId = &v
}
// GetSnssai returns the Snssai field value if set, zero value otherwise.
func (o *EasDeployInfoData) GetSnssai() Snssai {
if o == nil || IsNil(o.Snssai) {
var ret Snssai
return ret
}
return *o.Snssai
}
// GetSnssaiOk returns a tuple with the Snssai field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EasDeployInfoData) GetSnssaiOk() (*Snssai, bool) {
if o == nil || IsNil(o.Snssai) {
return nil, false
}
return o.Snssai, true
}
// HasSnssai returns a boolean if a field has been set.
func (o *EasDeployInfoData) HasSnssai() bool {
if o != nil && !IsNil(o.Snssai) {
return true
}
return false
}
// SetSnssai gets a reference to the given Snssai and assigns it to the Snssai field.
func (o *EasDeployInfoData) SetSnssai(v Snssai) {
o.Snssai = &v
}
func (o EasDeployInfoData) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o EasDeployInfoData) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.AppId) {
toSerialize["appId"] = o.AppId
}
if !IsNil(o.DnaiInfos) {
toSerialize["dnaiInfos"] = o.DnaiInfos
}
if !IsNil(o.Dnn) {
toSerialize["dnn"] = o.Dnn
}
toSerialize["fqdnPatternList"] = o.FqdnPatternList
if !IsNil(o.InternalGroupId) {
toSerialize["internalGroupId"] = o.InternalGroupId
}
if !IsNil(o.Snssai) {
toSerialize["snssai"] = o.Snssai
}
return toSerialize, nil
}
type NullableEasDeployInfoData struct {
value *EasDeployInfoData
isSet bool
}
func (v NullableEasDeployInfoData) Get() *EasDeployInfoData {
return v.value
}
func (v *NullableEasDeployInfoData) Set(val *EasDeployInfoData) {
v.value = val
v.isSet = true
}
func (v NullableEasDeployInfoData) IsSet() bool {
return v.isSet
}
func (v *NullableEasDeployInfoData) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableEasDeployInfoData(val *EasDeployInfoData) *NullableEasDeployInfoData {
return &NullableEasDeployInfoData{value: val, isSet: true}
}
func (v NullableEasDeployInfoData) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableEasDeployInfoData) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}