GoogleCloudContentwarehouseV1CreateDocumentResponse.fromJson constructor

GoogleCloudContentwarehouseV1CreateDocumentResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1CreateDocumentResponse.fromJson(core.Map json_)
    : this(
        document: json_.containsKey('document')
            ? GoogleCloudContentwarehouseV1Document.fromJson(
                json_['document'] as core.Map<core.String, core.dynamic>)
            : null,
        longRunningOperations: json_.containsKey('longRunningOperations')
            ? (json_['longRunningOperations'] as core.List)
                .map((value) => GoogleLongrunningOperation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        metadata: json_.containsKey('metadata')
            ? GoogleCloudContentwarehouseV1ResponseMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        ruleEngineOutput: json_.containsKey('ruleEngineOutput')
            ? GoogleCloudContentwarehouseV1RuleEngineOutput.fromJson(
                json_['ruleEngineOutput']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );