Search Results for

    Show / Hide Table of Contents

    Class ConnectorProjection

    Connector

    Inheritance
    object
    ConnectorProjection
    Implements
    IEquatable<ConnectorProjection>
    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 = "ConnectorProjection")]
    public class ConnectorProjection : IEquatable<ConnectorProjection>, IValidatableObject

    Constructors

    View Source

    ConnectorProjection()

    Initializes a new instance of the ConnectorProjection class.

    Declaration
    [JsonConstructor]
    protected ConnectorProjection()
    View Source

    ConnectorProjection(DateTime, bool, Guid, string, Guid, bool, SyncScheduleTypeEnum, int, string, Guid)

    Initializes a new instance of the ConnectorProjection class.

    Declaration
    public ConnectorProjection(DateTime createdAt = default, bool enabled = false, Guid inboxId = default, string emailAddress = null, Guid userId = default, bool syncEnabled = false, ConnectorProjection.SyncScheduleTypeEnum syncScheduleType = (ConnectorProjection.SyncScheduleTypeEnum)0, int syncInterval = 0, string name = null, Guid id = default)
    Parameters
    Type Name Description
    DateTime createdAt

    createdAt (required).

    bool enabled

    enabled.

    System.Guid inboxId

    inboxId (required).

    string emailAddress

    emailAddress.

    System.Guid userId

    userId (required).

    bool syncEnabled

    syncEnabled.

    ConnectorProjection.SyncScheduleTypeEnum syncScheduleType

    syncScheduleType (required).

    int syncInterval

    syncInterval.

    string name

    name.

    System.Guid id

    id.

    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

    EmailAddress

    Gets or Sets EmailAddress

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

    Enabled

    Gets or Sets Enabled

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

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    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 = false)]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    SyncEnabled

    Gets or Sets SyncEnabled

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

    SyncInterval

    Gets or Sets SyncInterval

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

    SyncScheduleType

    Gets or Sets SyncScheduleType

    Declaration
    [DataMember(Name = "syncScheduleType", IsRequired = true, EmitDefaultValue = true)]
    public ConnectorProjection.SyncScheduleTypeEnum SyncScheduleType { get; set; }
    Property Value
    Type Description
    ConnectorProjection.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(ConnectorProjection)

    Returns true if ConnectorProjection instances are equal

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

    Instance of ConnectorProjection 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.