RequestMetadata Class

Definition

Request metadata of execute request post call payload.

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

Constructors

Name Description
RequestMetadata(String, HttpMethod, String)

Initializes a new instance of RequestMetadata.

Properties

Name Description
ApiVersion

The api version of the request.

HttpMethod

The http method of the request.

RelativePath

The relative path of the request.

SerializedBody

The serialized body of the request.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<RequestMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RequestMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RequestMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RequestMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RequestMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to