Class ValidateEmailAddressListOptions
Options for validating a list of email addresses
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ValidateEmailAddressListOptions")]
public class ValidateEmailAddressListOptions : IEquatable<ValidateEmailAddressListOptions>, IValidatableObject
Constructors
View SourceValidateEmailAddressListOptions()
Initializes a new instance of the ValidateEmailAddressListOptions class.
Declaration
[JsonConstructor]
protected ValidateEmailAddressListOptions()
ValidateEmailAddressListOptions(List<string>, bool?)
Initializes a new instance of the ValidateEmailAddressListOptions class.
Declaration
public ValidateEmailAddressListOptions(List<string> emailAddressList = null, bool? ignoreOldResults = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<T><string> | emailAddressList | emailAddressList (required). |
bool? | ignoreOldResults | ignoreOldResults. |
Properties
View SourceEmailAddressList
Gets or Sets EmailAddressList
Declaration
[DataMember(Name = "emailAddressList", IsRequired = true, EmitDefaultValue = true)]
public List<string> EmailAddressList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><string> |
IgnoreOldResults
Gets or Sets IgnoreOldResults
Declaration
[DataMember(Name = "ignoreOldResults", EmitDefaultValue = true)]
public bool? IgnoreOldResults { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
View SourceEquals(ValidateEmailAddressListOptions)
Returns true if ValidateEmailAddressListOptions instances are equal
Declaration
public bool Equals(ValidateEmailAddressListOptions input)
Parameters
Type | Name | Description |
---|---|---|
ValidateEmailAddressListOptions | input | Instance of ValidateEmailAddressListOptions 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 |