fetch Related Items
suspend fun fetchRelatedItems(relationships: Iterable<PortalItemRelationship>, direction: PortalItemRelationshipDirection): Result<List<PortalItem>>
Fetches all related portal items with any of the specified relationships to this portal item.
Return
A Result that returns a collection of portal items that match the specified relationships
Since
200.0.0
Parameters
relationships
a collection of relationships with which to filter related items
direction
the direction for all relationships
suspend fun fetchRelatedItems(relationship: PortalItemRelationship, direction: PortalItemRelationshipDirection): Result<List<PortalItem>>
Fetches all related portal items with the specified relationship to this portal item.
Return
A Result that returns a collection of portal items that match the specified relationship
Since
200.0.0
Parameters
relationship
the relationship for which to filter related items
direction
the direction of the relationship