Class CheckEmailBlacklistResults
Public blacklist lookup results for a domain or IP address
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CheckEmailBlacklistResults")]
public class CheckEmailBlacklistResults : IValidatableObject
Constructors
View SourceCheckEmailBlacklistResults()
Initializes a new instance of the CheckEmailBlacklistResults class.
Declaration
[JsonConstructor]
protected CheckEmailBlacklistResults()
CheckEmailBlacklistResults(string, string, string, StatusEnum, bool, List<EmailBlacklistIpResult>, int, int, List<string>, List<string>)
Initializes a new instance of the CheckEmailBlacklistResults class.
Declaration
public CheckEmailBlacklistResults(string domain = null, string requestedIpAddress = null, string requestedMxHost = null, CheckEmailBlacklistResults.StatusEnum status = (CheckEmailBlacklistResults.StatusEnum)0, bool listed = false, List<EmailBlacklistIpResult> checkedIpAddresses = null, int checkedZoneCount = 0, int totalListings = 0, List<string> warnings = null, List<string> errors = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | domain | domain. |
| string | requestedIpAddress | requestedIpAddress. |
| string | requestedMxHost | requestedMxHost. |
| CheckEmailBlacklistResults.StatusEnum | status | status (required). |
| bool | listed | listed (required). |
| List<EmailBlacklistIpResult> | checkedIpAddresses | checkedIpAddresses (required). |
| int | checkedZoneCount | checkedZoneCount (required). |
| int | totalListings | totalListings (required). |
| List<string> | warnings | warnings (required). |
| List<string> | errors | errors (required). |
Properties
View SourceCheckedIpAddresses
Gets or Sets CheckedIpAddresses
Declaration
[DataMember(Name = "checkedIpAddresses", IsRequired = true, EmitDefaultValue = true)]
public List<EmailBlacklistIpResult> CheckedIpAddresses { get; set; }
Property Value
| Type | Description |
|---|---|
| List<EmailBlacklistIpResult> |
CheckedZoneCount
Gets or Sets CheckedZoneCount
Declaration
[DataMember(Name = "checkedZoneCount", IsRequired = true, EmitDefaultValue = true)]
public int CheckedZoneCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Domain
Gets or Sets Domain
Declaration
[DataMember(Name = "domain", EmitDefaultValue = true)]
public string Domain { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Errors
Gets or Sets Errors
Declaration
[DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = true)]
public List<string> Errors { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Listed
Gets or Sets Listed
Declaration
[DataMember(Name = "listed", IsRequired = true, EmitDefaultValue = true)]
public bool Listed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RequestedIpAddress
Gets or Sets RequestedIpAddress
Declaration
[DataMember(Name = "requestedIpAddress", EmitDefaultValue = true)]
public string RequestedIpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequestedMxHost
Gets or Sets RequestedMxHost
Declaration
[DataMember(Name = "requestedMxHost", EmitDefaultValue = true)]
public string RequestedMxHost { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public CheckEmailBlacklistResults.StatusEnum Status { get; set; }
Property Value
| Type | Description |
|---|---|
| CheckEmailBlacklistResults.StatusEnum |
TotalListings
Gets or Sets TotalListings
Declaration
[DataMember(Name = "totalListings", IsRequired = true, EmitDefaultValue = true)]
public int TotalListings { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Warnings
Gets or Sets Warnings
Declaration
[DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = true)]
public List<string> Warnings { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
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 |