InstanceFleetProvisioningSpecifications.fromJson constructor
InstanceFleetProvisioningSpecifications.fromJson(
- Map<String, dynamic> json
)
Implementation
factory InstanceFleetProvisioningSpecifications.fromJson(
Map<String, dynamic> json) {
return InstanceFleetProvisioningSpecifications(
onDemandSpecification: json['OnDemandSpecification'] != null
? OnDemandProvisioningSpecification.fromJson(
json['OnDemandSpecification'] as Map<String, dynamic>)
: null,
spotSpecification: json['SpotSpecification'] != null
? SpotProvisioningSpecification.fromJson(
json['SpotSpecification'] as Map<String, dynamic>)
: null,
);
}