CompleteBranchRequest
Represents a request to complete a branch by creating a new version in the document management system.
This class extends BaseDocumentManagementRequest to handle branch completion operations. It manages security through encrypted/decrypted keys for both the object and branch, while also handling version numbering and settings. The class implements secure versioning patterns that ensure proper access verification and version control when converting a branch into a formal version.
Properties
Name | Description |
---|---|
SecretKey | Gets the encrypted secret key for the object being versioned. |
BranchSecretKey | Gets the encrypted secret key for the branch being completed. |
DecryptedBranchSecret | Gets the decrypted secret information for the branch being completed. |
SetAsDefaultVersion | Gets whether the new version should be set as the default version of the object. |
DecryptedObjectSecret | Gets the decrypted secret information for the object being versioned. |
MinorVersionValue | Gets the minor version number for the new version being created from the branch. |
CreatedBy | Gets the ID of the user completing the branch. |
MajorVersionValue | Gets the major version number for the new version being created from the branch. |
VersionDate | Gets the optional timestamp to be assigned to the new version. |
Constructors
Name | Description |
---|---|
CompleteBranchRequest() | Initializes a new instance of the CompleteBranchRequest class. |
CompleteBranchRequest(secretKey, branchSecretKey, majorVersionValue, minorVersionValue, versionDate, setAsDefaultVersion) | Initializes a new instance of the CompleteBranchRequest class with security and version information. |
CompleteBranchRequest() | Initializes a new instance of the CompleteBranchRequest class. |
CompleteBranchRequest(secretKey, branchSecretKey, majorVersionValue, minorVersionValue, versionDate, setAsDefaultVersion, createdBy) | Initializes a new instance of the CompleteBranchRequest class with complete information. |