CreateContentRequest
The CreateContentRequest class represents a request to create new content in the document management system.
This class extends CreateObjectRequest and includes additional properties for secret keys, commit messages, and content details.
Properties
| Name | Description |
|---|---|
| CommitMessage | The commit message associated with the content creation. |
| DecryptedObjectSecret | The decrypted object secret associated with the content. |
| Length | The length of the content in bytes. |
| MimeType | The MIME type of the content being created. |
| SecretKey | The secret key used for decrypting the object secret. |
| Name | The name of the object to be created, in multiple languages. |
| DecryptedBranchSecret | The decrypted branch secret associated with the content. |
| Description | The description of the object to be created, in multiple languages. |
| CreatedAt | The date and time when the object was created. |
| CreatedBy | The identifier of the user who created the object. |
| IsDefault | Indicates whether the content is set as the default. |
| BranchSecretKey | The secret key used for decrypting the branch secret. |
Constructors
| Name | Description |
|---|---|
| CreateContentRequest() | Initializes a new instance of the CreateContentRequest class. |
| CreateContentRequest() | Initializes a new instance of the CreateContentRequest class. |
| CreateContentRequest(secretKey, branchSecretKey, commitMessage, isDefault, mimeType, length, name, description) | Initializes a new instance of the CreateContentRequest class with the specified content details. |
| CreateContentRequest(name, description) | Initializes a new instance of the CreateContentRequest class with the specified name and description. |
| CreateContentRequest(secretKey, branchSecretKey, commitMessage, isDefault, mimeType, length, name, description, createdBy, createdAt) | Initializes a new instance of the CreateContentRequest class with the specified content and creation details. |
| CreateContentRequest(name, description, createdBy, createdAt) | Initializes a new instance of the CreateContentRequest class with the specified details. |