다음을 통해 공유


DataBoxValidationContent Class

Definition

Minimum request requirement of any validation category. Please note DataBoxValidationContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CreateJobValidationContent.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataBox.Models.UnknownValidationRequest))]
public abstract class DataBoxValidationContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataBox.Models.DataBoxValidationContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataBox.Models.DataBoxValidationContent>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataBox.Models.UnknownValidationRequest))>]
type DataBoxValidationContent = class
    interface IJsonModel<DataBoxValidationContent>
    interface IPersistableModel<DataBoxValidationContent>
Public MustInherit Class DataBoxValidationContent
Implements IJsonModel(Of DataBoxValidationContent), IPersistableModel(Of DataBoxValidationContent)
Inheritance
DataBoxValidationContent
Derived
Attributes
Implements

Constructors

DataBoxValidationContent(IEnumerable<DataBoxValidationInputContent>)

Initializes a new instance of DataBoxValidationContent.

Properties

IndividualRequestDetails

List of request details contain validationType and its request as key and value respectively. Please note DataBoxValidationInputContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataBoxValidateAddressContent, CreateOrderLimitForSubscriptionValidationContent, DataTransferDetailsValidationContent, PreferencesValidationContent, SkuAvailabilityValidationContent and SubscriptionIsAllowedToCreateJobValidationContent.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataBoxValidationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataBoxValidationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataBoxValidationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataBoxValidationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataBoxValidationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to