Class TestNewInboxForwarderOptions
Options for testing new inbox forwarder rules
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "TestNewInboxForwarderOptions")]
public class TestNewInboxForwarderOptions : IEquatable<TestNewInboxForwarderOptions>, IValidatableObject
Constructors
View SourceTestNewInboxForwarderOptions()
Initializes a new instance of the TestNewInboxForwarderOptions class.
Declaration
[JsonConstructor]
protected TestNewInboxForwarderOptions()
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 SourceCreateInboxForwarderOptions
Gets or Sets CreateInboxForwarderOptions
Declaration
[DataMember(Name = "createInboxForwarderOptions", IsRequired = true, EmitDefaultValue = true)]
public CreateInboxForwarderOptions CreateInboxForwarderOptions { get; set; }
Property Value
Type | Description |
---|---|
CreateInboxForwarderOptions |
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 SourceEquals(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 |
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
View SourceGetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | Hash code |
Overrides
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |
Overrides
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 |