Class ValidationCheckResult
This class models the results of a single check performed during a validation action
Inheritance
System.Object
ValidationCheckResult
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dangl.AVACloud.Client
Assembly: Dangl.AVACloud.Client.dll
Syntax
public class ValidationCheckResult : INotifyPropertyChanged
Properties
| Improve this Doc View SourceCheckType
The actual check that is represented by this result. Additional information
may be found in other properties of this class, depending on the check.
Declaration
[JsonProperty("checkType", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public ValidationCheckType CheckType { get; set; }
Property Value
Type | Description |
---|---|
ValidationCheckType |
Message
A human readable message describing the result of the check.
Declaration
[JsonProperty("message", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ObjectValidationCheckDetails
For CheckType of types ObjectValidation
Declaration
[JsonProperty("objectValidationCheckDetails", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObjectValidationCheckDetails ObjectValidationCheckDetails { get; set; }
Property Value
Type | Description |
---|---|
ObjectValidationCheckDetails |
ProjectValidationCheckDetails
For CheckType of types ProjectValidation
Declaration
[JsonProperty("projectValidationCheckDetails", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ProjectValidationCheckDetails ProjectValidationCheckDetails { get; set; }
Property Value
Type | Description |
---|---|
ProjectValidationCheckDetails |
Severity
The severity for this check. Usually, low severity checks do not impact
data exchange with third party applications
Declaration
[JsonProperty("severity", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public ValidationSeverity Severity { get; set; }
Property Value
Type | Description |
---|---|
ValidationSeverity |
XmlSchemaValidationCheckDetails
For CheckType of types XmlSchemaCheck
Declaration
[JsonProperty("xmlSchemaValidationCheckDetails", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public XmlSchemaValidationCheckDetails XmlSchemaValidationCheckDetails { get; set; }
Property Value
Type | Description |
---|---|
XmlSchemaValidationCheckDetails |
Methods
| Improve this Doc View SourceFromJson(String)
Declaration
public static ValidationCheckResult FromJson(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data |
Returns
Type | Description |
---|---|
ValidationCheckResult |
RaisePropertyChanged(String)
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
ToJson()
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged