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
| Name | Description |
|---|---|
| SecretKey | Gets the encrypted secret key used for file security. |
| Name | The name of the object to be created, in multiple languages. |
| Description | The description of the object to be created, in multiple languages. |
| Documents | Gets the collection of document items to be created. |
| FileVersion | Gets the version information for the file being created. |
| CreatedAt | The date and time when the object was created. |
| CreatedBy | The identifier of the user who created the object. |
| ContentInfo | Gets information about the file content being created. |
| DecryptedSecret | Gets the decrypted object secret information. |
Constructors
| Name | Description |
|---|---|
| CreateFileRequest() | Initializes a new instance of the CreateFileRequest class. |
| CreateFileRequest() | Initializes a new instance of the CreateFileRequest class. |
| 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. |
| 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, createdBy, createdAt) | Initializes a new instance of the CreateFileRequest class with the specified details. |