Skip to main content

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

NameDescription
SecretKeyThe secret key used for decrypting the object secret.
MimeTypeThe MIME type of the content being created.
IsDefaultIndicates whether the content is set as the default.
BranchSecretKeyThe secret key used for decrypting the branch secret.
LengthThe length of the content in bytes.
DecryptedBranchSecretThe decrypted branch secret associated with the content.
DescriptionThe description of the object to be created, in multiple languages.
NameThe name of the object to be created, in multiple languages.
DecryptedObjectSecretThe decrypted object secret associated with the content.
CreatedAtThe date and time when the object was created.
CreatedByThe identifier of the user who created the object.
CommitMessageThe commit message associated with the content creation.

Constructors

NameDescription
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.