Constructors
constructor
- new Relation(kind: RelationKind, otherType: string, myField: string, otherField: string): Relation
-
Parameters
-
kind: RelationKind
-
otherType: string
-
myField: string
-
otherField: string
Properties
otherField
otherField: string
otherType
otherType: string
Methods
serialize
- serialize(): obj<unknown>
Represents relationships between two resources, eg. one-one or one-many.