Class TestNewInboxRulesetOptions
Test inbox ruleset options
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "TestNewInboxRulesetOptions")]
public class TestNewInboxRulesetOptions : IEquatable<TestNewInboxRulesetOptions>, IValidatableObject
Constructors
View SourceTestNewInboxRulesetOptions()
Initializes a new instance of the TestNewInboxRulesetOptions class.
Declaration
[JsonConstructor]
protected TestNewInboxRulesetOptions()
TestNewInboxRulesetOptions(InboxRulesetTestOptions, CreateInboxRulesetOptions)
Initializes a new instance of the TestNewInboxRulesetOptions class.
Declaration
public TestNewInboxRulesetOptions(InboxRulesetTestOptions inboxRulesetTestOptions = null, CreateInboxRulesetOptions createInboxRulesetOptions = null)
Parameters
Type | Name | Description |
---|---|---|
InboxRulesetTestOptions | inboxRulesetTestOptions | inboxRulesetTestOptions (required). |
CreateInboxRulesetOptions | createInboxRulesetOptions | createInboxRulesetOptions (required). |
Properties
View SourceCreateInboxRulesetOptions
Gets or Sets CreateInboxRulesetOptions
Declaration
[DataMember(Name = "createInboxRulesetOptions", IsRequired = true, EmitDefaultValue = true)]
public CreateInboxRulesetOptions CreateInboxRulesetOptions { get; set; }
Property Value
Type | Description |
---|---|
CreateInboxRulesetOptions |
InboxRulesetTestOptions
Gets or Sets InboxRulesetTestOptions
Declaration
[DataMember(Name = "inboxRulesetTestOptions", IsRequired = true, EmitDefaultValue = true)]
public InboxRulesetTestOptions InboxRulesetTestOptions { get; set; }
Property Value
Type | Description |
---|---|
InboxRulesetTestOptions |
Methods
View SourceEquals(TestNewInboxRulesetOptions)
Returns true if TestNewInboxRulesetOptions instances are equal
Declaration
public bool Equals(TestNewInboxRulesetOptions input)
Parameters
Type | Name | Description |
---|---|---|
TestNewInboxRulesetOptions | input | Instance of TestNewInboxRulesetOptions 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 |