Relationship

Information about how blocks are related to each other. A Block object contains 0 or more Relation objects in a list, Relationships. For more information, see Block.

The Type element provides the type of the relationship for all blocks in the IDs array.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val ids: List<String>?

An array of IDs for related blocks. You can get the type of the relationship from the Type element.

Link copied to clipboard

The type of relationship between the blocks in the IDs array and the current block. The following list describes the relationship types that can be returned.

Functions

Link copied to clipboard
inline fun copy(block: Relationship.Builder.() -> Unit = {}): Relationship
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String