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

Constructors

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