GoogleCloudContentwarehouseV1UpdateDocumentRequest.fromJson constructor

GoogleCloudContentwarehouseV1UpdateDocumentRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1UpdateDocumentRequest.fromJson(core.Map json_)
    : this(
        cloudAiDocumentOption: json_.containsKey('cloudAiDocumentOption')
            ? GoogleCloudContentwarehouseV1CloudAIDocumentOption.fromJson(
                json_['cloudAiDocumentOption']
                    as core.Map<core.String, core.dynamic>)
            : null,
        document: json_.containsKey('document')
            ? GoogleCloudContentwarehouseV1Document.fromJson(
                json_['document'] as core.Map<core.String, core.dynamic>)
            : null,
        requestMetadata: json_.containsKey('requestMetadata')
            ? GoogleCloudContentwarehouseV1RequestMetadata.fromJson(
                json_['requestMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateOptions: json_.containsKey('updateOptions')
            ? GoogleCloudContentwarehouseV1UpdateOptions.fromJson(
                json_['updateOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );