Object Models¶
Object model is the definition of inventory object's behavior.
Name | Type | Description |
---|---|---|
name | String | Model name |
description | String | Model description |
vendor | Reference | Vendor reference |
data | Object | Model attributes, refer to Model Interface |
connections | Array of Object | Possible connections |
name | String | Unique connection name |
description | String | Connection description |
type | Reference | Connection Type reference |
direction | String | Connection direction (See Direction Discussion for details): |
i - internal. Connected object will be placed inside this object. | ||
o - outside. This object will be placed inside connected one. | ||
s - side connection. Neither objects will be placed inside each other. | ||
gender | String | Connection gender (See Connection Gender Discussion for details) |
m - male | ||
f - female | ||
s - genderless, side connection | ||
protocols | Array of String | Optional list of protocols, supported on given connection. See Inventory Protocols for reference and Protocols Discussion for details. |
group | String | Crossing group (See Group Discussion for details) |
cross | String | Internal connection crossing (See Cross Discussion for details |
internal_name | String | Optional internal name. May be used in Connection Rules name , but not shown in user interface. |