DeleteRepositoryRequest Constructors
An object defining constructors for the DeleteRepositoryRequest class.
DeleteRepositoryRequest()
Initializes a new instance of the DeleteRepositoryRequest
class.
DeleteRepositoryRequest(secretKey, reason)
Initializes a new instance of the DeleteRepositoryRequest
class with the specified security key and deletion reason.
Parameters:
secretKey (required): string
The encrypted secret key for the repository to be deleted.
reason (required): string
The reason or justification for deleting the repository.
This constructor creates a new DeleteRepositoryRequest instance by calling the base constructor and initializing both the SecretKey and Reason properties. The DecryptedSecret property will be automatically populated through the DecryptData attribute, while being excluded from JSON serialization. The provided reason is stored to maintain an audit trail of the deletion request.