DocumentId

public class DocumentId : SdkObject
extension DocumentId: CustomStringConvertible
extension DocumentId: Equatable

ID of a document.

Must be unique within the document’s segment and match the regex ^[a-zA-Z0-9_.$#|@/:;=+'-]+$.

  • Constructs a DocumentId from the provided String.

    Fails if the provided ID is not valid.

    Declaration

    Swift

    public convenience init?(_ id: String)
  • id

    ID of the document

    Declaration

    Swift

    public lazy var id: String { get set }
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public static func == (lhs: DocumentId, rhs: DocumentId) -> Bool