Class BulkSendEmailOptions
Options for bulk sending an email from multiple addresses. See regular sendEmail
methods for more information.
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "BulkSendEmailOptions")]
public class BulkSendEmailOptions : IEquatable<BulkSendEmailOptions>, IValidatableObject
Constructors
View SourceBulkSendEmailOptions()
Initializes a new instance of the BulkSendEmailOptions class.
Declaration
[JsonConstructor]
protected BulkSendEmailOptions()
BulkSendEmailOptions(List<Guid>, SendEmailOptions)
Initializes a new instance of the BulkSendEmailOptions class.
Declaration
public BulkSendEmailOptions(List<Guid> inboxIds = null, SendEmailOptions sendEmailOptions = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<T><System.Guid> | inboxIds | Inboxes to send the email from (required). |
SendEmailOptions | sendEmailOptions | sendEmailOptions (required). |
Properties
View SourceInboxIds
Inboxes to send the email from
Declaration
[DataMember(Name = "inboxIds", IsRequired = true, EmitDefaultValue = true)]
public List<Guid> InboxIds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><System.Guid> | Inboxes to send the email from |
SendEmailOptions
Gets or Sets SendEmailOptions
Declaration
[DataMember(Name = "sendEmailOptions", IsRequired = true, EmitDefaultValue = true)]
public SendEmailOptions SendEmailOptions { get; set; }
Property Value
Type | Description |
---|---|
SendEmailOptions |
Methods
View SourceEquals(BulkSendEmailOptions)
Returns true if BulkSendEmailOptions instances are equal
Declaration
public bool Equals(BulkSendEmailOptions input)
Parameters
Type | Name | Description |
---|---|---|
BulkSendEmailOptions | input | Instance of BulkSendEmailOptions to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Equals(object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
object | input | Object to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Overrides
View SourceGetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | Hash code |
Overrides
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 |
Overrides
Validate(ValidationContext)
To validate all properties of the instance
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
ValidationContext | validationContext | Validation context |
Returns
Type | Description |
---|---|
IEnumerable<ValidationResult> | Validation Result |