Class CreateSuppressionDetails
The details needed for creating a single suppression.
Inherited Members
Namespace: Oci.EmailService.Models
Assembly: OCI.DotNetSDK.Email.dll
Syntax
public class CreateSuppressionDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID. |
Remarks
Required
EmailAddress
Declaration
[Required(ErrorMessage = "EmailAddress is required.")]
[JsonProperty(PropertyName = "emailAddress")]
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string | The recipient email address of the suppression. |
Remarks
Required