Class StructuredOutputSchemaValidation
StructuredOutputSchemaValidation
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "StructuredOutputSchemaValidation")]
public class StructuredOutputSchemaValidation : IValidatableObject
Constructors
View SourceStructuredOutputSchemaValidation()
Initializes a new instance of the StructuredOutputSchemaValidation class.
Declaration
[JsonConstructor]
protected StructuredOutputSchemaValidation()
StructuredOutputSchemaValidation(bool, List<string>, string)
Initializes a new instance of the StructuredOutputSchemaValidation class.
Declaration
public StructuredOutputSchemaValidation(bool valid = false, List<string> errors = null, string exampleOutput = null)
Parameters
Type | Name | Description |
---|---|---|
bool | valid | valid (required). |
List<string> | errors | errors. |
string | exampleOutput | exampleOutput. |
Properties
View SourceErrors
Gets or Sets Errors
Declaration
[DataMember(Name = "errors", EmitDefaultValue = false)]
public List<string> Errors { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
ExampleOutput
Gets or Sets ExampleOutput
Declaration
[DataMember(Name = "exampleOutput", EmitDefaultValue = false)]
public string ExampleOutput { get; set; }
Property Value
Type | Description |
---|---|
string |
Valid
Gets or Sets Valid
Declaration
[DataMember(Name = "valid", IsRequired = true, EmitDefaultValue = true)]
public bool Valid { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 |