Class DatasetsWebService.DatasetMetadataFileValueObject

java.lang.Object
ubic.gemma.rest.DatasetsWebService.DatasetMetadataFileValueObject
Enclosing class:
DatasetsWebService

public static final class DatasetsWebService.DatasetMetadataFileValueObject extends Object
Wire shape for DatasetsWebService.getDatasetMetadataFiles(DatasetArg): one entry per available metadata file.
Author:
tesarst
  • Constructor Details

  • Method Details

    • getType

      public String getType()
      Enum name of the metadata file type — use this value as the {type} path parameter on GET /datasets/{id}/metadata/{type} to fetch the file.
    • getDisplayName

      public String getDisplayName()
      Human-readable label suitable for UI display.
    • getDownloadName

      public String getDownloadName()
      Filename the server will use in the Content-Disposition header on download.
    • getContentType

      public String getContentType()
      MIME content type the server will serve the file with.
    • isDirectory

      public boolean isDirectory()
      True when the underlying metadata is organised as a directory; in that case the file cannot be downloaded directly via /metadata/{type} — request a specific sub-type (e.g. RNASEQ_PIPELINE_REPORT_DATA) instead.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object