EmailAddress

class oci.email_data_plane.models.EmailAddress(**kwargs)

Bases: object

Email address Object that holds display name and email address.

Methods

__init__(**kwargs) Initializes a new EmailAddress object with values from keyword arguments.

Attributes

email [Required] Gets the email of this EmailAddress.
name Gets the name of this EmailAddress.
__init__(**kwargs)

Initializes a new EmailAddress object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • email (str) – The value to assign to the email property of this EmailAddress.
  • name (str) – The value to assign to the name property of this EmailAddress.
email

[Required] Gets the email of this EmailAddress. ASCII only email address.

Returns:The email of this EmailAddress.
Return type:str
name

Gets the name of this EmailAddress. Display name for the email address. UTF-8 is supported for display name RFC 2047.

Returns:The name of this EmailAddress.
Return type:str