DescribeModelBiasJobDefinitionResponse.fromJson constructor
DescribeModelBiasJobDefinitionResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeModelBiasJobDefinitionResponse.fromJson(
Map<String, dynamic> json) {
return DescribeModelBiasJobDefinitionResponse(
creationTime:
nonNullableTimeStampFromJson(json['CreationTime'] as Object),
jobDefinitionArn: json['JobDefinitionArn'] as String,
jobDefinitionName: json['JobDefinitionName'] as String,
jobResources: MonitoringResources.fromJson(
json['JobResources'] as Map<String, dynamic>),
modelBiasAppSpecification: ModelBiasAppSpecification.fromJson(
json['ModelBiasAppSpecification'] as Map<String, dynamic>),
modelBiasJobInput: ModelBiasJobInput.fromJson(
json['ModelBiasJobInput'] as Map<String, dynamic>),
modelBiasJobOutputConfig: MonitoringOutputConfig.fromJson(
json['ModelBiasJobOutputConfig'] as Map<String, dynamic>),
roleArn: json['RoleArn'] as String,
modelBiasBaselineConfig: json['ModelBiasBaselineConfig'] != null
? ModelBiasBaselineConfig.fromJson(
json['ModelBiasBaselineConfig'] as Map<String, dynamic>)
: null,
networkConfig: json['NetworkConfig'] != null
? MonitoringNetworkConfig.fromJson(
json['NetworkConfig'] as Map<String, dynamic>)
: null,
stoppingCondition: json['StoppingCondition'] != null
? MonitoringStoppingCondition.fromJson(
json['StoppingCondition'] as Map<String, dynamic>)
: null,
);
}