Class DeliverabilitySimulationJobEventDto
Single event for a deliverability simulation job
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DeliverabilitySimulationJobEventDto")]
public class DeliverabilitySimulationJobEventDto : IValidatableObject
Constructors
View SourceDeliverabilitySimulationJobEventDto()
Initializes a new instance of the DeliverabilitySimulationJobEventDto class.
Declaration
[JsonConstructor]
protected DeliverabilitySimulationJobEventDto()
DeliverabilitySimulationJobEventDto(Guid, EventTypeEnum, long?, Guid?, string, string, int?, string, string, DateTime)
Initializes a new instance of the DeliverabilitySimulationJobEventDto class.
Declaration
public DeliverabilitySimulationJobEventDto(Guid id = default, DeliverabilitySimulationJobEventDto.EventTypeEnum eventType = (DeliverabilitySimulationJobEventDto.EventTypeEnum)0, long? sendIndex = null, Guid? entityId = null, string targetLabel = null, string expectationName = null, int? attempt = null, string message = null, string error = null, DateTime createdAt = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| DeliverabilitySimulationJobEventDto.EventTypeEnum | eventType | eventType (required). |
| long? | sendIndex | sendIndex. |
| Guid? | entityId | entityId. |
| string | targetLabel | targetLabel. |
| string | expectationName | expectationName. |
| int? | attempt | attempt. |
| string | message | message. |
| string | error | error. |
| DateTime | createdAt | createdAt (required). |
Properties
View SourceAttempt
Gets or Sets Attempt
Declaration
[DataMember(Name = "attempt", EmitDefaultValue = true)]
public int? Attempt { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
EntityId
Gets or Sets EntityId
Declaration
[DataMember(Name = "entityId", EmitDefaultValue = true)]
public Guid? EntityId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Error
Gets or Sets Error
Declaration
[DataMember(Name = "error", EmitDefaultValue = true)]
public string Error { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventType
Gets or Sets EventType
Declaration
[DataMember(Name = "eventType", IsRequired = true, EmitDefaultValue = true)]
public DeliverabilitySimulationJobEventDto.EventTypeEnum EventType { get; set; }
Property Value
| Type | Description |
|---|---|
| DeliverabilitySimulationJobEventDto.EventTypeEnum |
ExpectationName
Gets or Sets ExpectationName
Declaration
[DataMember(Name = "expectationName", EmitDefaultValue = true)]
public string ExpectationName { 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 |
Message
Gets or Sets Message
Declaration
[DataMember(Name = "message", EmitDefaultValue = true)]
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SendIndex
Gets or Sets SendIndex
Declaration
[DataMember(Name = "sendIndex", EmitDefaultValue = true)]
public long? SendIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
TargetLabel
Gets or Sets TargetLabel
Declaration
[DataMember(Name = "targetLabel", EmitDefaultValue = true)]
public string TargetLabel { 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 |