-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
UEInfo5G.cs
186 lines (178 loc) · 10.7 KB
/
UEInfo5G.cs
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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.ResourceManager.MobileNetwork.Models
{
/// <summary> UE Information for 5G. </summary>
public partial class UEInfo5G : ExtendedUEInfoProperties
{
/// <summary> Initializes a new instance of <see cref="UEInfo5G"/>. </summary>
/// <param name="supi"> Subscription Permanent Identifier. </param>
/// <param name="fivegTmsi"> 5G Temporary Mobile Subscriber Identity. </param>
/// <param name="regionId"> AMF region identifier. </param>
/// <param name="setId"> AMF set identifier. </param>
/// <param name="pointer"> AMF pointer. </param>
/// <param name="mccInfoFivegGutiPlmnMcc"> Mobile country code (MCC). </param>
/// <param name="mncInfoFivegGutiPlmnMnc"> Mobile network code (MNC). </param>
/// <exception cref="ArgumentNullException"> <paramref name="supi"/>, <paramref name="mccInfoFivegGutiPlmnMcc"/> or <paramref name="mncInfoFivegGutiPlmnMnc"/> is null. </exception>
public UEInfo5G(string supi, int fivegTmsi, int regionId, int setId, int pointer, string mccInfoFivegGutiPlmnMcc, string mncInfoFivegGutiPlmnMnc)
{
Argument.AssertNotNull(supi, nameof(supi));
Argument.AssertNotNull(mccInfoFivegGutiPlmnMcc, nameof(mccInfoFivegGutiPlmnMcc));
Argument.AssertNotNull(mncInfoFivegGutiPlmnMnc, nameof(mncInfoFivegGutiPlmnMnc));
Supi = supi;
SessionInfo = new ChangeTrackingList<UESessionInfo5G>();
AllowedNssai = new ChangeTrackingList<Snssai>();
FivegTmsi = fivegTmsi;
RegionId = regionId;
SetId = setId;
Pointer = pointer;
MccInfoFivegGutiPlmnMcc = mccInfoFivegGutiPlmnMcc;
MncInfoFivegGutiPlmnMnc = mncInfoFivegGutiPlmnMnc;
RatType = RatType.FiveG;
}
/// <summary> Initializes a new instance of <see cref="UEInfo5G"/>. </summary>
/// <param name="ratType"> RAT Type. </param>
/// <param name="lastReadOn"> The timestamp of last UE info read from the packet core (UTC). </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="supi"> Subscription Permanent Identifier. </param>
/// <param name="pei"> Permanent Equipment Identifier. </param>
/// <param name="sessionInfo"></param>
/// <param name="perUETnla"> Per-UE transport network layer association. </param>
/// <param name="amfUENgapId"> The AMF UE NGAP ID. </param>
/// <param name="ranUENgapId"> The RAN UE NGAP ID. </param>
/// <param name="lastVisitedTai"> Last Visited TAI. </param>
/// <param name="allowedNssai"> Allowed Network Slice Selection Assistance Information. </param>
/// <param name="ueState"> State of the UE. </param>
/// <param name="rrcEstablishmentCause"> Radio connection establishment cause. </param>
/// <param name="ueUsageSetting"> The UE's usage setting. </param>
/// <param name="lastActivityOn"> The timestamp of last activity of UE (UTC). </param>
/// <param name="ngeNbId"> NG-eNodeB identifier. </param>
/// <param name="eNbId"> eNodeB identifier. </param>
/// <param name="n3IwfId"> N3 IWF identifier. </param>
/// <param name="wagfId"> W-AGF identifier. </param>
/// <param name="tngfId"> TNGF identifier. </param>
/// <param name="nid"> Network identifier. </param>
/// <param name="bitLength"></param>
/// <param name="gnbValue"></param>
/// <param name="mccInfoConnectionInfoGlobalRanNodeIdPlmnIdMcc"> Mobile country code (MCC). </param>
/// <param name="mncInfoConnectionInfoGlobalRanNodeIdPlmnIdMnc"> Mobile network code (MNC). </param>
/// <param name="locationType"> Location Type. </param>
/// <param name="tac"> Type Allocation Code of UE. </param>
/// <param name="mccInfoConnectionInfoLocationInfoPlmnMcc"> Mobile country code (MCC). </param>
/// <param name="mncInfoConnectionInfoLocationInfoPlmnMnc"> Mobile network code (MNC). </param>
/// <param name="fivegTmsi"> 5G Temporary Mobile Subscriber Identity. </param>
/// <param name="regionId"> AMF region identifier. </param>
/// <param name="setId"> AMF set identifier. </param>
/// <param name="pointer"> AMF pointer. </param>
/// <param name="mccInfoFivegGutiPlmnMcc"> Mobile country code (MCC). </param>
/// <param name="mncInfoFivegGutiPlmnMnc"> Mobile network code (MNC). </param>
internal UEInfo5G(RatType ratType, DateTimeOffset? lastReadOn, IDictionary<string, BinaryData> serializedAdditionalRawData, string supi, string pei, IList<UESessionInfo5G> sessionInfo, string perUETnla, long? amfUENgapId, int? ranUENgapId, string lastVisitedTai, IList<Snssai> allowedNssai, UEState? ueState, RrcEstablishmentCause? rrcEstablishmentCause, UEUsageSetting? ueUsageSetting, DateTimeOffset? lastActivityOn, string ngeNbId, string eNbId, string n3IwfId, string wagfId, string tngfId, string nid, int? bitLength, string gnbValue, string mccInfoConnectionInfoGlobalRanNodeIdPlmnIdMcc, string mncInfoConnectionInfoGlobalRanNodeIdPlmnIdMnc, string locationType, string tac, string mccInfoConnectionInfoLocationInfoPlmnMcc, string mncInfoConnectionInfoLocationInfoPlmnMnc, int fivegTmsi, int regionId, int setId, int pointer, string mccInfoFivegGutiPlmnMcc, string mncInfoFivegGutiPlmnMnc) : base(ratType, lastReadOn, serializedAdditionalRawData)
{
Supi = supi;
Pei = pei;
SessionInfo = sessionInfo;
PerUETnla = perUETnla;
AmfUENgapId = amfUENgapId;
RanUENgapId = ranUENgapId;
LastVisitedTai = lastVisitedTai;
AllowedNssai = allowedNssai;
UEState = ueState;
RrcEstablishmentCause = rrcEstablishmentCause;
UEUsageSetting = ueUsageSetting;
LastActivityOn = lastActivityOn;
NgeNbId = ngeNbId;
ENbId = eNbId;
N3IwfId = n3IwfId;
WagfId = wagfId;
TngfId = tngfId;
Nid = nid;
BitLength = bitLength;
GNBValue = gnbValue;
MccInfoConnectionInfoGlobalRanNodeIdPlmnIdMcc = mccInfoConnectionInfoGlobalRanNodeIdPlmnIdMcc;
MncInfoConnectionInfoGlobalRanNodeIdPlmnIdMnc = mncInfoConnectionInfoGlobalRanNodeIdPlmnIdMnc;
LocationType = locationType;
Tac = tac;
MccInfoConnectionInfoLocationInfoPlmnMcc = mccInfoConnectionInfoLocationInfoPlmnMcc;
MncInfoConnectionInfoLocationInfoPlmnMnc = mncInfoConnectionInfoLocationInfoPlmnMnc;
FivegTmsi = fivegTmsi;
RegionId = regionId;
SetId = setId;
Pointer = pointer;
MccInfoFivegGutiPlmnMcc = mccInfoFivegGutiPlmnMcc;
MncInfoFivegGutiPlmnMnc = mncInfoFivegGutiPlmnMnc;
RatType = ratType;
}
/// <summary> Initializes a new instance of <see cref="UEInfo5G"/> for deserialization. </summary>
internal UEInfo5G()
{
}
/// <summary> Subscription Permanent Identifier. </summary>
public string Supi { get; set; }
/// <summary> Permanent Equipment Identifier. </summary>
public string Pei { get; set; }
/// <summary> Gets the session info. </summary>
public IList<UESessionInfo5G> SessionInfo { get; }
/// <summary> Per-UE transport network layer association. </summary>
public string PerUETnla { get; set; }
/// <summary> The AMF UE NGAP ID. </summary>
public long? AmfUENgapId { get; set; }
/// <summary> The RAN UE NGAP ID. </summary>
public int? RanUENgapId { get; set; }
/// <summary> Last Visited TAI. </summary>
public string LastVisitedTai { get; set; }
/// <summary> Allowed Network Slice Selection Assistance Information. </summary>
public IList<Snssai> AllowedNssai { get; }
/// <summary> State of the UE. </summary>
public UEState? UEState { get; set; }
/// <summary> Radio connection establishment cause. </summary>
public RrcEstablishmentCause? RrcEstablishmentCause { get; set; }
/// <summary> The UE's usage setting. </summary>
public UEUsageSetting? UEUsageSetting { get; set; }
/// <summary> The timestamp of last activity of UE (UTC). </summary>
public DateTimeOffset? LastActivityOn { get; set; }
/// <summary> NG-eNodeB identifier. </summary>
public string NgeNbId { get; set; }
/// <summary> eNodeB identifier. </summary>
public string ENbId { get; set; }
/// <summary> N3 IWF identifier. </summary>
public string N3IwfId { get; set; }
/// <summary> W-AGF identifier. </summary>
public string WagfId { get; set; }
/// <summary> TNGF identifier. </summary>
public string TngfId { get; set; }
/// <summary> Network identifier. </summary>
public string Nid { get; set; }
/// <summary> Gets or sets the bit length. </summary>
public int? BitLength { get; set; }
/// <summary> Gets or sets the gnb value. </summary>
public string GNBValue { get; set; }
/// <summary> Mobile country code (MCC). </summary>
public string MccInfoConnectionInfoGlobalRanNodeIdPlmnIdMcc { get; set; }
/// <summary> Mobile network code (MNC). </summary>
public string MncInfoConnectionInfoGlobalRanNodeIdPlmnIdMnc { get; set; }
/// <summary> Location Type. </summary>
public string LocationType { get; set; }
/// <summary> Type Allocation Code of UE. </summary>
public string Tac { get; set; }
/// <summary> Mobile country code (MCC). </summary>
public string MccInfoConnectionInfoLocationInfoPlmnMcc { get; set; }
/// <summary> Mobile network code (MNC). </summary>
public string MncInfoConnectionInfoLocationInfoPlmnMnc { get; set; }
/// <summary> 5G Temporary Mobile Subscriber Identity. </summary>
public int FivegTmsi { get; set; }
/// <summary> AMF region identifier. </summary>
public int RegionId { get; set; }
/// <summary> AMF set identifier. </summary>
public int SetId { get; set; }
/// <summary> AMF pointer. </summary>
public int Pointer { get; set; }
/// <summary> Mobile country code (MCC). </summary>
public string MccInfoFivegGutiPlmnMcc { get; set; }
/// <summary> Mobile network code (MNC). </summary>
public string MncInfoFivegGutiPlmnMnc { get; set; }
}
}