Document

final public class Document : CustomStringConvertible, CustomDebugStringConvertible, ExtendedEquatable

Immutable Model for a Document

  • Document title (read only)

    Declaration

    Swift

    public internal(set) var title: String? {
      get
      }
  • Document type (read only)

    Declaration

    Swift

    public internal(set) var type: Document.DocumentType? {
      get
      }
  • id

    Document ID (read only)

    Declaration

    Swift

    public internal(set) var id: String? {
      get
      }
  • Hash to sign (read only)

    Declaration

    Swift

    public internal(set) var hashToSign: String? {
      get
      }
  • Publicly accessible URL (read only). Only populated if the document has been set to isPublic on the server side

    Declaration

    Swift

    public internal(set) var publicURL: String? {
      get
      }
  • DocumentType options

    • pdf: pdf document
    • xml: xml document
    See more

    Declaration

    Swift

    public enum DocumentType : String
  • CustomStringConvertible

    Declaration

    Swift

    public var description: String { get }
  • CustomDebugStringConvertible

    Declaration

    Swift

    public var debugDescription: String { get }