Class CampaignProbeDto
CampaignProbeDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CampaignProbeDto")]
public class CampaignProbeDto : IValidatableObject
Constructors
View SourceCampaignProbeDto()
Initializes a new instance of the CampaignProbeDto class.
Declaration
[JsonConstructor]
protected CampaignProbeDto()
CampaignProbeDto(Guid, Guid, string, string, string, bool, long, bool, DateTime, LastRunStatusEnum?, int, DateTime, long, DateTime, DateTime)
Initializes a new instance of the CampaignProbeDto class.
Declaration
public CampaignProbeDto(Guid id = default, Guid userId = default, string name = null, string localPart = null, string emailAddress = null, bool enabled = false, long intervalSeconds = 0, bool schedulingEnabled = false, DateTime nextRunAt = default, CampaignProbeDto.LastRunStatusEnum? lastRunStatus = null, int lastHealthScore = 0, DateTime lastIngestAt = default, long totalIngestCount = 0, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| Guid | userId | userId (required). |
| string | name | name. |
| string | localPart | localPart (required). |
| string | emailAddress | emailAddress (required). |
| bool | enabled | enabled (required). |
| long | intervalSeconds | intervalSeconds. |
| bool | schedulingEnabled | schedulingEnabled (required). |
| DateTime | nextRunAt | nextRunAt. |
| CampaignProbeDto.LastRunStatusEnum? | lastRunStatus | lastRunStatus. |
| int | lastHealthScore | lastHealthScore. |
| DateTime | lastIngestAt | lastIngestAt. |
| long | totalIngestCount | totalIngestCount (required). |
| DateTime | createdAt | createdAt (required). |
| DateTime | updatedAt | updatedAt (required). |
Properties
View SourceCreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
EmailAddress
Gets or Sets EmailAddress
Declaration
[DataMember(Name = "emailAddress", IsRequired = true, EmitDefaultValue = true)]
public string EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Enabled
Gets or Sets Enabled
Declaration
[DataMember(Name = "enabled", IsRequired = true, EmitDefaultValue = true)]
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
IntervalSeconds
Gets or Sets IntervalSeconds
Declaration
[DataMember(Name = "intervalSeconds", EmitDefaultValue = false)]
public long IntervalSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
LastHealthScore
Gets or Sets LastHealthScore
Declaration
[DataMember(Name = "lastHealthScore", EmitDefaultValue = false)]
public int LastHealthScore { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
LastIngestAt
Gets or Sets LastIngestAt
Declaration
[DataMember(Name = "lastIngestAt", EmitDefaultValue = false)]
public DateTime LastIngestAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
LastRunStatus
Gets or Sets LastRunStatus
Declaration
[DataMember(Name = "lastRunStatus", EmitDefaultValue = false)]
public CampaignProbeDto.LastRunStatusEnum? LastRunStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| CampaignProbeDto.LastRunStatusEnum? |
LocalPart
Gets or Sets LocalPart
Declaration
[DataMember(Name = "localPart", IsRequired = true, EmitDefaultValue = true)]
public string LocalPart { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NextRunAt
Gets or Sets NextRunAt
Declaration
[DataMember(Name = "nextRunAt", EmitDefaultValue = false)]
public DateTime NextRunAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
SchedulingEnabled
Gets or Sets SchedulingEnabled
Declaration
[DataMember(Name = "schedulingEnabled", IsRequired = true, EmitDefaultValue = true)]
public bool SchedulingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
TotalIngestCount
Gets or Sets TotalIngestCount
Declaration
[DataMember(Name = "totalIngestCount", IsRequired = true, EmitDefaultValue = true)]
public long TotalIngestCount { 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 |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
public Guid UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
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 |