Skip to content

Commit 53cb014

Browse files
stainless-app[bot]stainless-bot
authored andcommittedNov 8, 2024·
feat(api): api update (#3586)
1 parent 6cb49f2 commit 53cb014

File tree

2 files changed

+471
-13
lines changed

2 files changed

+471
-13
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1397
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-1504fe697d2d7335627a605468544df46a79e9a8b355f91527556e6d25cf0f7a.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-fdc4c12c67e44c102592f1752f1dd2464f9e270da9b4f5826af59f69c70760b3.yml

‎zero_trust/dexfleetstatusdevice.go

+470-12
Original file line numberDiff line numberDiff line change
@@ -68,38 +68,496 @@ type DEXFleetStatusDeviceListResponse struct {
6868
Colo string `json:"colo,required"`
6969
// Device identifier (UUID v4)
7070
DeviceID string `json:"deviceId,required"`
71+
// The mode under which the WARP client is run
72+
Mode string `json:"mode,required"`
7173
// Operating system
7274
Platform string `json:"platform,required"`
7375
// Network status
7476
Status string `json:"status,required"`
77+
// Timestamp in ISO format
78+
Timestamp string `json:"timestamp,required"`
7579
// WARP client version
76-
Version string `json:"version,required"`
80+
Version string `json:"version,required"`
81+
AlwaysOn bool `json:"alwaysOn,nullable"`
82+
BatteryCharging bool `json:"batteryCharging,nullable"`
83+
BatteryCycles int64 `json:"batteryCycles,nullable"`
84+
BatteryPct float64 `json:"batteryPct,nullable"`
85+
ConnectionType string `json:"connectionType,nullable"`
86+
CPUPct float64 `json:"cpuPct,nullable"`
87+
CPUPctByApp [][]DEXFleetStatusDeviceListResponseCPUPctByApp `json:"cpuPctByApp,nullable"`
88+
DeviceIPV4 DEXFleetStatusDeviceListResponseDeviceIPV4 `json:"deviceIpv4"`
89+
DeviceIPV6 DEXFleetStatusDeviceListResponseDeviceIPV6 `json:"deviceIpv6"`
7790
// Device identifier (human readable)
78-
DeviceName string `json:"deviceName"`
91+
DeviceName string `json:"deviceName"`
92+
DiskReadBps int64 `json:"diskReadBps,nullable"`
93+
DiskUsagePct float64 `json:"diskUsagePct,nullable"`
94+
DiskWriteBps int64 `json:"diskWriteBps,nullable"`
95+
DOHSubdomain string `json:"dohSubdomain,nullable"`
96+
EstimatedLossPct float64 `json:"estimatedLossPct,nullable"`
97+
FirewallEnabled bool `json:"firewallEnabled,nullable"`
98+
GatewayIPV4 DEXFleetStatusDeviceListResponseGatewayIPV4 `json:"gatewayIpv4"`
99+
GatewayIPV6 DEXFleetStatusDeviceListResponseGatewayIPV6 `json:"gatewayIpv6"`
100+
HandshakeLatencyMs float64 `json:"handshakeLatencyMs,nullable"`
101+
ISPIPV4 DEXFleetStatusDeviceListResponseISPIPV4 `json:"ispIpv4"`
102+
ISPIPV6 DEXFleetStatusDeviceListResponseISPIPV6 `json:"ispIpv6"`
103+
Metal string `json:"metal,nullable"`
104+
NetworkRcvdBps int64 `json:"networkRcvdBps,nullable"`
105+
NetworkSentBps int64 `json:"networkSentBps,nullable"`
106+
NetworkSsid string `json:"networkSsid,nullable"`
79107
// User contact email address
80-
PersonEmail string `json:"personEmail"`
81-
JSON dexFleetStatusDeviceListResponseJSON `json:"-"`
108+
PersonEmail string `json:"personEmail"`
109+
RamAvailableKB int64 `json:"ramAvailableKb,nullable"`
110+
RamUsedPct float64 `json:"ramUsedPct,nullable"`
111+
RamUsedPctByApp [][]DEXFleetStatusDeviceListResponseRamUsedPctByApp `json:"ramUsedPctByApp,nullable"`
112+
SwitchLocked bool `json:"switchLocked,nullable"`
113+
WifiStrengthDbm int64 `json:"wifiStrengthDbm,nullable"`
114+
JSON dexFleetStatusDeviceListResponseJSON `json:"-"`
82115
}
83116

84117
// dexFleetStatusDeviceListResponseJSON contains the JSON metadata for the struct
85118
// [DEXFleetStatusDeviceListResponse]
86119
type dexFleetStatusDeviceListResponseJSON struct {
87-
Colo apijson.Field
88-
DeviceID apijson.Field
89-
Platform apijson.Field
90-
Status apijson.Field
120+
Colo apijson.Field
121+
DeviceID apijson.Field
122+
Mode apijson.Field
123+
Platform apijson.Field
124+
Status apijson.Field
125+
Timestamp apijson.Field
126+
Version apijson.Field
127+
AlwaysOn apijson.Field
128+
BatteryCharging apijson.Field
129+
BatteryCycles apijson.Field
130+
BatteryPct apijson.Field
131+
ConnectionType apijson.Field
132+
CPUPct apijson.Field
133+
CPUPctByApp apijson.Field
134+
DeviceIPV4 apijson.Field
135+
DeviceIPV6 apijson.Field
136+
DeviceName apijson.Field
137+
DiskReadBps apijson.Field
138+
DiskUsagePct apijson.Field
139+
DiskWriteBps apijson.Field
140+
DOHSubdomain apijson.Field
141+
EstimatedLossPct apijson.Field
142+
FirewallEnabled apijson.Field
143+
GatewayIPV4 apijson.Field
144+
GatewayIPV6 apijson.Field
145+
HandshakeLatencyMs apijson.Field
146+
ISPIPV4 apijson.Field
147+
ISPIPV6 apijson.Field
148+
Metal apijson.Field
149+
NetworkRcvdBps apijson.Field
150+
NetworkSentBps apijson.Field
151+
NetworkSsid apijson.Field
152+
PersonEmail apijson.Field
153+
RamAvailableKB apijson.Field
154+
RamUsedPct apijson.Field
155+
RamUsedPctByApp apijson.Field
156+
SwitchLocked apijson.Field
157+
WifiStrengthDbm apijson.Field
158+
raw string
159+
ExtraFields map[string]apijson.Field
160+
}
161+
162+
func (r *DEXFleetStatusDeviceListResponse) UnmarshalJSON(data []byte) (err error) {
163+
return apijson.UnmarshalRoot(data, r)
164+
}
165+
166+
func (r dexFleetStatusDeviceListResponseJSON) RawJSON() string {
167+
return r.raw
168+
}
169+
170+
type DEXFleetStatusDeviceListResponseCPUPctByApp struct {
171+
CPUPct float64 `json:"cpu_pct"`
172+
Name string `json:"name"`
173+
JSON dexFleetStatusDeviceListResponseCPUPctByAppJSON `json:"-"`
174+
}
175+
176+
// dexFleetStatusDeviceListResponseCPUPctByAppJSON contains the JSON metadata for
177+
// the struct [DEXFleetStatusDeviceListResponseCPUPctByApp]
178+
type dexFleetStatusDeviceListResponseCPUPctByAppJSON struct {
179+
CPUPct apijson.Field
180+
Name apijson.Field
181+
raw string
182+
ExtraFields map[string]apijson.Field
183+
}
184+
185+
func (r *DEXFleetStatusDeviceListResponseCPUPctByApp) UnmarshalJSON(data []byte) (err error) {
186+
return apijson.UnmarshalRoot(data, r)
187+
}
188+
189+
func (r dexFleetStatusDeviceListResponseCPUPctByAppJSON) RawJSON() string {
190+
return r.raw
191+
}
192+
193+
type DEXFleetStatusDeviceListResponseDeviceIPV4 struct {
194+
Address string `json:"address,nullable"`
195+
ASN int64 `json:"asn,nullable"`
196+
Aso string `json:"aso,nullable"`
197+
Location DEXFleetStatusDeviceListResponseDeviceIPV4Location `json:"location"`
198+
Netmask string `json:"netmask,nullable"`
199+
Version string `json:"version,nullable"`
200+
JSON dexFleetStatusDeviceListResponseDeviceIPV4JSON `json:"-"`
201+
}
202+
203+
// dexFleetStatusDeviceListResponseDeviceIPV4JSON contains the JSON metadata for
204+
// the struct [DEXFleetStatusDeviceListResponseDeviceIPV4]
205+
type dexFleetStatusDeviceListResponseDeviceIPV4JSON struct {
206+
Address apijson.Field
207+
ASN apijson.Field
208+
Aso apijson.Field
209+
Location apijson.Field
210+
Netmask apijson.Field
91211
Version apijson.Field
92-
DeviceName apijson.Field
93-
PersonEmail apijson.Field
94212
raw string
95213
ExtraFields map[string]apijson.Field
96214
}
97215

98-
func (r *DEXFleetStatusDeviceListResponse) UnmarshalJSON(data []byte) (err error) {
216+
func (r *DEXFleetStatusDeviceListResponseDeviceIPV4) UnmarshalJSON(data []byte) (err error) {
99217
return apijson.UnmarshalRoot(data, r)
100218
}
101219

102-
func (r dexFleetStatusDeviceListResponseJSON) RawJSON() string {
220+
func (r dexFleetStatusDeviceListResponseDeviceIPV4JSON) RawJSON() string {
221+
return r.raw
222+
}
223+
224+
type DEXFleetStatusDeviceListResponseDeviceIPV4Location struct {
225+
City string `json:"city,nullable"`
226+
CountryISO string `json:"country_iso,nullable"`
227+
StateISO string `json:"state_iso,nullable"`
228+
Zip string `json:"zip,nullable"`
229+
JSON dexFleetStatusDeviceListResponseDeviceIPV4LocationJSON `json:"-"`
230+
}
231+
232+
// dexFleetStatusDeviceListResponseDeviceIPV4LocationJSON contains the JSON
233+
// metadata for the struct [DEXFleetStatusDeviceListResponseDeviceIPV4Location]
234+
type dexFleetStatusDeviceListResponseDeviceIPV4LocationJSON struct {
235+
City apijson.Field
236+
CountryISO apijson.Field
237+
StateISO apijson.Field
238+
Zip apijson.Field
239+
raw string
240+
ExtraFields map[string]apijson.Field
241+
}
242+
243+
func (r *DEXFleetStatusDeviceListResponseDeviceIPV4Location) UnmarshalJSON(data []byte) (err error) {
244+
return apijson.UnmarshalRoot(data, r)
245+
}
246+
247+
func (r dexFleetStatusDeviceListResponseDeviceIPV4LocationJSON) RawJSON() string {
248+
return r.raw
249+
}
250+
251+
type DEXFleetStatusDeviceListResponseDeviceIPV6 struct {
252+
Address string `json:"address,nullable"`
253+
ASN int64 `json:"asn,nullable"`
254+
Aso string `json:"aso,nullable"`
255+
Location DEXFleetStatusDeviceListResponseDeviceIPV6Location `json:"location"`
256+
Netmask string `json:"netmask,nullable"`
257+
Version string `json:"version,nullable"`
258+
JSON dexFleetStatusDeviceListResponseDeviceIPV6JSON `json:"-"`
259+
}
260+
261+
// dexFleetStatusDeviceListResponseDeviceIPV6JSON contains the JSON metadata for
262+
// the struct [DEXFleetStatusDeviceListResponseDeviceIPV6]
263+
type dexFleetStatusDeviceListResponseDeviceIPV6JSON struct {
264+
Address apijson.Field
265+
ASN apijson.Field
266+
Aso apijson.Field
267+
Location apijson.Field
268+
Netmask apijson.Field
269+
Version apijson.Field
270+
raw string
271+
ExtraFields map[string]apijson.Field
272+
}
273+
274+
func (r *DEXFleetStatusDeviceListResponseDeviceIPV6) UnmarshalJSON(data []byte) (err error) {
275+
return apijson.UnmarshalRoot(data, r)
276+
}
277+
278+
func (r dexFleetStatusDeviceListResponseDeviceIPV6JSON) RawJSON() string {
279+
return r.raw
280+
}
281+
282+
type DEXFleetStatusDeviceListResponseDeviceIPV6Location struct {
283+
City string `json:"city,nullable"`
284+
CountryISO string `json:"country_iso,nullable"`
285+
StateISO string `json:"state_iso,nullable"`
286+
Zip string `json:"zip,nullable"`
287+
JSON dexFleetStatusDeviceListResponseDeviceIPV6LocationJSON `json:"-"`
288+
}
289+
290+
// dexFleetStatusDeviceListResponseDeviceIPV6LocationJSON contains the JSON
291+
// metadata for the struct [DEXFleetStatusDeviceListResponseDeviceIPV6Location]
292+
type dexFleetStatusDeviceListResponseDeviceIPV6LocationJSON struct {
293+
City apijson.Field
294+
CountryISO apijson.Field
295+
StateISO apijson.Field
296+
Zip apijson.Field
297+
raw string
298+
ExtraFields map[string]apijson.Field
299+
}
300+
301+
func (r *DEXFleetStatusDeviceListResponseDeviceIPV6Location) UnmarshalJSON(data []byte) (err error) {
302+
return apijson.UnmarshalRoot(data, r)
303+
}
304+
305+
func (r dexFleetStatusDeviceListResponseDeviceIPV6LocationJSON) RawJSON() string {
306+
return r.raw
307+
}
308+
309+
type DEXFleetStatusDeviceListResponseGatewayIPV4 struct {
310+
Address string `json:"address,nullable"`
311+
ASN int64 `json:"asn,nullable"`
312+
Aso string `json:"aso,nullable"`
313+
Location DEXFleetStatusDeviceListResponseGatewayIPV4Location `json:"location"`
314+
Netmask string `json:"netmask,nullable"`
315+
Version string `json:"version,nullable"`
316+
JSON dexFleetStatusDeviceListResponseGatewayIPV4JSON `json:"-"`
317+
}
318+
319+
// dexFleetStatusDeviceListResponseGatewayIPV4JSON contains the JSON metadata for
320+
// the struct [DEXFleetStatusDeviceListResponseGatewayIPV4]
321+
type dexFleetStatusDeviceListResponseGatewayIPV4JSON struct {
322+
Address apijson.Field
323+
ASN apijson.Field
324+
Aso apijson.Field
325+
Location apijson.Field
326+
Netmask apijson.Field
327+
Version apijson.Field
328+
raw string
329+
ExtraFields map[string]apijson.Field
330+
}
331+
332+
func (r *DEXFleetStatusDeviceListResponseGatewayIPV4) UnmarshalJSON(data []byte) (err error) {
333+
return apijson.UnmarshalRoot(data, r)
334+
}
335+
336+
func (r dexFleetStatusDeviceListResponseGatewayIPV4JSON) RawJSON() string {
337+
return r.raw
338+
}
339+
340+
type DEXFleetStatusDeviceListResponseGatewayIPV4Location struct {
341+
City string `json:"city,nullable"`
342+
CountryISO string `json:"country_iso,nullable"`
343+
StateISO string `json:"state_iso,nullable"`
344+
Zip string `json:"zip,nullable"`
345+
JSON dexFleetStatusDeviceListResponseGatewayIPV4LocationJSON `json:"-"`
346+
}
347+
348+
// dexFleetStatusDeviceListResponseGatewayIPV4LocationJSON contains the JSON
349+
// metadata for the struct [DEXFleetStatusDeviceListResponseGatewayIPV4Location]
350+
type dexFleetStatusDeviceListResponseGatewayIPV4LocationJSON struct {
351+
City apijson.Field
352+
CountryISO apijson.Field
353+
StateISO apijson.Field
354+
Zip apijson.Field
355+
raw string
356+
ExtraFields map[string]apijson.Field
357+
}
358+
359+
func (r *DEXFleetStatusDeviceListResponseGatewayIPV4Location) UnmarshalJSON(data []byte) (err error) {
360+
return apijson.UnmarshalRoot(data, r)
361+
}
362+
363+
func (r dexFleetStatusDeviceListResponseGatewayIPV4LocationJSON) RawJSON() string {
364+
return r.raw
365+
}
366+
367+
type DEXFleetStatusDeviceListResponseGatewayIPV6 struct {
368+
Address string `json:"address,nullable"`
369+
ASN int64 `json:"asn,nullable"`
370+
Aso string `json:"aso,nullable"`
371+
Location DEXFleetStatusDeviceListResponseGatewayIPV6Location `json:"location"`
372+
Netmask string `json:"netmask,nullable"`
373+
Version string `json:"version,nullable"`
374+
JSON dexFleetStatusDeviceListResponseGatewayIPV6JSON `json:"-"`
375+
}
376+
377+
// dexFleetStatusDeviceListResponseGatewayIPV6JSON contains the JSON metadata for
378+
// the struct [DEXFleetStatusDeviceListResponseGatewayIPV6]
379+
type dexFleetStatusDeviceListResponseGatewayIPV6JSON struct {
380+
Address apijson.Field
381+
ASN apijson.Field
382+
Aso apijson.Field
383+
Location apijson.Field
384+
Netmask apijson.Field
385+
Version apijson.Field
386+
raw string
387+
ExtraFields map[string]apijson.Field
388+
}
389+
390+
func (r *DEXFleetStatusDeviceListResponseGatewayIPV6) UnmarshalJSON(data []byte) (err error) {
391+
return apijson.UnmarshalRoot(data, r)
392+
}
393+
394+
func (r dexFleetStatusDeviceListResponseGatewayIPV6JSON) RawJSON() string {
395+
return r.raw
396+
}
397+
398+
type DEXFleetStatusDeviceListResponseGatewayIPV6Location struct {
399+
City string `json:"city,nullable"`
400+
CountryISO string `json:"country_iso,nullable"`
401+
StateISO string `json:"state_iso,nullable"`
402+
Zip string `json:"zip,nullable"`
403+
JSON dexFleetStatusDeviceListResponseGatewayIPV6LocationJSON `json:"-"`
404+
}
405+
406+
// dexFleetStatusDeviceListResponseGatewayIPV6LocationJSON contains the JSON
407+
// metadata for the struct [DEXFleetStatusDeviceListResponseGatewayIPV6Location]
408+
type dexFleetStatusDeviceListResponseGatewayIPV6LocationJSON struct {
409+
City apijson.Field
410+
CountryISO apijson.Field
411+
StateISO apijson.Field
412+
Zip apijson.Field
413+
raw string
414+
ExtraFields map[string]apijson.Field
415+
}
416+
417+
func (r *DEXFleetStatusDeviceListResponseGatewayIPV6Location) UnmarshalJSON(data []byte) (err error) {
418+
return apijson.UnmarshalRoot(data, r)
419+
}
420+
421+
func (r dexFleetStatusDeviceListResponseGatewayIPV6LocationJSON) RawJSON() string {
422+
return r.raw
423+
}
424+
425+
type DEXFleetStatusDeviceListResponseISPIPV4 struct {
426+
Address string `json:"address,nullable"`
427+
ASN int64 `json:"asn,nullable"`
428+
Aso string `json:"aso,nullable"`
429+
Location DEXFleetStatusDeviceListResponseISPIPV4Location `json:"location"`
430+
Netmask string `json:"netmask,nullable"`
431+
Version string `json:"version,nullable"`
432+
JSON dexFleetStatusDeviceListResponseIspipv4JSON `json:"-"`
433+
}
434+
435+
// dexFleetStatusDeviceListResponseIspipv4JSON contains the JSON metadata for the
436+
// struct [DEXFleetStatusDeviceListResponseISPIPV4]
437+
type dexFleetStatusDeviceListResponseIspipv4JSON struct {
438+
Address apijson.Field
439+
ASN apijson.Field
440+
Aso apijson.Field
441+
Location apijson.Field
442+
Netmask apijson.Field
443+
Version apijson.Field
444+
raw string
445+
ExtraFields map[string]apijson.Field
446+
}
447+
448+
func (r *DEXFleetStatusDeviceListResponseISPIPV4) UnmarshalJSON(data []byte) (err error) {
449+
return apijson.UnmarshalRoot(data, r)
450+
}
451+
452+
func (r dexFleetStatusDeviceListResponseIspipv4JSON) RawJSON() string {
453+
return r.raw
454+
}
455+
456+
type DEXFleetStatusDeviceListResponseISPIPV4Location struct {
457+
City string `json:"city,nullable"`
458+
CountryISO string `json:"country_iso,nullable"`
459+
StateISO string `json:"state_iso,nullable"`
460+
Zip string `json:"zip,nullable"`
461+
JSON dexFleetStatusDeviceListResponseIspipv4LocationJSON `json:"-"`
462+
}
463+
464+
// dexFleetStatusDeviceListResponseIspipv4LocationJSON contains the JSON metadata
465+
// for the struct [DEXFleetStatusDeviceListResponseISPIPV4Location]
466+
type dexFleetStatusDeviceListResponseIspipv4LocationJSON struct {
467+
City apijson.Field
468+
CountryISO apijson.Field
469+
StateISO apijson.Field
470+
Zip apijson.Field
471+
raw string
472+
ExtraFields map[string]apijson.Field
473+
}
474+
475+
func (r *DEXFleetStatusDeviceListResponseISPIPV4Location) UnmarshalJSON(data []byte) (err error) {
476+
return apijson.UnmarshalRoot(data, r)
477+
}
478+
479+
func (r dexFleetStatusDeviceListResponseIspipv4LocationJSON) RawJSON() string {
480+
return r.raw
481+
}
482+
483+
type DEXFleetStatusDeviceListResponseISPIPV6 struct {
484+
Address string `json:"address,nullable"`
485+
ASN int64 `json:"asn,nullable"`
486+
Aso string `json:"aso,nullable"`
487+
Location DEXFleetStatusDeviceListResponseISPIPV6Location `json:"location"`
488+
Netmask string `json:"netmask,nullable"`
489+
Version string `json:"version,nullable"`
490+
JSON dexFleetStatusDeviceListResponseIspipv6JSON `json:"-"`
491+
}
492+
493+
// dexFleetStatusDeviceListResponseIspipv6JSON contains the JSON metadata for the
494+
// struct [DEXFleetStatusDeviceListResponseISPIPV6]
495+
type dexFleetStatusDeviceListResponseIspipv6JSON struct {
496+
Address apijson.Field
497+
ASN apijson.Field
498+
Aso apijson.Field
499+
Location apijson.Field
500+
Netmask apijson.Field
501+
Version apijson.Field
502+
raw string
503+
ExtraFields map[string]apijson.Field
504+
}
505+
506+
func (r *DEXFleetStatusDeviceListResponseISPIPV6) UnmarshalJSON(data []byte) (err error) {
507+
return apijson.UnmarshalRoot(data, r)
508+
}
509+
510+
func (r dexFleetStatusDeviceListResponseIspipv6JSON) RawJSON() string {
511+
return r.raw
512+
}
513+
514+
type DEXFleetStatusDeviceListResponseISPIPV6Location struct {
515+
City string `json:"city,nullable"`
516+
CountryISO string `json:"country_iso,nullable"`
517+
StateISO string `json:"state_iso,nullable"`
518+
Zip string `json:"zip,nullable"`
519+
JSON dexFleetStatusDeviceListResponseIspipv6LocationJSON `json:"-"`
520+
}
521+
522+
// dexFleetStatusDeviceListResponseIspipv6LocationJSON contains the JSON metadata
523+
// for the struct [DEXFleetStatusDeviceListResponseISPIPV6Location]
524+
type dexFleetStatusDeviceListResponseIspipv6LocationJSON struct {
525+
City apijson.Field
526+
CountryISO apijson.Field
527+
StateISO apijson.Field
528+
Zip apijson.Field
529+
raw string
530+
ExtraFields map[string]apijson.Field
531+
}
532+
533+
func (r *DEXFleetStatusDeviceListResponseISPIPV6Location) UnmarshalJSON(data []byte) (err error) {
534+
return apijson.UnmarshalRoot(data, r)
535+
}
536+
537+
func (r dexFleetStatusDeviceListResponseIspipv6LocationJSON) RawJSON() string {
538+
return r.raw
539+
}
540+
541+
type DEXFleetStatusDeviceListResponseRamUsedPctByApp struct {
542+
Name string `json:"name"`
543+
RamUsedPct float64 `json:"ram_used_pct"`
544+
JSON dexFleetStatusDeviceListResponseRamUsedPctByAppJSON `json:"-"`
545+
}
546+
547+
// dexFleetStatusDeviceListResponseRamUsedPctByAppJSON contains the JSON metadata
548+
// for the struct [DEXFleetStatusDeviceListResponseRamUsedPctByApp]
549+
type dexFleetStatusDeviceListResponseRamUsedPctByAppJSON struct {
550+
Name apijson.Field
551+
RamUsedPct apijson.Field
552+
raw string
553+
ExtraFields map[string]apijson.Field
554+
}
555+
556+
func (r *DEXFleetStatusDeviceListResponseRamUsedPctByApp) UnmarshalJSON(data []byte) (err error) {
557+
return apijson.UnmarshalRoot(data, r)
558+
}
559+
560+
func (r dexFleetStatusDeviceListResponseRamUsedPctByAppJSON) RawJSON() string {
103561
return r.raw
104562
}
105563

0 commit comments

Comments
 (0)
Please sign in to comment.