GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata.fromJson constructor

GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata.fromJson(
    core.Map _json)
    : this(
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        dataset: _json.containsKey('dataset')
            ? _json['dataset'] as core.String
            : null,
        partialFailures: _json.containsKey('partialFailures')
            ? (_json['partialFailures'] as core.List)
                .map((value) => GoogleRpcStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );