CreateDigitalTwinModelDetails¶
-
class
oci.iot.models.
CreateDigitalTwinModelDetails
(**kwargs)¶ Bases:
object
The information about new digital twin model to be created.
Methods
__init__
(**kwargs)Initializes a new CreateDigitalTwinModelDetails object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this CreateDigitalTwinModelDetails. description
Gets the description of this CreateDigitalTwinModelDetails. display_name
Gets the display_name of this CreateDigitalTwinModelDetails. freeform_tags
Gets the freeform_tags of this CreateDigitalTwinModelDetails. iot_domain_id
[Required] Gets the iot_domain_id of this CreateDigitalTwinModelDetails. spec
[Required] Gets the spec of this CreateDigitalTwinModelDetails. -
__init__
(**kwargs)¶ Initializes a new CreateDigitalTwinModelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - iot_domain_id (str) – The value to assign to the iot_domain_id property of this CreateDigitalTwinModelDetails.
- display_name (str) – The value to assign to the display_name property of this CreateDigitalTwinModelDetails.
- description (str) – The value to assign to the description property of this CreateDigitalTwinModelDetails.
- spec (dict(str, object)) – The value to assign to the spec property of this CreateDigitalTwinModelDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDigitalTwinModelDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDigitalTwinModelDetails.
Gets the defined_tags of this CreateDigitalTwinModelDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateDigitalTwinModelDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateDigitalTwinModelDetails. A short description of the resource. If left blank, the description will be derived from the spec.
Returns: The description of this CreateDigitalTwinModelDetails. Return type: str
-
display_name
¶ Gets the display_name of this CreateDigitalTwinModelDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
Returns: The display_name of this CreateDigitalTwinModelDetails. Return type: str
Gets the freeform_tags of this CreateDigitalTwinModelDetails. 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”}
Returns: The freeform_tags of this CreateDigitalTwinModelDetails. Return type: dict(str, str)
-
iot_domain_id
¶ [Required] Gets the iot_domain_id of this CreateDigitalTwinModelDetails. The OCID of the IoT domain.
Returns: The iot_domain_id of this CreateDigitalTwinModelDetails. Return type: str
-
spec
¶ [Required] Gets the spec of this CreateDigitalTwinModelDetails. The specification of the digital twin model (DTDL).
Returns: The spec of this CreateDigitalTwinModelDetails. Return type: dict(str, object)
-