GoogleCloudContentwarehouseV1Document.fromJson constructor

GoogleCloudContentwarehouseV1Document.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1Document.fromJson(core.Map json_)
    : this(
        cloudAiDocument: json_.containsKey('cloudAiDocument')
            ? GoogleCloudDocumentaiV1Document.fromJson(
                json_['cloudAiDocument']
                    as core.Map<core.String, core.dynamic>)
            : null,
        contentCategory: json_['contentCategory'] as core.String?,
        createTime: json_['createTime'] as core.String?,
        creator: json_['creator'] as core.String?,
        displayName: json_['displayName'] as core.String?,
        displayUri: json_['displayUri'] as core.String?,
        dispositionTime: json_['dispositionTime'] as core.String?,
        documentSchemaName: json_['documentSchemaName'] as core.String?,
        inlineRawDocument: json_['inlineRawDocument'] as core.String?,
        legalHold: json_['legalHold'] as core.bool?,
        name: json_['name'] as core.String?,
        plainText: json_['plainText'] as core.String?,
        properties: (json_['properties'] as core.List?)
            ?.map((value) => GoogleCloudContentwarehouseV1Property.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        rawDocumentFileType: json_['rawDocumentFileType'] as core.String?,
        rawDocumentPath: json_['rawDocumentPath'] as core.String?,
        referenceId: json_['referenceId'] as core.String?,
        textExtractionDisabled: json_['textExtractionDisabled'] as core.bool?,
        textExtractionEnabled: json_['textExtractionEnabled'] as core.bool?,
        title: json_['title'] as core.String?,
        updateTime: json_['updateTime'] as core.String?,
        updater: json_['updater'] as core.String?,
      );