# IbmWorkloadSchedulerApi.CloudantAction

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **String** | The type of the Action to perform. Allowed values are: databaseOperation, databaseReplication, documentOperation, attachmentOperation | 
**databaseOperation** | **String** | Select the action to perform. Allowed values: CREATE1, READ1, DELETE1. Required if type is equal to databaseOperation | [optional] 
**databaseReplicationTargetName** | **String** | Database that you want to synchronize. If the target database does not exist, it is created automatically, unless you specify. Required if the type is equal to databaseReplication | [optional] 
**documentOperation** | **String** | Select the action to perform. Allowed values: CREATE, READ, DELETE, UPDATE. Required if type is equal to documentOperationString | [optional] 
**documentId** | **String** | The document identifier. Required if type is equal to attachmentOperation | [optional] 
**documentRevision** | **String** | The document revision number. This attribute is required for the update and delete actions. For the delete action, it must be equal to the latest revision number. Required if type is equal to documentOperation | [optional] 
**attachmentOperation** | **String** | Select the action to perform. Allowed values: CREATE/UPDATE, CREATE2, READ2, DELETE2. Required if type is equal to databaseOperation | [optional] 
**attachmentDocumentId** | **String** | The document identifier. Required if type is equals to attachmentOperation | [optional] 
**attachmentDocumentRevision** | **String** | The document revision number. This attribute is required for the update and delete actions. For the delete action, it must be equal to the latest revision number. Required if type is equal to attachmentOperation | [optional] 
**attachmentName** | **String** | The name by which the attachment is associated with the document. For the update action, if the attachment does not exist, it is created automatically. For the create action, if the attachment already exists, it is updated automatically. Required if type is equal to attachmentOperation | [optional] 
**attachmentContentType** | **String** | The attachment content type header. Required if type is equal to attachmentOperation | [optional] 
**attachmentOutputFileName** | **String** | For the read action, the name of the file where you want to receive the attachment | [optional] 
**operationParameters** | **{String: String}** | The list of extra parameters that you can add for the read document and the database replication actions. Insert one or more parameters, and related values | [optional] 


