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 |
---|---|
SecretKey | The secret key used for decrypting the object secret. |
MimeType | The MIME type of the content being created. |
IsDefault | Indicates whether the content is set as the default. |
BranchSecretKey | The secret key used for decrypting the branch secret. |
Length | The length of the content in bytes. |
DecryptedBranchSecret | The decrypted branch secret associated with the content. |
Description | The description of the object to be created, in multiple languages. |
Name | The name of the object to be created, in multiple languages. |
DecryptedObjectSecret | The decrypted object secret associated with the content. |
CreatedAt | The date and time when the object was created. |
CreatedBy | The identifier of the user who created the object. |
CommitMessage | The commit message associated with the content creation. |
Constructors
Name | Description |
---|---|
CreateContentRequest() | Initializes a new instance of the CreateContentRequest class. |
CreateContentRequest(name, description, createdBy, createdAt) | Initializes a new instance of the CreateContentRequest class with the specified details. |
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(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) | Initializes a new instance of the CreateContentRequest class with the specified name and description. |