ElasticInferenceAccelerator.fromJson constructor
ElasticInferenceAccelerator.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ElasticInferenceAccelerator.fromJson(Map<String, dynamic> json) {
return ElasticInferenceAccelerator(
acceleratorHealth: json['acceleratorHealth'] != null
? ElasticInferenceAcceleratorHealth.fromJson(
json['acceleratorHealth'] as Map<String, dynamic>)
: null,
acceleratorId: json['acceleratorId'] as String?,
acceleratorType: json['acceleratorType'] as String?,
attachedResource: json['attachedResource'] as String?,
availabilityZone: json['availabilityZone'] as String?,
);
}