共用方式為


SourceControlSampleQueries Class

Definition

The sample queries for the connector.

public class SourceControlSampleQueries : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.SourceControlSampleQueries>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.SourceControlSampleQueries>
type SourceControlSampleQueries = class
    interface IJsonModel<SourceControlSampleQueries>
    interface IPersistableModel<SourceControlSampleQueries>
Public Class SourceControlSampleQueries
Implements IJsonModel(Of SourceControlSampleQueries), IPersistableModel(Of SourceControlSampleQueries)
Inheritance
SourceControlSampleQueries
Implements

Constructors

SourceControlSampleQueries()

Initializes a new instance of SourceControlSampleQueries.

Properties

Description

The sample query description.

Query

the sample query.

Explicit Interface Implementations

IJsonModel<SourceControlSampleQueries>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceControlSampleQueries>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceControlSampleQueries>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceControlSampleQueries>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceControlSampleQueries>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to