Search Results for

    Show / Hide Table of Contents

    Class TestNewInboxForwarderOptions

    Options for testing new inbox forwarder rules

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

    Constructors

    View Source

    TestNewInboxForwarderOptions()

    Initializes a new instance of the TestNewInboxForwarderOptions class.

    Declaration
    [JsonConstructor]
    protected TestNewInboxForwarderOptions()
    View Source

    TestNewInboxForwarderOptions(InboxForwarderTestOptions, CreateInboxForwarderOptions)

    Initializes a new instance of the TestNewInboxForwarderOptions class.

    Declaration
    public TestNewInboxForwarderOptions(InboxForwarderTestOptions inboxForwarderTestOptions = null, CreateInboxForwarderOptions createInboxForwarderOptions = null)
    Parameters
    Type Name Description
    InboxForwarderTestOptions inboxForwarderTestOptions

    inboxForwarderTestOptions (required).

    CreateInboxForwarderOptions createInboxForwarderOptions

    createInboxForwarderOptions (required).

    Properties

    View Source

    CreateInboxForwarderOptions

    Gets or Sets CreateInboxForwarderOptions

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

    InboxForwarderTestOptions

    Gets or Sets InboxForwarderTestOptions

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

    Methods

    View Source

    Equals(TestNewInboxForwarderOptions)

    Returns true if TestNewInboxForwarderOptions instances are equal

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

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