GoogleCloudContentwarehouseV1Action.fromJson constructor

GoogleCloudContentwarehouseV1Action.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1Action.fromJson(core.Map json_)
    : this(
        accessControl: json_.containsKey('accessControl')
            ? GoogleCloudContentwarehouseV1AccessControlAction.fromJson(
                json_['accessControl'] as core.Map<core.String, core.dynamic>)
            : null,
        actionId: json_.containsKey('actionId')
            ? json_['actionId'] as core.String
            : null,
        addToFolder: json_.containsKey('addToFolder')
            ? GoogleCloudContentwarehouseV1AddToFolderAction.fromJson(
                json_['addToFolder'] as core.Map<core.String, core.dynamic>)
            : null,
        dataUpdate: json_.containsKey('dataUpdate')
            ? GoogleCloudContentwarehouseV1DataUpdateAction.fromJson(
                json_['dataUpdate'] as core.Map<core.String, core.dynamic>)
            : null,
        dataValidation: json_.containsKey('dataValidation')
            ? GoogleCloudContentwarehouseV1DataValidationAction.fromJson(
                json_['dataValidation']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteDocumentAction: json_.containsKey('deleteDocumentAction')
            ? GoogleCloudContentwarehouseV1DeleteDocumentAction.fromJson(
                json_['deleteDocumentAction']
                    as core.Map<core.String, core.dynamic>)
            : null,
        publishToPubSub: json_.containsKey('publishToPubSub')
            ? GoogleCloudContentwarehouseV1PublishAction.fromJson(
                json_['publishToPubSub']
                    as core.Map<core.String, core.dynamic>)
            : null,
        removeFromFolderAction: json_.containsKey('removeFromFolderAction')
            ? GoogleCloudContentwarehouseV1RemoveFromFolderAction.fromJson(
                json_['removeFromFolderAction']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );