Skip to main content

CreateContentRequest Properties

An object defining properties for the CreateContentRequest class.

CommitMessage​

The commit message associated with the content creation.

Type: string

Provides a description or message explaining the changes or purpose of the content being created.


DecryptedObjectSecret​

The decrypted object secret associated with the content.

Type: DMObjectSecret

Holds the decrypted secret data for the object, using the SecretKey for decryption.


Length​

The length of the content in bytes.

Type: long

Represents the size of the content being created, measured in bytes.


MimeType​

The MIME type of the content being created.

Type: string

Specifies the media type of the content, such as text/plain or application/pdf.


SecretKey​

The secret key used for decrypting the object secret.

Type: string

Contains the key required to decrypt the DecryptedObjectSecret property.


Name​

The name of the object to be created, in multiple languages.

Type: Dictionary<string, string>

Contains a dictionary mapping language codes to the object's name in those languages.


DecryptedBranchSecret​

The decrypted branch secret associated with the content.

Type: DMObjectVersionSecret

Holds the decrypted secret data for the branch, using the BranchSecretKey for decryption.


Description​

The description of the object to be created, in multiple languages.

Type: Dictionary<string, string>

Contains a dictionary mapping language codes to the object's description in those languages.


CreatedAt​

The date and time when the object was created.

Type: DateTimeOffset?

Represents the timestamp of the object's creation, if available.


CreatedBy​

The identifier of the user who created the object.

Type: long?

Represents the user ID of the creator, if available.


IsDefault​

Indicates whether the content is set as the default.

Type: bool

A boolean flag that shows if the content being created is marked as the default version.


BranchSecretKey​

The secret key used for decrypting the branch secret.

Type: string

Contains the key required to decrypt the DecryptedBranchSecret property.