Class DatasetsWebService.SampleMetadataRequest

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

public static class DatasetsWebService.SampleMetadataRequest extends Object
Request body for DatasetsWebService.updateDatasetSampleMetadata(DatasetArg, DatasetsWebService.SampleMetadataRequest). Each field is optional; a field that is absent is left alone, and an explicitly null field CLEARS the column. bioAssayIds selects the samples — omit it to apply to every sample in the dataset.

Distinguishing "absent" from "null" is why these are boxed and why *Present flags exist: clearing a wrong libraryStrategy is a real curation act and has to be expressible.

Author:
tesarst
  • Field Details

    • bioAssayIds

      @Nullable public List<Long> bioAssayIds
    • libraryStrategy

      @Nullable public String libraryStrategy
    • librarySelection

      @Nullable public String librarySelection
    • extractedMolecule

      @Nullable public String extractedMolecule
    • clearLibraryStrategy

      public boolean clearLibraryStrategy
      Set true to apply libraryStrategy even when it is null (i.e. to clear the column).
    • clearLibrarySelection

      public boolean clearLibrarySelection
      Set true to apply librarySelection even when it is null.
    • clearExtractedMolecule

      public boolean clearExtractedMolecule
      Set true to apply extractedMolecule even when it is null.
  • Constructor Details

    • SampleMetadataRequest

      public SampleMetadataRequest()