Class EmailRecipients
The To
,CC
,BCC
recipients stored in object form with email address and name accessible.
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "EmailRecipients")]
public class EmailRecipients : IValidatableObject
Constructors
View SourceEmailRecipients(List<Recipient>, List<Recipient>, List<Recipient>)
Initializes a new instance of the EmailRecipients class.
Declaration
public EmailRecipients(List<Recipient> to = null, List<Recipient> cc = null, List<Recipient> bcc = null)
Parameters
Type | Name | Description |
---|---|---|
List<Recipient> | to | to. |
List<Recipient> | cc | cc. |
List<Recipient> | bcc | bcc. |
Properties
View SourceBcc
Gets or Sets Bcc
Declaration
[DataMember(Name = "bcc", EmitDefaultValue = false)]
public List<Recipient> Bcc { get; set; }
Property Value
Type | Description |
---|---|
List<Recipient> |
Cc
Gets or Sets Cc
Declaration
[DataMember(Name = "cc", EmitDefaultValue = false)]
public List<Recipient> Cc { get; set; }
Property Value
Type | Description |
---|---|
List<Recipient> |
To
Gets or Sets To
Declaration
[DataMember(Name = "to", EmitDefaultValue = false)]
public List<Recipient> To { get; set; }
Property Value
Type | Description |
---|---|
List<Recipient> |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |