Skip to main content

CreateBranchRequest

Represents a request to create a new branch from an existing version in the document management system.

This class extends BaseRequest to handle branch creation operations. It manages security through encrypted/decrypted keys for both the object and the source version, while also supporting audit information. The class implements secure branching patterns that ensure proper access verification for both the object and the version being branched.

Properties

NameDescription
DecryptedVersionSecretGets the decrypted secret information for the source version.
SecretKeyGets the encrypted secret key for the object being branched.
VersionSecretKeyGets the encrypted secret key for the source version.
DecryptedObjectSecretGets the decrypted secret information for the object being branched.
CreatedAtGets the timestamp when the branch was created.
CreatedByGets the ID of the user creating the branch.

Constructors

NameDescription
CreateBranchRequest()Initializes a new instance of the CreateBranchRequest class.
CreateBranchRequest(secretKey, versionSecretKey)Initializes a new instance of the CreateBranchRequest class with security keys.
CreateBranchRequest(secretKey, versionSecretKey, createdBy, createdAt)Initializes a new instance of the CreateBranchRequest class with complete information.