GoogleCloudDatalabelingV1beta1LabelVideoRequest.fromJson constructor
GoogleCloudDatalabelingV1beta1LabelVideoRequest.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1LabelVideoRequest.fromJson(core.Map json_)
: this(
basicConfig: json_.containsKey('basicConfig')
? GoogleCloudDatalabelingV1beta1HumanAnnotationConfig.fromJson(
json_['basicConfig'] as core.Map<core.String, core.dynamic>)
: null,
eventConfig: json_.containsKey('eventConfig')
? GoogleCloudDatalabelingV1beta1EventConfig.fromJson(
json_['eventConfig'] as core.Map<core.String, core.dynamic>)
: null,
feature: json_.containsKey('feature')
? json_['feature'] as core.String
: null,
objectDetectionConfig: json_.containsKey('objectDetectionConfig')
? GoogleCloudDatalabelingV1beta1ObjectDetectionConfig.fromJson(
json_['objectDetectionConfig']
as core.Map<core.String, core.dynamic>)
: null,
objectTrackingConfig: json_.containsKey('objectTrackingConfig')
? GoogleCloudDatalabelingV1beta1ObjectTrackingConfig.fromJson(
json_['objectTrackingConfig']
as core.Map<core.String, core.dynamic>)
: null,
videoClassificationConfig:
json_.containsKey('videoClassificationConfig')
? GoogleCloudDatalabelingV1beta1VideoClassificationConfig
.fromJson(json_['videoClassificationConfig']
as core.Map<core.String, core.dynamic>)
: null,
);