This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_ue_reg_status_update_req_data.go
295 lines (247 loc) · 9.63 KB
/
model_ue_reg_status_update_req_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
/*
Namf_Communication
AMF Communication Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.3.0-alpha.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_Namf_Communication
import (
"encoding/json"
)
// checks if the UeRegStatusUpdateReqData type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &UeRegStatusUpdateReqData{}
// UeRegStatusUpdateReqData Data within a UE registration status update request to indicate a completion of transferring at a target AMF
type UeRegStatusUpdateReqData struct {
TransferStatus UeContextTransferStatus `json:"transferStatus"`
ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty"`
PcfReselectedInd *bool `json:"pcfReselectedInd,omitempty"`
SmfChangeInfoList []SmfChangeInfo `json:"smfChangeInfoList,omitempty"`
AnalyticsNotUsedList []string `json:"analyticsNotUsedList,omitempty"`
ToReleaseSessionInfo []ReleaseSessionInfo `json:"toReleaseSessionInfo,omitempty"`
}
// NewUeRegStatusUpdateReqData instantiates a new UeRegStatusUpdateReqData 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 NewUeRegStatusUpdateReqData(transferStatus UeContextTransferStatus) *UeRegStatusUpdateReqData {
this := UeRegStatusUpdateReqData{}
this.TransferStatus = transferStatus
return &this
}
// NewUeRegStatusUpdateReqDataWithDefaults instantiates a new UeRegStatusUpdateReqData 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 NewUeRegStatusUpdateReqDataWithDefaults() *UeRegStatusUpdateReqData {
this := UeRegStatusUpdateReqData{}
return &this
}
// GetTransferStatus returns the TransferStatus field value
func (o *UeRegStatusUpdateReqData) GetTransferStatus() UeContextTransferStatus {
if o == nil {
var ret UeContextTransferStatus
return ret
}
return o.TransferStatus
}
// GetTransferStatusOk returns a tuple with the TransferStatus field value
// and a boolean to check if the value has been set.
func (o *UeRegStatusUpdateReqData) GetTransferStatusOk() (*UeContextTransferStatus, bool) {
if o == nil {
return nil, false
}
return &o.TransferStatus, true
}
// SetTransferStatus sets field value
func (o *UeRegStatusUpdateReqData) SetTransferStatus(v UeContextTransferStatus) {
o.TransferStatus = v
}
// GetToReleaseSessionList returns the ToReleaseSessionList field value if set, zero value otherwise.
func (o *UeRegStatusUpdateReqData) GetToReleaseSessionList() []int32 {
if o == nil || IsNil(o.ToReleaseSessionList) {
var ret []int32
return ret
}
return o.ToReleaseSessionList
}
// GetToReleaseSessionListOk returns a tuple with the ToReleaseSessionList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UeRegStatusUpdateReqData) GetToReleaseSessionListOk() ([]int32, bool) {
if o == nil || IsNil(o.ToReleaseSessionList) {
return nil, false
}
return o.ToReleaseSessionList, true
}
// HasToReleaseSessionList returns a boolean if a field has been set.
func (o *UeRegStatusUpdateReqData) HasToReleaseSessionList() bool {
if o != nil && !IsNil(o.ToReleaseSessionList) {
return true
}
return false
}
// SetToReleaseSessionList gets a reference to the given []int32 and assigns it to the ToReleaseSessionList field.
func (o *UeRegStatusUpdateReqData) SetToReleaseSessionList(v []int32) {
o.ToReleaseSessionList = v
}
// GetPcfReselectedInd returns the PcfReselectedInd field value if set, zero value otherwise.
func (o *UeRegStatusUpdateReqData) GetPcfReselectedInd() bool {
if o == nil || IsNil(o.PcfReselectedInd) {
var ret bool
return ret
}
return *o.PcfReselectedInd
}
// GetPcfReselectedIndOk returns a tuple with the PcfReselectedInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UeRegStatusUpdateReqData) GetPcfReselectedIndOk() (*bool, bool) {
if o == nil || IsNil(o.PcfReselectedInd) {
return nil, false
}
return o.PcfReselectedInd, true
}
// HasPcfReselectedInd returns a boolean if a field has been set.
func (o *UeRegStatusUpdateReqData) HasPcfReselectedInd() bool {
if o != nil && !IsNil(o.PcfReselectedInd) {
return true
}
return false
}
// SetPcfReselectedInd gets a reference to the given bool and assigns it to the PcfReselectedInd field.
func (o *UeRegStatusUpdateReqData) SetPcfReselectedInd(v bool) {
o.PcfReselectedInd = &v
}
// GetSmfChangeInfoList returns the SmfChangeInfoList field value if set, zero value otherwise.
func (o *UeRegStatusUpdateReqData) GetSmfChangeInfoList() []SmfChangeInfo {
if o == nil || IsNil(o.SmfChangeInfoList) {
var ret []SmfChangeInfo
return ret
}
return o.SmfChangeInfoList
}
// GetSmfChangeInfoListOk returns a tuple with the SmfChangeInfoList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UeRegStatusUpdateReqData) GetSmfChangeInfoListOk() ([]SmfChangeInfo, bool) {
if o == nil || IsNil(o.SmfChangeInfoList) {
return nil, false
}
return o.SmfChangeInfoList, true
}
// HasSmfChangeInfoList returns a boolean if a field has been set.
func (o *UeRegStatusUpdateReqData) HasSmfChangeInfoList() bool {
if o != nil && !IsNil(o.SmfChangeInfoList) {
return true
}
return false
}
// SetSmfChangeInfoList gets a reference to the given []SmfChangeInfo and assigns it to the SmfChangeInfoList field.
func (o *UeRegStatusUpdateReqData) SetSmfChangeInfoList(v []SmfChangeInfo) {
o.SmfChangeInfoList = v
}
// GetAnalyticsNotUsedList returns the AnalyticsNotUsedList field value if set, zero value otherwise.
func (o *UeRegStatusUpdateReqData) GetAnalyticsNotUsedList() []string {
if o == nil || IsNil(o.AnalyticsNotUsedList) {
var ret []string
return ret
}
return o.AnalyticsNotUsedList
}
// GetAnalyticsNotUsedListOk returns a tuple with the AnalyticsNotUsedList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UeRegStatusUpdateReqData) GetAnalyticsNotUsedListOk() ([]string, bool) {
if o == nil || IsNil(o.AnalyticsNotUsedList) {
return nil, false
}
return o.AnalyticsNotUsedList, true
}
// HasAnalyticsNotUsedList returns a boolean if a field has been set.
func (o *UeRegStatusUpdateReqData) HasAnalyticsNotUsedList() bool {
if o != nil && !IsNil(o.AnalyticsNotUsedList) {
return true
}
return false
}
// SetAnalyticsNotUsedList gets a reference to the given []string and assigns it to the AnalyticsNotUsedList field.
func (o *UeRegStatusUpdateReqData) SetAnalyticsNotUsedList(v []string) {
o.AnalyticsNotUsedList = v
}
// GetToReleaseSessionInfo returns the ToReleaseSessionInfo field value if set, zero value otherwise.
func (o *UeRegStatusUpdateReqData) GetToReleaseSessionInfo() []ReleaseSessionInfo {
if o == nil || IsNil(o.ToReleaseSessionInfo) {
var ret []ReleaseSessionInfo
return ret
}
return o.ToReleaseSessionInfo
}
// GetToReleaseSessionInfoOk returns a tuple with the ToReleaseSessionInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UeRegStatusUpdateReqData) GetToReleaseSessionInfoOk() ([]ReleaseSessionInfo, bool) {
if o == nil || IsNil(o.ToReleaseSessionInfo) {
return nil, false
}
return o.ToReleaseSessionInfo, true
}
// HasToReleaseSessionInfo returns a boolean if a field has been set.
func (o *UeRegStatusUpdateReqData) HasToReleaseSessionInfo() bool {
if o != nil && !IsNil(o.ToReleaseSessionInfo) {
return true
}
return false
}
// SetToReleaseSessionInfo gets a reference to the given []ReleaseSessionInfo and assigns it to the ToReleaseSessionInfo field.
func (o *UeRegStatusUpdateReqData) SetToReleaseSessionInfo(v []ReleaseSessionInfo) {
o.ToReleaseSessionInfo = v
}
func (o UeRegStatusUpdateReqData) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o UeRegStatusUpdateReqData) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["transferStatus"] = o.TransferStatus
if !IsNil(o.ToReleaseSessionList) {
toSerialize["toReleaseSessionList"] = o.ToReleaseSessionList
}
if !IsNil(o.PcfReselectedInd) {
toSerialize["pcfReselectedInd"] = o.PcfReselectedInd
}
if !IsNil(o.SmfChangeInfoList) {
toSerialize["smfChangeInfoList"] = o.SmfChangeInfoList
}
if !IsNil(o.AnalyticsNotUsedList) {
toSerialize["analyticsNotUsedList"] = o.AnalyticsNotUsedList
}
if !IsNil(o.ToReleaseSessionInfo) {
toSerialize["toReleaseSessionInfo"] = o.ToReleaseSessionInfo
}
return toSerialize, nil
}
type NullableUeRegStatusUpdateReqData struct {
value *UeRegStatusUpdateReqData
isSet bool
}
func (v NullableUeRegStatusUpdateReqData) Get() *UeRegStatusUpdateReqData {
return v.value
}
func (v *NullableUeRegStatusUpdateReqData) Set(val *UeRegStatusUpdateReqData) {
v.value = val
v.isSet = true
}
func (v NullableUeRegStatusUpdateReqData) IsSet() bool {
return v.isSet
}
func (v *NullableUeRegStatusUpdateReqData) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableUeRegStatusUpdateReqData(val *UeRegStatusUpdateReqData) *NullableUeRegStatusUpdateReqData {
return &NullableUeRegStatusUpdateReqData{value: val, isSet: true}
}
func (v NullableUeRegStatusUpdateReqData) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableUeRegStatusUpdateReqData) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}