CreateSuppressionDetails¶
-
class
oci.email.models.
CreateSuppressionDetails
(**kwargs)¶ Bases:
object
The details needed for creating a single suppression.
Methods
__init__
(**kwargs)Initializes a new CreateSuppressionDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateSuppressionDetails. email_address
[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.
-
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
-
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
-