Search Results for

    Show / Hide Table of Contents

    Class CreateConnectorOptions

    Options for creating an inbox connection with an external mail provider

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

    Constructors

    View Source

    CreateConnectorOptions(bool?, SyncScheduleTypeEnum?, int?, string, string, bool?)

    Initializes a new instance of the CreateConnectorOptions class.

    Declaration
    public CreateConnectorOptions(bool? syncEnabled = null, CreateConnectorOptions.SyncScheduleTypeEnum? syncScheduleType = null, int? syncInterval = null, string name = null, string emailAddress = null, bool? enabled = null)
    Parameters
    Type Name Description
    bool? syncEnabled

    Enable automatic background sync.

    CreateConnectorOptions.SyncScheduleTypeEnum? syncScheduleType

    Sync schedule type.

    int? syncInterval

    Sync interval in minutes.

    string name

    Name of connector.

    string emailAddress

    Email address of external inbox.

    bool? enabled

    Is connector enabled.

    Properties

    View Source

    EmailAddress

    Email address of external inbox

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

    Email address of external inbox

    View Source

    Enabled

    Is connector enabled

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

    Is connector enabled

    View Source

    Name

    Name of connector

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

    Name of connector

    View Source

    SyncEnabled

    Enable automatic background sync

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

    Enable automatic background sync

    View Source

    SyncInterval

    Sync interval in minutes

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

    Sync interval in minutes

    View Source

    SyncScheduleType

    Sync schedule type

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

    Sync schedule type

    Methods

    View Source

    Equals(CreateConnectorOptions)

    Returns true if CreateConnectorOptions instances are equal

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

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