Skip to main content

CreateFileRequest

Represents a request to create a new file in the document management system.

This class extends CreateObjectRequest to provide additional information needed for file creation, including security keys, content information, associated documents, and version details. It supports both standard and JSON-based construction.

Properties

NameDescription
SecretKeyGets the encrypted secret key used for file security.
ContentInfoGets information about the file content being created.
DecryptedSecretGets the decrypted object secret information.
DescriptionThe description of the object to be created, in multiple languages.
NameThe name 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.
DocumentsGets the collection of document items to be created.
FileVersionGets the version information for the file being created.

Constructors

NameDescription
CreateFileRequest()Initializes a new instance of the CreateFileRequest class.
CreateFileRequest(name, description, createdBy, createdAt)Initializes a new instance of the CreateFileRequest class with the specified details.
CreateFileRequest()Initializes a new instance of the CreateFileRequest class.
CreateFileRequest(secretKey, contentInfo, name, description, documents, fileVersion, createdBy, createdAt)Initializes a new instance of the CreateFileRequest class with the specified file information and creation metadata.
CreateFileRequest(name, description)Initializes a new instance of the CreateFileRequest class with the specified name and description.
CreateFileRequest(secretKey, contentInfo, name, description, documents, fileVersion)Initializes a new instance of the CreateFileRequest class with the specified file information.