1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Text . Json ;
4+ using System . Text . Json . Serialization ;
5+ using System . Globalization ;
6+
7+ namespace MSTestX . Console . DeviceCtl
8+ {
9+ public partial class DeviceDetails
10+ {
11+ [ JsonPropertyName ( "info" ) ]
12+ public Info Info { get ; set ; }
13+
14+ [ JsonPropertyName ( "result" ) ]
15+ public Result Result { get ; set ; }
16+ }
17+
18+ public partial class Info
19+ {
20+ [ JsonPropertyName ( "arguments" ) ]
21+ public string [ ] Arguments { get ; set ; }
22+
23+ [ JsonPropertyName ( "commandType" ) ]
24+ public string CommandType { get ; set ; }
25+
26+ [ JsonPropertyName ( "environment" ) ]
27+ public Environment Environment { get ; set ; }
28+
29+ [ JsonPropertyName ( "jsonVersion" ) ]
30+ public long JsonVersion { get ; set ; }
31+
32+ [ JsonPropertyName ( "outcome" ) ]
33+ public string Outcome { get ; set ; }
34+
35+ [ JsonPropertyName ( "version" ) ]
36+ public string Version { get ; set ; }
37+ }
38+
39+ public partial class Environment
40+ {
41+ [ JsonPropertyName ( "TERM" ) ]
42+ public string Term { get ; set ; }
43+ }
44+
45+ public partial class Result
46+ {
47+ [ JsonPropertyName ( "capabilities" ) ]
48+ public Capability [ ] Capabilities { get ; set ; }
49+
50+ [ JsonPropertyName ( "connectionProperties" ) ]
51+ public ConnectionProperties ConnectionProperties { get ; set ; }
52+
53+ [ JsonPropertyName ( "deviceProperties" ) ]
54+ public DeviceProperties DeviceProperties { get ; set ; }
55+
56+ [ JsonPropertyName ( "hardwareProperties" ) ]
57+ public HardwareProperties HardwareProperties { get ; set ; }
58+
59+ [ JsonPropertyName ( "identifier" ) ]
60+ public string Identifier { get ; set ; }
61+
62+ [ JsonPropertyName ( "tags" ) ]
63+ public object [ ] Tags { get ; set ; }
64+
65+ [ JsonPropertyName ( "visibilityClass" ) ]
66+ public string VisibilityClass { get ; set ; }
67+ }
68+
69+ public partial class Capability
70+ {
71+ [ JsonPropertyName ( "featureIdentifier" ) ]
72+ public string FeatureIdentifier { get ; set ; }
73+
74+ [ JsonPropertyName ( "name" ) ]
75+ public string Name { get ; set ; }
76+ }
77+
78+ public partial class ConnectionProperties
79+ {
80+ [ JsonPropertyName ( "authenticationType" ) ]
81+ public string AuthenticationType { get ; set ; }
82+
83+ [ JsonPropertyName ( "isMobileDeviceOnly" ) ]
84+ public bool IsMobileDeviceOnly { get ; set ; }
85+
86+ [ JsonPropertyName ( "lastConnectionDate" ) ]
87+ public DateTimeOffset LastConnectionDate { get ; set ; }
88+
89+ [ JsonPropertyName ( "localHostnames" ) ]
90+ public string [ ] LocalHostnames { get ; set ; }
91+
92+ [ JsonPropertyName ( "pairingState" ) ]
93+ public string PairingState { get ; set ; }
94+
95+ [ JsonPropertyName ( "potentialHostnames" ) ]
96+ public string [ ] PotentialHostnames { get ; set ; }
97+
98+ [ JsonPropertyName ( "transportType" ) ]
99+ public string TransportType { get ; set ; }
100+
101+ [ JsonPropertyName ( "tunnelIPAddress" ) ]
102+ public string TunnelIpAddress { get ; set ; }
103+
104+ [ JsonPropertyName ( "tunnelState" ) ]
105+ public string TunnelState { get ; set ; }
106+
107+ [ JsonPropertyName ( "tunnelTransportProtocol" ) ]
108+ public string TunnelTransportProtocol { get ; set ; }
109+ }
110+
111+ public partial class DeviceProperties
112+ {
113+ [ JsonPropertyName ( "bootState" ) ]
114+ public string BootState { get ; set ; }
115+
116+ [ JsonPropertyName ( "bootedFromSnapshot" ) ]
117+ public bool BootedFromSnapshot { get ; set ; }
118+
119+ [ JsonPropertyName ( "bootedSnapshotName" ) ]
120+ public string BootedSnapshotName { get ; set ; }
121+
122+ [ JsonPropertyName ( "ddiServicesAvailable" ) ]
123+ public bool DdiServicesAvailable { get ; set ; }
124+
125+ [ JsonPropertyName ( "developerModeStatus" ) ]
126+ public string DeveloperModeStatus { get ; set ; }
127+
128+ [ JsonPropertyName ( "hasInternalOSBuild" ) ]
129+ public bool HasInternalOsBuild { get ; set ; }
130+
131+ [ JsonPropertyName ( "name" ) ]
132+ public string Name { get ; set ; }
133+
134+ [ JsonPropertyName ( "osBuildUpdate" ) ]
135+ public string OsBuildUpdate { get ; set ; }
136+
137+ [ JsonPropertyName ( "osVersionNumber" ) ]
138+ public string OsVersionNumber { get ; set ; }
139+
140+ [ JsonPropertyName ( "rootFileSystemIsWritable" ) ]
141+ public bool RootFileSystemIsWritable { get ; set ; }
142+
143+ [ JsonPropertyName ( "screenViewingURL" ) ]
144+ public string ScreenViewingUrl { get ; set ; }
145+ }
146+
147+ public partial class HardwareProperties
148+ {
149+ [ JsonPropertyName ( "cpuType" ) ]
150+ public CpuType CpuType { get ; set ; }
151+
152+ [ JsonPropertyName ( "deviceType" ) ]
153+ public string DeviceType { get ; set ; }
154+
155+ [ JsonPropertyName ( "ecid" ) ]
156+ public long Ecid { get ; set ; }
157+
158+ [ JsonPropertyName ( "hardwareModel" ) ]
159+ public string HardwareModel { get ; set ; }
160+
161+ [ JsonPropertyName ( "internalStorageCapacity" ) ]
162+ public long InternalStorageCapacity { get ; set ; }
163+
164+ [ JsonPropertyName ( "isProductionFused" ) ]
165+ public bool IsProductionFused { get ; set ; }
166+
167+ [ JsonPropertyName ( "marketingName" ) ]
168+ public string MarketingName { get ; set ; }
169+
170+ [ JsonPropertyName ( "platform" ) ]
171+ public string Platform { get ; set ; }
172+
173+ [ JsonPropertyName ( "productType" ) ]
174+ public string ProductType { get ; set ; }
175+
176+ [ JsonPropertyName ( "reality" ) ]
177+ public string Reality { get ; set ; }
178+
179+ [ JsonPropertyName ( "serialNumber" ) ]
180+ public string SerialNumber { get ; set ; }
181+
182+ [ JsonPropertyName ( "supportedCPUTypes" ) ]
183+ public CpuType [ ] SupportedCpuTypes { get ; set ; }
184+
185+ [ JsonPropertyName ( "supportedDeviceFamilies" ) ]
186+ public long [ ] SupportedDeviceFamilies { get ; set ; }
187+
188+ [ JsonPropertyName ( "thinningProductType" ) ]
189+ public string ThinningProductType { get ; set ; }
190+
191+ [ JsonPropertyName ( "udid" ) ]
192+ public string Udid { get ; set ; }
193+ }
194+
195+ public partial class CpuType
196+ {
197+ [ JsonPropertyName ( "name" ) ]
198+ public string Name { get ; set ; }
199+
200+ [ JsonPropertyName ( "subType" ) ]
201+ public long SubType { get ; set ; }
202+
203+ [ JsonPropertyName ( "type" ) ]
204+ public long Type { get ; set ; }
205+ }
206+ }
0 commit comments