Class ValidationStatus
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Generated
- Assembly
- Azure.Iot.Operations.Services.dll
Indicates whether validation was performed, and if not, the reason why not (e.g., "unsupported format", "validation disabled").
public class ValidationStatus
- Inheritance
-
ValidationStatus
- Inherited Members
Properties
Reason
If validation was not performed, the reason why not. MUST be present if validated is false. MUST NOT be present if validated is true.
[JsonPropertyName("reason")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Reason { get; set; }
Property Value
Validated
True if validation was performed and the entity adheres to the rules; false if validation was not performed.
[JsonPropertyName("validated")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public bool Validated { get; set; }