PerformanceThresholdResponse.fromMap constructor
PerformanceThresholdResponse.fromMap(
- Map<String, dynamic> map
)
Implementation
factory PerformanceThresholdResponse.fromMap(Map<String, dynamic> map) {
return PerformanceThresholdResponse(
basicSliPerformance: pulumi.Input.fromValue(BasicSliResponse.fromMap((map['basicSliPerformance']! as Map).cast<String, dynamic>())),
performance: pulumi.Input.fromValue(RequestBasedSliResponse.fromMap((map['performance']! as Map).cast<String, dynamic>())),
threshold: pulumi.Input.fromValue(map['threshold'] as double),
);
}