aws-sdk-panorama 1.71.0

AWS SDK for AWS Panorama
Documentation
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
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DescribeDeviceOutput {
    /// <p>The device's ID.</p>
    pub device_id: ::std::option::Option<::std::string::String>,
    /// <p>The device's name.</p>
    pub name: ::std::option::Option<::std::string::String>,
    /// <p>The device's ARN.</p>
    pub arn: ::std::option::Option<::std::string::String>,
    /// <p>The device's description.</p>
    pub description: ::std::option::Option<::std::string::String>,
    /// <p>The device's type.</p>
    pub r#type: ::std::option::Option<crate::types::DeviceType>,
    /// <p>The device's connection status.</p>
    pub device_connection_status: ::std::option::Option<crate::types::DeviceConnectionStatus>,
    /// <p>When the device was created.</p>
    pub created_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The device's provisioning status.</p>
    pub provisioning_status: ::std::option::Option<crate::types::DeviceStatus>,
    /// <p>The latest software version available for the device.</p>
    pub latest_software: ::std::option::Option<::std::string::String>,
    /// <p>The device's current software version.</p>
    pub current_software: ::std::option::Option<::std::string::String>,
    /// <p>The device's serial number.</p>
    pub serial_number: ::std::option::Option<::std::string::String>,
    /// <p>The device's tags.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>The device's networking configuration.</p>
    pub networking_configuration: ::std::option::Option<crate::types::NetworkPayload>,
    /// <p>The device's networking status.</p>
    pub current_networking_status: ::std::option::Option<crate::types::NetworkStatus>,
    /// <p>The device's lease expiration time.</p>
    pub lease_expiration_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>Beta software releases available for the device.</p>
    pub alternate_softwares: ::std::option::Option<::std::vec::Vec<crate::types::AlternateSoftwareMetadata>>,
    /// <p>The most recent beta software release.</p>
    pub latest_alternate_software: ::std::option::Option<::std::string::String>,
    /// <p>The device's maker.</p>
    pub brand: ::std::option::Option<crate::types::DeviceBrand>,
    /// <p>A device's latest job. Includes the target image version, and the job status.</p>
    pub latest_device_job: ::std::option::Option<crate::types::LatestDeviceJob>,
    /// <p>A device's aggregated status. Including the device's connection status, provisioning status, and lease status.</p>
    pub device_aggregated_status: ::std::option::Option<crate::types::DeviceAggregatedStatus>,
    _request_id: Option<String>,
}
impl DescribeDeviceOutput {
    /// <p>The device's ID.</p>
    pub fn device_id(&self) -> ::std::option::Option<&str> {
        self.device_id.as_deref()
    }
    /// <p>The device's name.</p>
    pub fn name(&self) -> ::std::option::Option<&str> {
        self.name.as_deref()
    }
    /// <p>The device's ARN.</p>
    pub fn arn(&self) -> ::std::option::Option<&str> {
        self.arn.as_deref()
    }
    /// <p>The device's description.</p>
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>The device's type.</p>
    pub fn r#type(&self) -> ::std::option::Option<&crate::types::DeviceType> {
        self.r#type.as_ref()
    }
    /// <p>The device's connection status.</p>
    pub fn device_connection_status(&self) -> ::std::option::Option<&crate::types::DeviceConnectionStatus> {
        self.device_connection_status.as_ref()
    }
    /// <p>When the device was created.</p>
    pub fn created_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.created_time.as_ref()
    }
    /// <p>The device's provisioning status.</p>
    pub fn provisioning_status(&self) -> ::std::option::Option<&crate::types::DeviceStatus> {
        self.provisioning_status.as_ref()
    }
    /// <p>The latest software version available for the device.</p>
    pub fn latest_software(&self) -> ::std::option::Option<&str> {
        self.latest_software.as_deref()
    }
    /// <p>The device's current software version.</p>
    pub fn current_software(&self) -> ::std::option::Option<&str> {
        self.current_software.as_deref()
    }
    /// <p>The device's serial number.</p>
    pub fn serial_number(&self) -> ::std::option::Option<&str> {
        self.serial_number.as_deref()
    }
    /// <p>The device's tags.</p>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// <p>The device's networking configuration.</p>
    pub fn networking_configuration(&self) -> ::std::option::Option<&crate::types::NetworkPayload> {
        self.networking_configuration.as_ref()
    }
    /// <p>The device's networking status.</p>
    pub fn current_networking_status(&self) -> ::std::option::Option<&crate::types::NetworkStatus> {
        self.current_networking_status.as_ref()
    }
    /// <p>The device's lease expiration time.</p>
    pub fn lease_expiration_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.lease_expiration_time.as_ref()
    }
    /// <p>Beta software releases available for the device.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.alternate_softwares.is_none()`.
    pub fn alternate_softwares(&self) -> &[crate::types::AlternateSoftwareMetadata] {
        self.alternate_softwares.as_deref().unwrap_or_default()
    }
    /// <p>The most recent beta software release.</p>
    pub fn latest_alternate_software(&self) -> ::std::option::Option<&str> {
        self.latest_alternate_software.as_deref()
    }
    /// <p>The device's maker.</p>
    pub fn brand(&self) -> ::std::option::Option<&crate::types::DeviceBrand> {
        self.brand.as_ref()
    }
    /// <p>A device's latest job. Includes the target image version, and the job status.</p>
    pub fn latest_device_job(&self) -> ::std::option::Option<&crate::types::LatestDeviceJob> {
        self.latest_device_job.as_ref()
    }
    /// <p>A device's aggregated status. Including the device's connection status, provisioning status, and lease status.</p>
    pub fn device_aggregated_status(&self) -> ::std::option::Option<&crate::types::DeviceAggregatedStatus> {
        self.device_aggregated_status.as_ref()
    }
}
impl ::aws_types::request_id::RequestId for DescribeDeviceOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl DescribeDeviceOutput {
    /// Creates a new builder-style object to manufacture [`DescribeDeviceOutput`](crate::operation::describe_device::DescribeDeviceOutput).
    pub fn builder() -> crate::operation::describe_device::builders::DescribeDeviceOutputBuilder {
        crate::operation::describe_device::builders::DescribeDeviceOutputBuilder::default()
    }
}

