Class DeliverabilityExpectationResultDto
Expectation evaluation result for a single entity
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DeliverabilityExpectationResultDto")]
public class DeliverabilityExpectationResultDto : IValidatableObject
Constructors
View SourceDeliverabilityExpectationResultDto()
Initializes a new instance of the DeliverabilityExpectationResultDto class.
Declaration
[JsonConstructor]
protected DeliverabilityExpectationResultDto()
DeliverabilityExpectationResultDto(int, string, long, long, bool, string, string, string)
Initializes a new instance of the DeliverabilityExpectationResultDto class.
Declaration
public DeliverabilityExpectationResultDto(int expectationIndex = 0, string expectationName = null, long minCount = 0, long actualCount = 0, bool passed = false, string from = null, string to = null, string subject = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | expectationIndex | expectationIndex (required). |
| string | expectationName | expectationName. |
| long | minCount | minCount (required). |
| long | actualCount | actualCount (required). |
| bool | passed | passed (required). |
| string | from | from. |
| string | to | to. |
| string | subject | subject. |
Properties
View SourceActualCount
Gets or Sets ActualCount
Declaration
[DataMember(Name = "actualCount", IsRequired = true, EmitDefaultValue = true)]
public long ActualCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
ExpectationIndex
Gets or Sets ExpectationIndex
Declaration
[DataMember(Name = "expectationIndex", IsRequired = true, EmitDefaultValue = true)]
public int ExpectationIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ExpectationName
Gets or Sets ExpectationName
Declaration
[DataMember(Name = "expectationName", EmitDefaultValue = true)]
public string ExpectationName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
From
Gets or Sets From
Declaration
[DataMember(Name = "from", EmitDefaultValue = true)]
public string From { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MinCount
Gets or Sets MinCount
Declaration
[DataMember(Name = "minCount", IsRequired = true, EmitDefaultValue = true)]
public long MinCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Passed
Gets or Sets Passed
Declaration
[DataMember(Name = "passed", IsRequired = true, EmitDefaultValue = true)]
public bool Passed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Subject
Gets or Sets Subject
Declaration
[DataMember(Name = "subject", EmitDefaultValue = true)]
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
To
Gets or Sets To
Declaration
[DataMember(Name = "to", EmitDefaultValue = true)]
public string To { get; set; }
Property Value
| Type | Description |
|---|---|
| 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 |