toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': arn,
    'awsLocations': pulumi.Input.encodeList<GetDeviceAwsLocation, Map<String, dynamic>>(awsLocations, (value) => value.toMap()),
    'description': description,
    'deviceId': deviceId,
    'globalNetworkId': globalNetworkId,
    'id': id,
    'locations': pulumi.Input.encodeList<GetDeviceLocation, Map<String, dynamic>>(locations, (value) => value.toMap()),
    'model': model,
    'serialNumber': serialNumber,
    'siteId': siteId,
    'tags': tags,
    'type': type,
    'vendor': vendor,
  };
}