Search Results for

    Show / Hide Table of Contents

    Class DomainMonitorDto

    DomainMonitorDto

    Inheritance
    object
    DomainMonitorDto
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "DomainMonitorDto")]
    public class DomainMonitorDto : IValidatableObject

    Constructors

    View Source

    DomainMonitorDto()

    Initializes a new instance of the DomainMonitorDto class.

    Declaration
    [JsonConstructor]
    protected DomainMonitorDto()
    View Source

    DomainMonitorDto(Guid, Guid, string, string, long, bool, bool, LastStatusEnum?, int, DateTime, DateTime, DateTime, DateTime)

    Initializes a new instance of the DomainMonitorDto class.

    Declaration
    public DomainMonitorDto(Guid id = default, Guid userId = default, string domain = null, string name = null, long intervalSeconds = 0, bool enabled = false, bool schedulingEnabled = false, DomainMonitorDto.LastStatusEnum? lastStatus = null, int healthScore = 0, DateTime lastRunAt = default, DateTime nextRunAt = default, DateTime createdAt = default, DateTime updatedAt = default)
    Parameters
    Type Name Description
    Guid id

    id (required).

    Guid userId

    userId (required).

    string domain

    domain (required).

    string name

    name.

    long intervalSeconds

    intervalSeconds.

    bool enabled

    enabled (required).

    bool schedulingEnabled

    schedulingEnabled (required).

    DomainMonitorDto.LastStatusEnum? lastStatus

    lastStatus.

    int healthScore

    healthScore.

    DateTime lastRunAt

    lastRunAt.

    DateTime nextRunAt

    nextRunAt.

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    Properties

    View Source

    CreatedAt

    Gets or Sets CreatedAt

    Declaration
    [DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    Domain

    Gets or Sets Domain

    Declaration
    [DataMember(Name = "domain", IsRequired = true, EmitDefaultValue = true)]
    public string Domain { get; set; }
    Property Value
    Type Description
    string
    View Source

    Enabled

    Gets or Sets Enabled

    Declaration
    [DataMember(Name = "enabled", IsRequired = true, EmitDefaultValue = true)]
    public bool Enabled { get; set; }
    Property Value
    Type Description
    bool
    View Source

    HealthScore

    Gets or Sets HealthScore

    Declaration
    [DataMember(Name = "healthScore", EmitDefaultValue = false)]
    public int HealthScore { get; set; }
    Property Value
    Type Description
    int
    View Source

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    IntervalSeconds

    Gets or Sets IntervalSeconds

    Declaration
    [DataMember(Name = "intervalSeconds", EmitDefaultValue = false)]
    public long IntervalSeconds { get; set; }
    Property Value
    Type Description
    long
    View Source

    LastRunAt

    Gets or Sets LastRunAt

    Declaration
    [DataMember(Name = "lastRunAt", EmitDefaultValue = false)]
    public DateTime LastRunAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    LastStatus

    Gets or Sets LastStatus

    Declaration
    [DataMember(Name = "lastStatus", EmitDefaultValue = false)]
    public DomainMonitorDto.LastStatusEnum? LastStatus { get; set; }
    Property Value
    Type Description
    DomainMonitorDto.LastStatusEnum?
    View Source

    Name

    Gets or Sets Name

    Declaration
    [DataMember(Name = "name", EmitDefaultValue = false)]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    NextRunAt

    Gets or Sets NextRunAt

    Declaration
    [DataMember(Name = "nextRunAt", EmitDefaultValue = false)]
    public DateTime NextRunAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    SchedulingEnabled

    Gets or Sets SchedulingEnabled

    Declaration
    [DataMember(Name = "schedulingEnabled", IsRequired = true, EmitDefaultValue = true)]
    public bool SchedulingEnabled { get; set; }
    Property Value
    Type Description
    bool
    View Source

    UpdatedAt

    Gets or Sets UpdatedAt

    Declaration
    [DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime UpdatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    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 Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.