Class DeliverabilityTestDto
Deliverability test configuration and progress summary
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DeliverabilityTestDto")]
public class DeliverabilityTestDto : IValidatableObject
Constructors
View SourceDeliverabilityTestDto()
Initializes a new instance of the DeliverabilityTestDto class.
Declaration
[JsonConstructor]
protected DeliverabilityTestDto()
DeliverabilityTestDto(Guid, string, string, ScopeEnum, DeliverabilitySelectorOptions, long, List<DeliverabilityExpectation>, StatusEnum, DateTime, DateTime?, DateTime?, long?, double?, ThresholdStatusEnum, bool?, DateTime?, long, long, long, double, bool, string, DateTime, DateTime)
Initializes a new instance of the DeliverabilityTestDto class.
Declaration
public DeliverabilityTestDto(Guid id = default, string name = null, string description = null, DeliverabilityTestDto.ScopeEnum scope = (DeliverabilityTestDto.ScopeEnum)0, DeliverabilitySelectorOptions selector = null, long selectedEntityCount = 0, List<DeliverabilityExpectation> expectations = null, DeliverabilityTestDto.StatusEnum status = (DeliverabilityTestDto.StatusEnum)0, DateTime startAt = default, DateTime? startedAt = null, DateTime? completedAt = null, long? maxDurationSeconds = null, double? successThresholdPercent = null, DeliverabilityTestDto.ThresholdStatusEnum thresholdStatus = (DeliverabilityTestDto.ThresholdStatusEnum)0, bool? thresholdMet = null, DateTime? lastEvaluatedAt = null, long totalEntities = 0, long matchedEntities = 0, long unmatchedEntities = 0, double completionPercentage = 0, bool timedOut = false, string failureReason = null, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| string | name | name. |
| string | description | description. |
| DeliverabilityTestDto.ScopeEnum | scope | scope (required). |
| DeliverabilitySelectorOptions | selector | selector (required). |
| long | selectedEntityCount | selectedEntityCount (required). |
| List<DeliverabilityExpectation> | expectations | expectations (required). |
| DeliverabilityTestDto.StatusEnum | status | status (required). |
| DateTime | startAt | startAt (required). |
| DateTime? | startedAt | startedAt. |
| DateTime? | completedAt | completedAt. |
| long? | maxDurationSeconds | maxDurationSeconds. |
| double? | successThresholdPercent | successThresholdPercent. |
| DeliverabilityTestDto.ThresholdStatusEnum | thresholdStatus | thresholdStatus (required). |
| bool? | thresholdMet | thresholdMet. |
| DateTime? | lastEvaluatedAt | lastEvaluatedAt. |
| long | totalEntities | totalEntities (required). |
| long | matchedEntities | matchedEntities (required). |
| long | unmatchedEntities | unmatchedEntities (required). |
| double | completionPercentage | completionPercentage (required). |
| bool | timedOut | timedOut (required). |
| string | failureReason | failureReason. |
| DateTime | createdAt | createdAt (required). |
| DateTime | updatedAt | updatedAt (required). |
Properties
View SourceCompletedAt
Gets or Sets CompletedAt
Declaration
[DataMember(Name = "completedAt", EmitDefaultValue = true)]
public DateTime? CompletedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
CompletionPercentage
Gets or Sets CompletionPercentage
Declaration
[DataMember(Name = "completionPercentage", IsRequired = true, EmitDefaultValue = true)]
public double CompletionPercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Description
Gets or Sets Description
Declaration
[DataMember(Name = "description", EmitDefaultValue = true)]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Expectations
Gets or Sets Expectations
Declaration
[DataMember(Name = "expectations", IsRequired = true, EmitDefaultValue = true)]
public List<DeliverabilityExpectation> Expectations { get; set; }
Property Value
| Type | Description |
|---|---|
| List<DeliverabilityExpectation> |
FailureReason
Gets or Sets FailureReason
Declaration
[DataMember(Name = "failureReason", EmitDefaultValue = true)]
public string FailureReason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
LastEvaluatedAt
Gets or Sets LastEvaluatedAt
Declaration
[DataMember(Name = "lastEvaluatedAt", EmitDefaultValue = true)]
public DateTime? LastEvaluatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
MatchedEntities
Gets or Sets MatchedEntities
Declaration
[DataMember(Name = "matchedEntities", IsRequired = true, EmitDefaultValue = true)]
public long MatchedEntities { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
MaxDurationSeconds
Gets or Sets MaxDurationSeconds
Declaration
[DataMember(Name = "maxDurationSeconds", EmitDefaultValue = true)]
public long? MaxDurationSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Scope
Gets or Sets Scope
Declaration
[DataMember(Name = "scope", IsRequired = true, EmitDefaultValue = true)]
public DeliverabilityTestDto.ScopeEnum Scope { get; set; }
Property Value
| Type | Description |
|---|---|
| DeliverabilityTestDto.ScopeEnum |
SelectedEntityCount
Gets or Sets SelectedEntityCount
Declaration
[DataMember(Name = "selectedEntityCount", IsRequired = true, EmitDefaultValue = true)]
public long SelectedEntityCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Selector
Gets or Sets Selector
Declaration
[DataMember(Name = "selector", IsRequired = true, EmitDefaultValue = true)]
public DeliverabilitySelectorOptions Selector { get; set; }
Property Value
| Type | Description |
|---|---|
| DeliverabilitySelectorOptions |
StartAt
Gets or Sets StartAt
Declaration
[DataMember(Name = "startAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime StartAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
StartedAt
Gets or Sets StartedAt
Declaration
[DataMember(Name = "startedAt", EmitDefaultValue = true)]
public DateTime? StartedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public DeliverabilityTestDto.StatusEnum Status { get; set; }
Property Value
| Type | Description |
|---|---|
| DeliverabilityTestDto.StatusEnum |
SuccessThresholdPercent
Gets or Sets SuccessThresholdPercent
Declaration
[DataMember(Name = "successThresholdPercent", EmitDefaultValue = true)]
public double? SuccessThresholdPercent { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
ThresholdMet
Gets or Sets ThresholdMet
Declaration
[DataMember(Name = "thresholdMet", EmitDefaultValue = true)]
public bool? ThresholdMet { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ThresholdStatus
Gets or Sets ThresholdStatus
Declaration
[DataMember(Name = "thresholdStatus", IsRequired = true, EmitDefaultValue = true)]
public DeliverabilityTestDto.ThresholdStatusEnum ThresholdStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| DeliverabilityTestDto.ThresholdStatusEnum |
TimedOut
Gets or Sets TimedOut
Declaration
[DataMember(Name = "timedOut", IsRequired = true, EmitDefaultValue = true)]
public bool TimedOut { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
TotalEntities
Gets or Sets TotalEntities
Declaration
[DataMember(Name = "totalEntities", IsRequired = true, EmitDefaultValue = true)]
public long TotalEntities { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
UnmatchedEntities
Gets or Sets UnmatchedEntities
Declaration
[DataMember(Name = "unmatchedEntities", IsRequired = true, EmitDefaultValue = true)]
public long UnmatchedEntities { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime UpdatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
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 |