GetModelVersionResult.fromJson constructor
GetModelVersionResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetModelVersionResult.fromJson(Map<String, dynamic> json) {
return GetModelVersionResult(
arn: json['arn'] as String?,
externalEventsDetail: json['externalEventsDetail'] != null
? ExternalEventsDetail.fromJson(
json['externalEventsDetail'] as Map<String, dynamic>)
: null,
modelId: json['modelId'] as String?,
modelType: (json['modelType'] as String?)?.toModelTypeEnum(),
modelVersionNumber: json['modelVersionNumber'] as String?,
status: json['status'] as String?,
trainingDataSchema: json['trainingDataSchema'] != null
? TrainingDataSchema.fromJson(
json['trainingDataSchema'] as Map<String, dynamic>)
: null,
trainingDataSource:
(json['trainingDataSource'] as String?)?.toTrainingDataSourceEnum(),
);
}