GoogleCloudDatalabelingV1beta1EvaluationJob.fromJson constructor
GoogleCloudDatalabelingV1beta1EvaluationJob.fromJson(
- Map _json
Implementation
GoogleCloudDatalabelingV1beta1EvaluationJob.fromJson(core.Map _json)
: this(
annotationSpecSet: _json.containsKey('annotationSpecSet')
? _json['annotationSpecSet'] as core.String
: null,
attempts: _json.containsKey('attempts')
? (_json['attempts'] as core.List)
.map<GoogleCloudDatalabelingV1beta1Attempt>((value) =>
GoogleCloudDatalabelingV1beta1Attempt.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
createTime: _json.containsKey('createTime')
? _json['createTime'] as core.String
: null,
description: _json.containsKey('description')
? _json['description'] as core.String
: null,
evaluationJobConfig: _json.containsKey('evaluationJobConfig')
? GoogleCloudDatalabelingV1beta1EvaluationJobConfig.fromJson(
_json['evaluationJobConfig']
as core.Map<core.String, core.dynamic>)
: null,
labelMissingGroundTruth: _json.containsKey('labelMissingGroundTruth')
? _json['labelMissingGroundTruth'] as core.bool
: null,
modelVersion: _json.containsKey('modelVersion')
? _json['modelVersion'] as core.String
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
schedule: _json.containsKey('schedule')
? _json['schedule'] as core.String
: null,
state:
_json.containsKey('state') ? _json['state'] as core.String : null,
);