RelationshipSingle

public class RelationshipSingle : Codable

Represents a relationship which can hold a single item

  • The relationship data object

    Declaration

    Swift

    public var data: RelationshipData?
  • Returns the ID for the relationship this object holds

    Author

    Craig Tweedy

    Declaration

    Swift

    public func getId() -> String?

    Return Value

    An UUID as a string, representing the ID of the relationship object