namespace AMWD.Net.Api.Cloudflare.Dns
{
///
/// Represents a request to create a TSIG (Transaction Signature) key for DNS operations.
///
public class CreateTSIGRequest
{
///
/// Initializes a new instance of the class.
///
/// The account identifier.
/// TSIG key name.
/// TSIG secret.
public CreateTSIGRequest(string accountId, string name, string secret)
{
Algorithm = TSigAlgorithm.HMAC_SHA256;
AccountId = accountId;
Name = name;
Secret = secret;
}
///
/// The account identifier.
///
public string AccountId { get; set; }
///
/// TSIG algorithm.
///
public TSigAlgorithm Algorithm { get; set; }
///
/// TSIG key name.
///
public string Name { get; set; }
///
/// TSIG secret.
///
public string Secret { get; set; }
}
}