Skip to content

Commit

Permalink
Writer calculates fields from pojo without jackson annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
forus committed Dec 11, 2024
1 parent 800c4f2 commit d8f64f0
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,31 @@ public record CancerStudyMetadata(
/**
* A string used to uniquely identify this cancer study within the database, e.g., "brca_joneslab_2013".
*/
@JsonProperty("cancer_study_identifier")
String cancerStudyIdentifier,

/**
* The name of the cancer study, e.g., "Breast Cancer (Jones Lab 2013)".
*/
@JsonProperty("name")
String name,

/**
* A description of the cancer study, e.g., "Comprehensive profiling of 103 breast cancer samples. Generated by the Jones Lab 2013". This description may contain one or more URLs to relevant information.
*/
@JsonProperty("description")
String description,

/**
* A relevant citation, e.g., "TCGA, Nature 2012".
*/
@JsonProperty("citation")
Optional<String> citation,

/**
* One or more relevant pubmed ids (comma separated without whitespace). If used, the field citation has to be filled, too.
*/
@JsonProperty("pmid")
Optional<String> pmid,

/**
* When using an authenticating cBioPortal, lists the user-groups that are allowed access to this study. Multiple groups are separated with a semicolon ";". The study will be invisible to users not in at least one of the listed groups, as if it wasn't loaded at all. e.g., "PUBLIC;GDAC;SU2C-PI3K". see User-Authorization for more information on groups.
*/
@JsonProperty("groups")
Optional<String> groups,

/**
Expand All @@ -58,7 +52,6 @@ public record CancerStudyMetadata(
/**
* The file name containing custom study tags for the study tags.
*/
@JsonProperty("tags_file")
Optional<String> tagsFile,

/**
Expand Down

0 comments on commit d8f64f0

Please sign in to comment.