Partilhar via


SourceControlOperationWarningBody Class

Definition

Warning details.

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

Properties

Code

An identifier for the warning. Codes are invariant and are intended to be consumed programmatically.

Details

Gets the details.

Message

A message describing the warning, intended to be suitable for display in a user interface.

Explicit Interface Implementations

IJsonModel<SourceControlOperationWarningBody>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceControlOperationWarningBody>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceControlOperationWarningBody>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceControlOperationWarningBody>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceControlOperationWarningBody>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to