Class DigitalTwinAdapterInboundRoute
Defines how inbound device payloads should be routed and mapped within a digital twin context. Routes are evaluated in the order they are defined, and only the first matching condition is processed. A final default route (with a condition that always evaluates to true) is recommended for fallback handling.
Inherited Members
Namespace: Oci.IotService.Models
Assembly: OCI.DotNetSDK.Iot.dll
Syntax
public class DigitalTwinAdapterInboundRoute
Properties
Condition
Declaration
[Required(ErrorMessage = "Condition is required.")]
[JsonProperty(PropertyName = "condition")]
public string Condition { get; set; }
Property Value
Type | Description |
---|---|
string | A boolean expression used to determine whether the following transformation
should be processed for the incoming payload. This expression is typically based
on fields defined at the inbound Envelope and is evaluated before applying the |
Remarks
Required
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Meaningful write up about the inbound route. |
PayloadMapping
Declaration
[JsonProperty(PropertyName = "payloadMapping")]
public Dictionary<string, string> PayloadMapping { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
ReferencePayload
Declaration
[JsonProperty(PropertyName = "referencePayload")]
public DigitalTwinAdapterPayload ReferencePayload { get; set; }
Property Value
Type | Description |
---|---|
DigitalTwinAdapterPayload |