Relation class
The Relation class represents a relationship between two cloud classes.
Relation class APIs
The following tables list the basic APIs, operation APIs, and relationship APIs for the Relation class.
Basic APIs
Name | HTTP | URI | Description |
---|---|---|---|
search | POST | Searches for Relation objects. |
Operation APIs
The Relation class has no operation APIs.
Relationship APIs
The Relation class has no relationship APIs.
Relation class relationships and attributes
The following tables list the relationships and attributes of the Relation class.
Relationships
Name | Type | Multi- | Description |
---|---|---|---|
forCloudClass | 1 | Class the relationship is for | |
cloudClass | 1 | Fully-qualified name of the class to which the object belongs | |
provider | 1 | Provider that created the object | |
tags | 0..* | Tags associated with the object |
Attributes
Name | Type | Multi- | Description |
---|---|---|---|
anchor | Boolean | 0..1 |
|
definedInClass | String | 1 | Class in which the relationship is defined |
deprecated | Boolean | 0..1 | Indicates whether the relation is deprecated. |
greedy | Boolean | 1 | Indicates whether the relationship is greedy |
indexed | Boolean | 0..1 |
|
inverseRelationName | String | 0..1 | Name of the inverse relationship |
kind | 1 | Type of relationship | |
multiplicity | String | 1 | Multiplicity of the relationship |
relationIndexing | 0..1 |
| |
source | String | 0..1 |
|
transient | Boolean | 0..1 |
|
type | String | 1 | Type |
visibility | 1 | Visibility of the relationship | |
description | String | 0..1 | Text that describes the object |
guid | String | 1 | Globally unique identifier for the object |
labels | String | 0..* |
|
modifiedDate | 0..1 | Date the Cloudobject was modified | |
name | String | 1 | Human-readable name of the object |