Class CreateEvidenceFileMultiPart


  • public class CreateEvidenceFileMultiPart
    extends java.lang.Object
    • Constructor Detail

      • CreateEvidenceFileMultiPart

        public CreateEvidenceFileMultiPart​(File file,
                                           EvidenceType evidenceType)
    • Method Detail

      • file

        public File file()
        The file to upload as evidence. Valid types are [jpeg, tiff, pdf] with a limit of 4MB per file.

        The `Content-Type` header for this form part must be one of the following: - `image/jpeg` - `image/tiff` - `application/pdf`

      • withFile

        public CreateEvidenceFileMultiPart withFile​(File file)
        The file to upload as evidence. Valid types are [jpeg, tiff, pdf] with a limit of 4MB per file.

        The `Content-Type` header for this form part must be one of the following: - `image/jpeg` - `image/tiff` - `application/pdf`

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object