EmailRecipient¶
- class oci.usage_api.models.EmailRecipient(**kwargs)¶
Bases:
objectThe email recipient to receive usage statements for the subscription.
Attributes:
A constant which can be used with the lifecycle_state property of a EmailRecipient.
A constant which can be used with the lifecycle_state property of a EmailRecipient.
[Required] Gets the email_id of this EmailRecipient.
Gets the first_name of this EmailRecipient.
Gets the last_name of this EmailRecipient.
[Required] Gets the lifecycle_state of this EmailRecipient.
Methods:
__init__(**kwargs)Initializes a new EmailRecipient object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a EmailRecipient. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a EmailRecipient. This constant has a value of “INACTIVE”
- __init__(**kwargs)¶
Initializes a new EmailRecipient object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
first_name (str) – The value to assign to the first_name property of this EmailRecipient.
last_name (str) – The value to assign to the last_name property of this EmailRecipient.
email_id (str) – The value to assign to the email_id property of this EmailRecipient.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this EmailRecipient. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property email_id¶
[Required] Gets the email_id of this EmailRecipient. The recipient email address.
- Returns
The email_id of this EmailRecipient.
- Return type
str
- property first_name¶
Gets the first_name of this EmailRecipient. The recipient first name.
- Returns
The first_name of this EmailRecipient.
- Return type
str
- property last_name¶
Gets the last_name of this EmailRecipient. The recipient last name.
- Returns
The last_name of this EmailRecipient.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this EmailRecipient. The email recipient lifecycle state.
Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this EmailRecipient.
- Return type
str