GoogleCloudDatalabelingV1beta1LabelVideoRequest.fromJson constructor

GoogleCloudDatalabelingV1beta1LabelVideoRequest.fromJson(
  1. 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,
      );