Class ConditionalStructuredContentResult
ConditionalStructuredContentResult
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ConditionalStructuredContentResult")]
public class ConditionalStructuredContentResult : IValidatableObject
Constructors
View SourceConditionalStructuredContentResult()
Initializes a new instance of the ConditionalStructuredContentResult class.
Declaration
[JsonConstructor]
protected ConditionalStructuredContentResult()
ConditionalStructuredContentResult(object, bool, int)
Initializes a new instance of the ConditionalStructuredContentResult class.
Declaration
public ConditionalStructuredContentResult(object result = null, bool conditionsMatch = false, int tokenCount = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| object | result | result. |
| bool | conditionsMatch | conditionsMatch (required). |
| int | tokenCount | tokenCount. |
Properties
View SourceConditionsMatch
Gets or Sets ConditionsMatch
Declaration
[DataMember(Name = "conditionsMatch", IsRequired = true, EmitDefaultValue = true)]
public bool ConditionsMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Result
Gets or Sets Result
Declaration
[DataMember(Name = "result", EmitDefaultValue = true)]
public object Result { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
TokenCount
Gets or Sets TokenCount
Declaration
[DataMember(Name = "tokenCount", EmitDefaultValue = false)]
public int TokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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 |