Partilhar via


IotHubTestRouteContent Class

Definition

Input for testing route.

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

Constructors

IotHubTestRouteContent(RoutingRuleProperties)

Initializes a new instance of IotHubTestRouteContent.

Properties

Message

Routing message.

Route

Route properties.

Twin

Routing Twin Reference.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IotHubTestRouteContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IotHubTestRouteContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubTestRouteContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubTestRouteContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IotHubTestRouteContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to