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