CreateSuppressionDetails¶
- class oci.email.models.CreateSuppressionDetails(**kwargs)¶
Bases:
objectThe details needed for creating a single suppression.
Methods:
__init__(**kwargs)Initializes a new CreateSuppressionDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateSuppressionDetails.
[Required] Gets the email_address of this CreateSuppressionDetails.
- __init__(**kwargs)¶
Initializes a new CreateSuppressionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateSuppressionDetails.
email_address (str) – The value to assign to the email_address property of this CreateSuppressionDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateSuppressionDetails. The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.
- Returns
The compartment_id of this CreateSuppressionDetails.
- Return type
str
- property email_address¶
[Required] Gets the email_address of this CreateSuppressionDetails. The recipient email address of the suppression.
- Returns
The email_address of this CreateSuppressionDetails.
- Return type
str