Class ConditionOption
Options for matching emails in an inbox based on a condition such as HAS_ATTACHMENTS=TRUE
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ConditionOption")]
public class ConditionOption : IValidatableObject
Constructors
View SourceConditionOption()
Initializes a new instance of the ConditionOption class.
Declaration
[JsonConstructor]
protected ConditionOption()
ConditionOption(ConditionEnum, ValueEnum)
Initializes a new instance of the ConditionOption class.
Declaration
public ConditionOption(ConditionOption.ConditionEnum condition = (ConditionOption.ConditionEnum)0, ConditionOption.ValueEnum value = (ConditionOption.ValueEnum)0)
Parameters
Type | Name | Description |
---|---|---|
ConditionOption.ConditionEnum | condition | Condition of an email object that can be used to filter results (required). |
ConditionOption.ValueEnum | value | Expected condition value (required). |
Properties
View SourceCondition
Condition of an email object that can be used to filter results
Declaration
[DataMember(Name = "condition", IsRequired = true, EmitDefaultValue = true)]
public ConditionOption.ConditionEnum Condition { get; set; }
Property Value
Type | Description |
---|---|
ConditionOption.ConditionEnum | Condition of an email object that can be used to filter results |
Value
Expected condition value
Declaration
[DataMember(Name = "value", IsRequired = true, EmitDefaultValue = true)]
public ConditionOption.ValueEnum Value { get; set; }
Property Value
Type | Description |
---|---|
ConditionOption.ValueEnum | Expected condition value |
Methods
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 |