Share via


ValidationInputResponse Class

Definition

Minimum properties that should be present in each individual validation response.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ValidationInputResponseTypeConverter))]
public class ValidationInputResponse : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IValidationInputResponse
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ValidationInputResponseTypeConverter))>]
type ValidationInputResponse = class
    interface IValidationInputResponse
    interface IJsonSerializable
Public Class ValidationInputResponse
Implements IValidationInputResponse
Inheritance
ValidationInputResponse
Attributes
Implements

Constructors

ValidationInputResponse()

Creates an new ValidationInputResponse instance.

Properties

AdditionalInfo

Gets or sets additional error info.

Code

Error code.

Detail

Gets or sets details for the error.

Message

The error message parsed from the body of the http error response.

Target

Gets or sets the target of the error.

ValidationType

Identifies the type of validation response.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ValidationInputResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ValidationInputResponse.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IValidationInputResponse. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IValidationInputResponse interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of ValidationInputResponse, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ValidationInputResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to