Show / Hide Table of Contents

Class CreateDigitalTwinRelationshipDetails

The information about new digital twin relationship to be created.

Inheritance
object
CreateDigitalTwinRelationshipDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.IotService.Models
Assembly: OCI.DotNetSDK.Iot.dll
Syntax
public class CreateDigitalTwinRelationshipDetails

Properties

Content

Declaration
[JsonProperty(PropertyName = "content")]
public Dictionary<string, object> Content { get; set; }
Property Value
Type Description
Dictionary<string, object>

The value(s) of the relationship properties defined in the source digital twin model.

ContentPath

Declaration
[Required(ErrorMessage = "ContentPath is required.")]
[JsonProperty(PropertyName = "contentPath")]
public string ContentPath { get; set; }
Property Value
Type Description
string

Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

A short description of the resource.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

IotDomainId

Declaration
[Required(ErrorMessage = "IotDomainId is required.")]
[JsonProperty(PropertyName = "iotDomainId")]
public string IotDomainId { get; set; }
Property Value
Type Description
string

The OCID of the IoT domain.

Remarks

Required

SourceDigitalTwinInstanceId

Declaration
[Required(ErrorMessage = "SourceDigitalTwinInstanceId is required.")]
[JsonProperty(PropertyName = "sourceDigitalTwinInstanceId")]
public string SourceDigitalTwinInstanceId { get; set; }
Property Value
Type Description
string

The OCID of source digital twin instance.

Remarks

Required

TargetDigitalTwinInstanceId

Declaration
[Required(ErrorMessage = "TargetDigitalTwinInstanceId is required.")]
[JsonProperty(PropertyName = "targetDigitalTwinInstanceId")]
public string TargetDigitalTwinInstanceId { get; set; }
Property Value
Type Description
string

The OCID of target digital twin instance.

Remarks

Required

In this article
Back to top