Class PaperDocExportResult

java.lang.Object
com.dropbox.core.v2.paper.PaperDocExportResult

public class PaperDocExportResult extends Object
  • Field Details

    • owner

      @Nonnull protected final String owner
    • title

      @Nonnull protected final String title
    • revision

      protected final long revision
    • mimeType

      @Nonnull protected final String mimeType
  • Constructor Details

    • PaperDocExportResult

      public PaperDocExportResult(@Nonnull String owner, @Nonnull String title, long revision, @Nonnull String mimeType)
      Parameters:
      owner - The Paper doc owner's email address. Must not be null.
      title - The Paper doc title. Must not be null.
      revision - The Paper doc revision. Simply an ever increasing number.
      mimeType - MIME type of the export. This corresponds to ExportFormat specified in the request. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getOwner

      @Nonnull public String getOwner()
      The Paper doc owner's email address.
      Returns:
      value for this field, never null.
    • getTitle

      @Nonnull public String getTitle()
      The Paper doc title.
      Returns:
      value for this field, never null.
    • getRevision

      public long getRevision()
      The Paper doc revision. Simply an ever increasing number.
      Returns:
      value for this field.
    • getMimeType

      @Nonnull public String getMimeType()
      MIME type of the export. This corresponds to ExportFormat specified in the request.
      Returns:
      value for this field, never null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Returns:
      Formatted, multiline String representation of this object