Bagikan melalui


ValidationRequest Class

Definition

Minimum request requirement of any validation category.

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

Constructors

ValidationRequest()

Creates an new ValidationRequest instance.

Properties

IndividualRequestDetail

List of request details contain validationType and its request as key and value respectively.

ValidationCategory

Identify the nature of validation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ValidationRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ValidationRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IValidationRequest. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IValidationRequest 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 ValidationRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ValidationRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to