Search Results for

    Show / Hide Table of Contents

    Class ConnectorDto

    ConnectorDto

    Inheritance
    object
    ConnectorDto
    Implements
    IEquatable<ConnectorDto>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "ConnectorDto")]
    public class ConnectorDto : IEquatable<ConnectorDto>, IValidatableObject

    Constructors

    View Source

    ConnectorDto()

    Initializes a new instance of the ConnectorDto class.

    Declaration
    [JsonConstructor]
    protected ConnectorDto()
    View Source

    ConnectorDto(Guid, string, bool, Guid, Guid, bool, SyncScheduleTypeEnum?, int?, bool, bool, DateTime)

    Initializes a new instance of the ConnectorDto class.

    Declaration
    public ConnectorDto(Guid id = default, string name = null, bool enabled = false, Guid userId = default, Guid inboxId = default, bool syncEnabled = false, ConnectorDto.SyncScheduleTypeEnum? syncScheduleType = null, int? syncInterval = null, bool hasImapConnection = false, bool hasSmtpConnection = false, DateTime createdAt = default)
    Parameters
    Type Name Description
    System.Guid id

    id (required).

    string name

    name.

    bool enabled

    enabled (required).

    System.Guid userId

    userId (required).

    System.Guid inboxId

    inboxId (required).

    bool syncEnabled

    syncEnabled (required).

    ConnectorDto.SyncScheduleTypeEnum? syncScheduleType

    syncScheduleType.

    int? syncInterval

    syncInterval.

    bool hasImapConnection

    hasImapConnection (required).

    bool hasSmtpConnection

    hasSmtpConnection (required).

    DateTime createdAt

    createdAt (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

    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

    HasImapConnection

    Gets or Sets HasImapConnection

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

    HasSmtpConnection

    Gets or Sets HasSmtpConnection

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

    Id

    Gets or Sets Id

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

    InboxId

    Gets or Sets InboxId

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

    Name

    Gets or Sets Name

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

    SyncEnabled

    Gets or Sets SyncEnabled

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

    SyncInterval

    Gets or Sets SyncInterval

    Declaration
    [DataMember(Name = "syncInterval", EmitDefaultValue = true)]
    public int? SyncInterval { get; set; }
    Property Value
    Type Description
    int?
    View Source

    SyncScheduleType

    Gets or Sets SyncScheduleType

    Declaration
    [DataMember(Name = "syncScheduleType", EmitDefaultValue = true)]
    public ConnectorDto.SyncScheduleTypeEnum? SyncScheduleType { get; set; }
    Property Value
    Type Description
    ConnectorDto.SyncScheduleTypeEnum?
    View Source

    UserId

    Gets or Sets UserId

    Declaration
    [DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
    public Guid UserId { get; set; }
    Property Value
    Type Description
    System.Guid

    Methods

    View Source

    Equals(ConnectorDto)

    Returns true if ConnectorDto instances are equal

    Declaration
    public bool Equals(ConnectorDto input)
    Parameters
    Type Name Description
    ConnectorDto input

    Instance of ConnectorDto to be compared

    Returns
    Type Description
    bool

    Boolean

    View Source

    Equals(object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    object input

    Object to be compared

    Returns
    Type Description
    bool

    Boolean

    Overrides
    Object.Equals(Object)
    View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    Object.GetHashCode()
    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()
    View Source

    Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext

    Validation context

    Returns
    Type Description
    IEnumerable<ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.