Class UpdateDeliverabilityTestOptions
Update a deliverability/load test
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "UpdateDeliverabilityTestOptions")]
public class UpdateDeliverabilityTestOptions : IValidatableObject
Constructors
View SourceUpdateDeliverabilityTestOptions(string, string, DateTime?, long?, bool?, double?, bool?, List<DeliverabilityExpectation>)
Initializes a new instance of the UpdateDeliverabilityTestOptions class.
Declaration
public UpdateDeliverabilityTestOptions(string name = null, string description = null, DateTime? startAt = null, long? maxDurationSeconds = null, bool? clearMaxDuration = null, double? successThresholdPercent = null, bool? clearSuccessThreshold = null, List<DeliverabilityExpectation> expectations = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Optional updated name. |
| string | description | Optional updated description. |
| DateTime? | startAt | Optional updated receive-window start time. Only applied while test is not terminal.. |
| long? | maxDurationSeconds | Optional updated timeout in seconds. |
| bool? | clearMaxDuration | Set true to clear timeout. If true, maxDurationSeconds is ignored for this request.. |
| double? | successThresholdPercent | Optional updated acceptable success threshold percentage (0,100].. |
| bool? | clearSuccessThreshold | Set true to clear success threshold. If true, successThresholdPercent is ignored for this request.. |
| List<DeliverabilityExpectation> | expectations | Optional replacement expectations. |
Properties
View SourceClearMaxDuration
Set true to clear timeout. If true, maxDurationSeconds is ignored for this request.
Declaration
[DataMember(Name = "clearMaxDuration", EmitDefaultValue = true)]
public bool? ClearMaxDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Set true to clear timeout. If true, maxDurationSeconds is ignored for this request. |
ClearSuccessThreshold
Set true to clear success threshold. If true, successThresholdPercent is ignored for this request.
Declaration
[DataMember(Name = "clearSuccessThreshold", EmitDefaultValue = true)]
public bool? ClearSuccessThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Set true to clear success threshold. If true, successThresholdPercent is ignored for this request. |
Description
Optional updated description
Declaration
[DataMember(Name = "description", EmitDefaultValue = true)]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional updated description |
Expectations
Optional replacement expectations
Declaration
[DataMember(Name = "expectations", EmitDefaultValue = true)]
public List<DeliverabilityExpectation> Expectations { get; set; }
Property Value
| Type | Description |
|---|---|
| List<DeliverabilityExpectation> | Optional replacement expectations |
MaxDurationSeconds
Optional updated timeout in seconds
Declaration
[DataMember(Name = "maxDurationSeconds", EmitDefaultValue = true)]
public long? MaxDurationSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| long? | Optional updated timeout in seconds |
Name
Optional updated name
Declaration
[DataMember(Name = "name", EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional updated name |
StartAt
Optional updated receive-window start time. Only applied while test is not terminal.
Declaration
[DataMember(Name = "startAt", EmitDefaultValue = true)]
public DateTime? StartAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Optional updated receive-window start time. Only applied while test is not terminal. |
SuccessThresholdPercent
Optional updated acceptable success threshold percentage (0,100].
Declaration
[DataMember(Name = "successThresholdPercent", EmitDefaultValue = true)]
public double? SuccessThresholdPercent { get; set; }
Property Value
| Type | Description |
|---|---|
| double? | Optional updated acceptable success threshold percentage (0,100]. |
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 |