Class CampaignProbeSeriesDto
CampaignProbeSeriesDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CampaignProbeSeriesDto")]
public class CampaignProbeSeriesDto : IValidatableObject
Constructors
View SourceCampaignProbeSeriesDto()
Initializes a new instance of the CampaignProbeSeriesDto class.
Declaration
[JsonConstructor]
protected CampaignProbeSeriesDto()
CampaignProbeSeriesDto(Guid, DateTime, DateTime, BucketEnum, List<CampaignProbeSeriesPointDto>)
Initializes a new instance of the CampaignProbeSeriesDto class.
Declaration
public CampaignProbeSeriesDto(Guid probeId = default, DateTime since = default, DateTime before = default, CampaignProbeSeriesDto.BucketEnum bucket = (CampaignProbeSeriesDto.BucketEnum)0, List<CampaignProbeSeriesPointDto> points = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | probeId | probeId (required). |
| DateTime | since | since (required). |
| DateTime | before | before (required). |
| CampaignProbeSeriesDto.BucketEnum | bucket | bucket (required). |
| List<CampaignProbeSeriesPointDto> | points | points (required). |
Properties
View SourceBefore
Gets or Sets Before
Declaration
[DataMember(Name = "before", IsRequired = true, EmitDefaultValue = true)]
public DateTime Before { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Bucket
Gets or Sets Bucket
Declaration
[DataMember(Name = "bucket", IsRequired = true, EmitDefaultValue = true)]
public CampaignProbeSeriesDto.BucketEnum Bucket { get; set; }
Property Value
| Type | Description |
|---|---|
| CampaignProbeSeriesDto.BucketEnum |
Points
Gets or Sets Points
Declaration
[DataMember(Name = "points", IsRequired = true, EmitDefaultValue = true)]
public List<CampaignProbeSeriesPointDto> Points { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CampaignProbeSeriesPointDto> |
ProbeId
Gets or Sets ProbeId
Declaration
[DataMember(Name = "probeId", IsRequired = true, EmitDefaultValue = true)]
public Guid ProbeId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Since
Gets or Sets Since
Declaration
[DataMember(Name = "since", IsRequired = true, EmitDefaultValue = true)]
public DateTime Since { 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 |