/// A builder for [`DescribeDeviceOutput`](crate::operation::describe_device::DescribeDeviceOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DescribeDeviceOutputBuilder {
    pub(crate) device_id: ::std::option::Option<::std::string::String>,
    pub(crate) name: ::std::option::Option<::std::string::String>,
    pub(crate) arn: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) r#type: ::std::option::Option<crate::types::DeviceType>,
    pub(crate) device_connection_status: ::std::option::Option<crate::types::DeviceConnectionStatus>,
    pub(crate) created_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) provisioning_status: ::std::option::Option<crate::types::DeviceStatus>,
    pub(crate) latest_software: ::std::option::Option<::std::string::String>,
    pub(crate) current_software: ::std::option::Option<::std::string::String>,
    pub(crate) serial_number: ::std::option::Option<::std::string::String>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) networking_configuration: ::std::option::Option<crate::types::NetworkPayload>,
    pub(crate) current_networking_status: ::std::option::Option<crate::types::NetworkStatus>,
    pub(crate) lease_expiration_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) alternate_softwares: ::std::option::Option<::std::vec::Vec<crate::types::AlternateSoftwareMetadata>>,
    pub(crate) latest_alternate_software: ::std::option::Option<::std::string::String>,
    pub(crate) brand: ::std::option::Option<crate::types::DeviceBrand>,
    pub(crate) latest_device_job: ::std::option::Option<crate::types::LatestDeviceJob>,
    pub(crate) device_aggregated_status: ::std::option::Option<crate::types::DeviceAggregatedStatus>,
    _request_id: Option<String>,
}
impl DescribeDeviceOutputBuilder {
    /// <p>The device's ID.</p>
    pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.device_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The device's ID.</p>
    pub fn set_device_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.device_id = input;
        self
    }
    /// <p>The device's ID.</p>
    pub fn get_device_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.device_id
    }
    /// <p>The device's name.</p>
    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The device's name.</p>
    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.name = input;
        self
    }
    /// <p>The device's name.</p>
    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.name
    }
    /// <p>The device's ARN.</p>
    pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The device's ARN.</p>
    pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.arn = input;
        self
    }
    /// <p>The device's ARN.</p>
    pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.arn
    }
    /// <p>The device's description.</p>
    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.description = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The device's description.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>The device's description.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// <p>The device's type.</p>
    pub fn r#type(mut self, input: crate::types::DeviceType) -> Self {
        self.r#type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The device's type.</p>
    pub fn set_type(mut self, input: ::std::option::Option<crate::types::DeviceType>) -> Self {
        self.r#type = input;
        self
    }
    /// <p>The device's type.</p>
    pub fn get_type(&self) -> &::std::option::Option<crate::types::DeviceType> {
        &self.r#type
    }
    /// <p>The device's connection status.</p>
    pub fn device_connection_status(mut self, input: crate::types::DeviceConnectionStatus) -> Self {
        self.device_connection_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The device's connection status.</p>
    pub fn set_device_connection_status(mut self, input: ::std::option::Option<crate::types::DeviceConnectionStatus>) -> Self {
        self.device_connection_status = input;
        self
    }
    /// <p>The device's connection status.</p>
    pub fn get_device_connection_status(&self) -> &::std::option::Option<crate::types::DeviceConnectionStatus> {
        &self.device_connection_status
    }
    /// <p>When the device was created.</p>
    pub fn created_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.created_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>When the device was created.</p>
    pub fn set_created_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.created_time = input;
        self
    }
    /// <p>When the device was created.</p>
    pub fn get_created_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.created_time
    }
    /// <p>The device's provisioning status.</p>
    pub fn provisioning_status(mut self, input: crate::types::DeviceStatus) -> Self {
        self.provisioning_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The device's provisioning status.</p>
    pub fn set_provisioning_status(mut self, input: ::std::option::Option<crate::types::DeviceStatus>) -> Self {
        self.provisioning_status = input;
        self
    }
    /// <p>The device's provisioning status.</p>
    pub fn get_provisioning_status(&self) -> &::std::option::Option<crate::types::DeviceStatus> {
        &self.provisioning_status
    }
    /// <p>The latest software version available for the device.</p>
    pub fn latest_software(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.latest_software = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The latest software version available for the device.</p>
    pub fn set_latest_software(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.latest_software = input;
        self
    }
    /// <p>The latest software version available for the device.</p>
    pub fn get_latest_software(&self) -> &::std::option::Option<::std::string::String> {
        &self.latest_software
    }
    /// <p>The device's current software version.</p>
    pub fn current_software(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.current_software = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The device's current software version.</p>
    pub fn set_current_software(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.current_software = input;
        self
    }
    /// <p>The device's current software version.</p>
    pub fn get_current_software(&self) -> &::std::option::Option<::std::string::String> {
        &self.current_software
    }
    /// <p>The device's serial number.</p>
    pub fn serial_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.serial_number = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The device's serial number.</p>
    pub fn set_serial_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.serial_number = input;
        self
    }
    /// <p>The device's serial number.</p>
    pub fn get_serial_number(&self) -> &::std::option::Option<::std::string::String> {
        &self.serial_number
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>The device's tags.</p>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>The device's tags.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>The device's tags.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// <p>The device's networking configuration.</p>
    pub fn networking_configuration(mut self, input: crate::types::NetworkPayload) -> Self {
        self.networking_configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>The device's networking configuration.</p>
    pub fn set_networking_configuration(mut self, input: ::std::option::Option<crate::types::NetworkPayload>) -> Self {
        self.networking_configuration = input;
        self
    }
    /// <p>The device's networking configuration.</p>
    pub fn get_networking_configuration(&self) -> &::std::option::Option<crate::types::NetworkPayload> {
        &self.networking_configuration
    }
    /// <p>The device's networking status.</p>
    pub fn current_networking_status(mut self, input: crate::types::NetworkStatus) -> Self {
        self.current_networking_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The device's networking status.</p>
    pub fn set_current_networking_status(mut self, input: ::std::option::Option<crate::types::NetworkStatus>) -> Self {
        self.current_networking_status = input;
        self
    }
    /// <p>The device's networking status.</p>
    pub fn get_current_networking_status(&self) -> &::std::option::Option<crate::types::NetworkStatus> {
        &self.current_networking_status
    }
    /// <p>The device's lease expiration time.</p>
    pub fn lease_expiration_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.lease_expiration_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>The device's lease expiration time.</p>
    pub fn set_lease_expiration_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.lease_expiration_time = input;
        self
    }
    /// <p>The device's lease expiration time.</p>
    pub fn get_lease_expiration_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.lease_expiration_time
    }
    /// Appends an item to `alternate_softwares`.
    ///
    /// To override the contents of this collection use [`set_alternate_softwares`](Self::set_alternate_softwares).
    ///
    /// <p>Beta software releases available for the device.</p>
    pub fn alternate_softwares(mut self, input: crate::types::AlternateSoftwareMetadata) -> Self {
        let mut v = self.alternate_softwares.unwrap_or_default();
        v.push(input);
        self.alternate_softwares = ::std::option::Option::Some(v);
        self
    }
    /// <p>Beta software releases available for the device.</p>
    pub fn set_alternate_softwares(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::AlternateSoftwareMetadata>>) -> Self {
        self.alternate_softwares = input;
        self
    }
    /// <p>Beta software releases available for the device.</p>
    pub fn get_alternate_softwares(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::AlternateSoftwareMetadata>> {
        &self.alternate_softwares
    }
    /// <p>The most recent beta software release.</p>
    pub fn latest_alternate_software(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.latest_alternate_software = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The most recent beta software release.</p>
    pub fn set_latest_alternate_software(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.latest_alternate_software = input;
        self
    }
    /// <p>The most recent beta software release.</p>
    pub fn get_latest_alternate_software(&self) -> &::std::option::Option<::std::string::String> {
        &self.latest_alternate_software
    }
    /// <p>The device's maker.</p>
    pub fn brand(mut self, input: crate::types::DeviceBrand) -> Self {
        self.brand = ::std::option::Option::Some(input);
        self
    }
    /// <p>The device's maker.</p>
    pub fn set_brand(mut self, input: ::std::option::Option<crate::types::DeviceBrand>) -> Self {
        self.brand = input;
        self
    }
    /// <p>The device's maker.</p>
    pub fn get_brand(&self) -> &::std::option::Option<crate::types::DeviceBrand> {
        &self.brand
    }
    /// <p>A device's latest job. Includes the target image version, and the job status.</p>
    pub fn latest_device_job(mut self, input: crate::types::LatestDeviceJob) -> Self {
        self.latest_device_job = ::std::option::Option::Some(input);
        self
    }
    /// <p>A device's latest job. Includes the target image version, and the job status.</p>
    pub fn set_latest_device_job(mut self, input: ::std::option::Option<crate::types::LatestDeviceJob>) -> Self {
        self.latest_device_job = input;
        self
    }
    /// <p>A device's latest job. Includes the target image version, and the job status.</p>
    pub fn get_latest_device_job(&self) -> &::std::option::Option<crate::types::LatestDeviceJob> {
        &self.latest_device_job
    }
    /// <p>A device's aggregated status. Including the device's connection status, provisioning status, and lease status.</p>
    pub fn device_aggregated_status(mut self, input: crate::types::DeviceAggregatedStatus) -> Self {
        self.device_aggregated_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>A device's aggregated status. Including the device's connection status, provisioning status, and lease status.</p>
    pub fn set_device_aggregated_status(mut self, input: ::std::option::Option<crate::types::DeviceAggregatedStatus>) -> Self {
        self.device_aggregated_status = input;
        self
    }
    /// <p>A device's aggregated status. Including the device's connection status, provisioning status, and lease status.</p>
    pub fn get_device_aggregated_status(&self) -> &::std::option::Option<crate::types::DeviceAggregatedStatus> {
        &self.device_aggregated_status
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }

    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    /// Consumes the builder and constructs a [`DescribeDeviceOutput`](crate::operation::describe_device::DescribeDeviceOutput).
    pub fn build(self) -> crate::operation::describe_device::DescribeDeviceOutput {
        crate::operation::describe_device::DescribeDeviceOutput {
            device_id: self.device_id,
            name: self.name,
            arn: self.arn,
            description: self.description,
            r#type: self.r#type,
            device_connection_status: self.device_connection_status,
            created_time: self.created_time,
            provisioning_status: self.provisioning_status,
            latest_software: self.latest_software,
            current_software: self.current_software,
            serial_number: self.serial_number,
            tags: self.tags,
            networking_configuration: self.networking_configuration,
            current_networking_status: self.current_networking_status,
            lease_expiration_time: self.lease_expiration_time,
            alternate_softwares: self.alternate_softwares,
            latest_alternate_software: self.latest_alternate_software,
            brand: self.brand,
            latest_device_job: self.latest_device_job,
            device_aggregated_status: self.device_aggregated_status,
            _request_id: self._request_id,
        }
    }
}