diff --git a/oncokbPremiumApiClient/docs/AnnotateCopyNumberAlterationQuery.md b/oncokbPremiumApiClient/docs/AnnotateCopyNumberAlterationQuery.md deleted file mode 100644 index 2d3e9c2..0000000 --- a/oncokbPremiumApiClient/docs/AnnotateCopyNumberAlterationQuery.md +++ /dev/null @@ -1,23 +0,0 @@ - -# AnnotateCopyNumberAlterationQuery - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**copyNameAlterationType** | [**CopyNameAlterationTypeEnum**](#CopyNameAlterationTypeEnum) | | [optional] -**gene** | [**QueryGene**](QueryGene.md) | | [optional] -**id** | **String** | | [optional] -**tumorType** | **String** | | [optional] - - - -## Enum: CopyNameAlterationTypeEnum -Name | Value ----- | ----- -AMPLIFICATION | "AMPLIFICATION" -DELETION | "DELETION" -GAIN | "GAIN" -LOSS | "LOSS" - - - diff --git a/oncokbPremiumApiClient/docs/AnnotateMutationByGenomicChangeQuery.md b/oncokbPremiumApiClient/docs/AnnotateMutationByGenomicChangeQuery.md deleted file mode 100644 index 279f3e4..0000000 --- a/oncokbPremiumApiClient/docs/AnnotateMutationByGenomicChangeQuery.md +++ /dev/null @@ -1,12 +0,0 @@ - -# AnnotateMutationByGenomicChangeQuery - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**genomicLocation** | **String** | | [optional] -**id** | **String** | | [optional] -**tumorType** | **String** | | [optional] - - - diff --git a/oncokbPremiumApiClient/docs/AnnotateMutationByHGVSgQuery.md b/oncokbPremiumApiClient/docs/AnnotateMutationByHGVSgQuery.md deleted file mode 100644 index e6abcc4..0000000 --- a/oncokbPremiumApiClient/docs/AnnotateMutationByHGVSgQuery.md +++ /dev/null @@ -1,12 +0,0 @@ - -# AnnotateMutationByHGVSgQuery - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hgvsg** | **String** | | [optional] -**id** | **String** | | [optional] -**tumorType** | **String** | | [optional] - - - diff --git a/oncokbPremiumApiClient/docs/AnnotateMutationByProteinChangeQuery.md b/oncokbPremiumApiClient/docs/AnnotateMutationByProteinChangeQuery.md deleted file mode 100644 index d407a73..0000000 --- a/oncokbPremiumApiClient/docs/AnnotateMutationByProteinChangeQuery.md +++ /dev/null @@ -1,16 +0,0 @@ - -# AnnotateMutationByProteinChangeQuery - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**alteration** | **String** | | [optional] -**consequence** | **String** | | [optional] -**gene** | [**QueryGene**](QueryGene.md) | | [optional] -**id** | **String** | | [optional] -**proteinEnd** | **Integer** | | [optional] -**proteinStart** | **Integer** | | [optional] -**tumorType** | **String** | | [optional] - - - diff --git a/oncokbPremiumApiClient/docs/AnnotateStructuralVariantQuery.md b/oncokbPremiumApiClient/docs/AnnotateStructuralVariantQuery.md deleted file mode 100644 index 5dbd4e2..0000000 --- a/oncokbPremiumApiClient/docs/AnnotateStructuralVariantQuery.md +++ /dev/null @@ -1,28 +0,0 @@ - -# AnnotateStructuralVariantQuery - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**functionalFusion** | **Boolean** | | [optional] -**geneA** | [**QueryGene**](QueryGene.md) | | [optional] -**geneB** | [**QueryGene**](QueryGene.md) | | [optional] -**id** | **String** | | [optional] -**structuralVariantType** | [**StructuralVariantTypeEnum**](#StructuralVariantTypeEnum) | | [optional] -**tumorType** | **String** | | [optional] - - - -## Enum: StructuralVariantTypeEnum -Name | Value ----- | ----- -DELETION | "DELETION" -TRANSLOCATION | "TRANSLOCATION" -DUPLICATION | "DUPLICATION" -INSERTION | "INSERTION" -INVERSION | "INVERSION" -FUSION | "FUSION" -UNKNOWN | "UNKNOWN" - - - diff --git a/oncokbPremiumApiClient/settings.gradle b/oncokbPremiumApiClient/settings.gradle deleted file mode 100644 index 9a0722a..0000000 --- a/oncokbPremiumApiClient/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -rootProject.name = "oncokbPremiumApiClient" \ No newline at end of file diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java b/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java deleted file mode 100644 index 73096b9..0000000 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. - * - * OpenAPI spec version: v1.0.0 - * Contact: contact@oncokb.org - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package org.oncokb.client; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AnnotateMutationByGenomicChangeQuery - */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") -public class AnnotateMutationByGenomicChangeQuery { - @SerializedName("genomicLocation") - private String genomicLocation = null; - - @SerializedName("id") - private String id = null; - - @SerializedName("tumorType") - private String tumorType = null; - - public AnnotateMutationByGenomicChangeQuery genomicLocation(String genomicLocation) { - this.genomicLocation = genomicLocation; - return this; - } - - /** - * Get genomicLocation - * @return genomicLocation - **/ - @ApiModelProperty(value = "") - public String getGenomicLocation() { - return genomicLocation; - } - - public void setGenomicLocation(String genomicLocation) { - this.genomicLocation = genomicLocation; - } - - public AnnotateMutationByGenomicChangeQuery id(String id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @ApiModelProperty(value = "") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public AnnotateMutationByGenomicChangeQuery tumorType(String tumorType) { - this.tumorType = tumorType; - return this; - } - - /** - * Get tumorType - * @return tumorType - **/ - @ApiModelProperty(value = "") - public String getTumorType() { - return tumorType; - } - - public void setTumorType(String tumorType) { - this.tumorType = tumorType; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AnnotateMutationByGenomicChangeQuery annotateMutationByGenomicChangeQuery = (AnnotateMutationByGenomicChangeQuery) o; - return Objects.equals(this.genomicLocation, annotateMutationByGenomicChangeQuery.genomicLocation) && - Objects.equals(this.id, annotateMutationByGenomicChangeQuery.id) && - Objects.equals(this.tumorType, annotateMutationByGenomicChangeQuery.tumorType); - } - - @Override - public int hashCode() { - return Objects.hash(genomicLocation, id, tumorType); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AnnotateMutationByGenomicChangeQuery {\n"); - - sb.append(" genomicLocation: ").append(toIndentedString(genomicLocation)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" tumorType: ").append(toIndentedString(tumorType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java b/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java deleted file mode 100644 index 08d383f..0000000 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. - * - * OpenAPI spec version: v1.0.0 - * Contact: contact@oncokb.org - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package org.oncokb.client; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AnnotateMutationByHGVSgQuery - */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") -public class AnnotateMutationByHGVSgQuery { - @SerializedName("hgvsg") - private String hgvsg = null; - - @SerializedName("id") - private String id = null; - - @SerializedName("tumorType") - private String tumorType = null; - - public AnnotateMutationByHGVSgQuery hgvsg(String hgvsg) { - this.hgvsg = hgvsg; - return this; - } - - /** - * Get hgvsg - * @return hgvsg - **/ - @ApiModelProperty(value = "") - public String getHgvsg() { - return hgvsg; - } - - public void setHgvsg(String hgvsg) { - this.hgvsg = hgvsg; - } - - public AnnotateMutationByHGVSgQuery id(String id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @ApiModelProperty(value = "") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public AnnotateMutationByHGVSgQuery tumorType(String tumorType) { - this.tumorType = tumorType; - return this; - } - - /** - * Get tumorType - * @return tumorType - **/ - @ApiModelProperty(value = "") - public String getTumorType() { - return tumorType; - } - - public void setTumorType(String tumorType) { - this.tumorType = tumorType; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AnnotateMutationByHGVSgQuery annotateMutationByHGVSgQuery = (AnnotateMutationByHGVSgQuery) o; - return Objects.equals(this.hgvsg, annotateMutationByHGVSgQuery.hgvsg) && - Objects.equals(this.id, annotateMutationByHGVSgQuery.id) && - Objects.equals(this.tumorType, annotateMutationByHGVSgQuery.tumorType); - } - - @Override - public int hashCode() { - return Objects.hash(hgvsg, id, tumorType); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AnnotateMutationByHGVSgQuery {\n"); - - sb.append(" hgvsg: ").append(toIndentedString(hgvsg)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" tumorType: ").append(toIndentedString(tumorType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/oncokbPremiumApiClient/.gitignore b/oncokbPrivateApiClient/.gitignore similarity index 100% rename from oncokbPremiumApiClient/.gitignore rename to oncokbPrivateApiClient/.gitignore diff --git a/oncokbPremiumApiClient/.swagger-codegen-ignore b/oncokbPrivateApiClient/.swagger-codegen-ignore similarity index 100% rename from oncokbPremiumApiClient/.swagger-codegen-ignore rename to oncokbPrivateApiClient/.swagger-codegen-ignore diff --git a/oncokbPremiumApiClient/.swagger-codegen/VERSION b/oncokbPrivateApiClient/.swagger-codegen/VERSION similarity index 100% rename from oncokbPremiumApiClient/.swagger-codegen/VERSION rename to oncokbPrivateApiClient/.swagger-codegen/VERSION diff --git a/oncokbPremiumApiClient/.travis.yml b/oncokbPrivateApiClient/.travis.yml similarity index 100% rename from oncokbPremiumApiClient/.travis.yml rename to oncokbPrivateApiClient/.travis.yml diff --git a/oncokbPremiumApiClient/README.md b/oncokbPrivateApiClient/README.md similarity index 72% rename from oncokbPremiumApiClient/README.md rename to oncokbPrivateApiClient/README.md index ada7323..e33d517 100644 --- a/oncokbPremiumApiClient/README.md +++ b/oncokbPrivateApiClient/README.md @@ -1,10 +1,10 @@ -# oncokbPremiumApiClient +# oncokbPrivateApiClient -OncoKB APIs for Premium Users +OncoKB Private APIs - API version: v1.0.0 - - Build date: 2020-02-06T11:50:04.572-05:00 + - Build date: 2020-02-19T16:53:16.620-05:00 -These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. +These endpoints are for private use only. For more information, please visit [https://www.oncokb.org](https://www.oncokb.org) @@ -40,7 +40,7 @@ Add this dependency to your project's POM: ```xml org.oncokb.client - oncokbPremiumApiClient + oncokbPrivateApiClient 1.1.1-SNAPSHOT compile @@ -51,7 +51,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "org.oncokb.client:oncokbPremiumApiClient:1.1.1-SNAPSHOT" +compile "org.oncokb.client:oncokbPrivateApiClient:1.1.1-SNAPSHOT" ``` ### Others @@ -64,7 +64,7 @@ mvn clean package Then manually install the following JARs: -* `target/oncokbPremiumApiClient-1.1.1-SNAPSHOT.jar` +* `target/oncokbPrivateApiClient-1.1.1-SNAPSHOT.jar` * `target/lib/*.jar` ## Getting Started @@ -90,11 +90,12 @@ public class AnnotationsApiExample { String hugoSymbol = "hugoSymbol_example"; // String | The gene symbol used in Human Genome Organisation. Example: BRAF Integer entrezGeneId = 56; // Integer | The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma + String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateCopyNumberAlterationsGetUsingGET1(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType); + IndicatorQueryResp result = apiInstance.annotateCopyNumberAlterationsGetUsingGET(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsGetUsingGET1"); + System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsGetUsingGET"); e.printStackTrace(); } } @@ -108,24 +109,24 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AnnotationsApi* | [**annotateCopyNumberAlterationsGetUsingGET1**](docs/AnnotationsApi.md#annotateCopyNumberAlterationsGetUsingGET1) | **GET** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsGet -*AnnotationsApi* | [**annotateCopyNumberAlterationsPostUsingPOST1**](docs/AnnotationsApi.md#annotateCopyNumberAlterationsPostUsingPOST1) | **POST** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsPost -*AnnotationsApi* | [**annotateMutationsByGenomicChangeGetUsingGET1**](docs/AnnotationsApi.md#annotateMutationsByGenomicChangeGetUsingGET1) | **GET** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangeGet -*AnnotationsApi* | [**annotateMutationsByGenomicChangePostUsingPOST1**](docs/AnnotationsApi.md#annotateMutationsByGenomicChangePostUsingPOST1) | **POST** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangePost -*AnnotationsApi* | [**annotateMutationsByHGVSgGetUsingGET1**](docs/AnnotationsApi.md#annotateMutationsByHGVSgGetUsingGET1) | **GET** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgGet -*AnnotationsApi* | [**annotateMutationsByHGVSgPostUsingPOST1**](docs/AnnotationsApi.md#annotateMutationsByHGVSgPostUsingPOST1) | **POST** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgPost -*AnnotationsApi* | [**annotateMutationsByProteinChangeGetUsingGET1**](docs/AnnotationsApi.md#annotateMutationsByProteinChangeGetUsingGET1) | **GET** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangeGet -*AnnotationsApi* | [**annotateMutationsByProteinChangePostUsingPOST1**](docs/AnnotationsApi.md#annotateMutationsByProteinChangePostUsingPOST1) | **POST** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangePost -*AnnotationsApi* | [**annotateStructuralVariantsGetUsingGET1**](docs/AnnotationsApi.md#annotateStructuralVariantsGetUsingGET1) | **GET** /annotate/structuralVariants | annotateStructuralVariantsGet -*AnnotationsApi* | [**annotateStructuralVariantsPostUsingPOST1**](docs/AnnotationsApi.md#annotateStructuralVariantsPostUsingPOST1) | **POST** /annotate/structuralVariants | annotateStructuralVariantsPost +*AnnotationsApi* | [**annotateCopyNumberAlterationsGetUsingGET**](docs/AnnotationsApi.md#annotateCopyNumberAlterationsGetUsingGET) | **GET** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsGet +*AnnotationsApi* | [**annotateCopyNumberAlterationsPostUsingPOST**](docs/AnnotationsApi.md#annotateCopyNumberAlterationsPostUsingPOST) | **POST** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsPost +*AnnotationsApi* | [**annotateMutationsByGenomicChangeGetUsingGET**](docs/AnnotationsApi.md#annotateMutationsByGenomicChangeGetUsingGET) | **GET** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangeGet +*AnnotationsApi* | [**annotateMutationsByGenomicChangePostUsingPOST**](docs/AnnotationsApi.md#annotateMutationsByGenomicChangePostUsingPOST) | **POST** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangePost +*AnnotationsApi* | [**annotateMutationsByHGVSgGetUsingGET**](docs/AnnotationsApi.md#annotateMutationsByHGVSgGetUsingGET) | **GET** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgGet +*AnnotationsApi* | [**annotateMutationsByHGVSgPostUsingPOST**](docs/AnnotationsApi.md#annotateMutationsByHGVSgPostUsingPOST) | **POST** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgPost +*AnnotationsApi* | [**annotateMutationsByProteinChangeGetUsingGET**](docs/AnnotationsApi.md#annotateMutationsByProteinChangeGetUsingGET) | **GET** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangeGet +*AnnotationsApi* | [**annotateMutationsByProteinChangePostUsingPOST**](docs/AnnotationsApi.md#annotateMutationsByProteinChangePostUsingPOST) | **POST** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangePost +*AnnotationsApi* | [**annotateStructuralVariantsGetUsingGET**](docs/AnnotationsApi.md#annotateStructuralVariantsGetUsingGET) | **GET** /annotate/structuralVariants | annotateStructuralVariantsGet +*AnnotationsApi* | [**annotateStructuralVariantsPostUsingPOST**](docs/AnnotationsApi.md#annotateStructuralVariantsPostUsingPOST) | **POST** /annotate/structuralVariants | annotateStructuralVariantsPost *CancerGenesApi* | [**utilsAllActionableVariantsGetUsingGET**](docs/CancerGenesApi.md#utilsAllActionableVariantsGetUsingGET) | **GET** /utils/allActionableVariants | utilsAllActionableVariantsGet *CancerGenesApi* | [**utilsAllActionableVariantsTxtGetUsingGET**](docs/CancerGenesApi.md#utilsAllActionableVariantsTxtGetUsingGET) | **GET** /utils/allActionableVariants.txt | utilsAllActionableVariantsTxtGet *CancerGenesApi* | [**utilsAllAnnotatedVariantsGetUsingGET**](docs/CancerGenesApi.md#utilsAllAnnotatedVariantsGetUsingGET) | **GET** /utils/allAnnotatedVariants | utilsAllAnnotatedVariantsGet *CancerGenesApi* | [**utilsAllAnnotatedVariantsTxtGetUsingGET**](docs/CancerGenesApi.md#utilsAllAnnotatedVariantsTxtGetUsingGET) | **GET** /utils/allAnnotatedVariants.txt | utilsAllAnnotatedVariantsTxtGet *CancerGenesApi* | [**utilsAllCuratedGenesGetUsingGET**](docs/CancerGenesApi.md#utilsAllCuratedGenesGetUsingGET) | **GET** /utils/allCuratedGenes | utilsAllCuratedGenesGet *CancerGenesApi* | [**utilsAllCuratedGenesTxtGetUsingGET**](docs/CancerGenesApi.md#utilsAllCuratedGenesTxtGetUsingGET) | **GET** /utils/allCuratedGenes.txt | utilsAllCuratedGenesTxtGet -*CancerGenesApi* | [**utilsCancerGeneListGetUsingGET1**](docs/CancerGenesApi.md#utilsCancerGeneListGetUsingGET1) | **GET** /utils/cancerGeneList | utilsCancerGeneListGet -*CancerGenesApi* | [**utilsCancerGeneListTxtGetUsingGET1**](docs/CancerGenesApi.md#utilsCancerGeneListTxtGetUsingGET1) | **GET** /utils/cancerGeneList.txt | utilsCancerGeneListTxtGet +*CancerGenesApi* | [**utilsCancerGeneListGetUsingGET**](docs/CancerGenesApi.md#utilsCancerGeneListGetUsingGET) | **GET** /utils/cancerGeneList | utilsCancerGeneListGet +*CancerGenesApi* | [**utilsCancerGeneListTxtGetUsingGET**](docs/CancerGenesApi.md#utilsCancerGeneListTxtGetUsingGET) | **GET** /utils/cancerGeneList.txt | utilsCancerGeneListTxtGet *ClassificationApi* | [**classificationVariantsGetUsingGET**](docs/ClassificationApi.md#classificationVariantsGetUsingGET) | **GET** /classification/variants | classificationVariantsGet *DrugsApi* | [**drugsGetUsingGET**](docs/DrugsApi.md#drugsGetUsingGET) | **GET** /drugs | Get all curated drugs. *DrugsApi* | [**drugsLookupGetUsingGET**](docs/DrugsApi.md#drugsLookupGetUsingGET) | **GET** /drugs/lookup | Search drugs. @@ -142,10 +143,10 @@ Class | Method | HTTP request | Description *GenesApi* | [**utilsAllCuratedGenesTxtGetUsingGET**](docs/GenesApi.md#utilsAllCuratedGenesTxtGetUsingGET) | **GET** /utils/allCuratedGenes.txt | utilsAllCuratedGenesTxtGet *GenesetsApi* | [**genesetsGetUsingGET**](docs/GenesetsApi.md#genesetsGetUsingGET) | **GET** /genesets | genesetsGet *GenesetsApi* | [**genesetsUuidGetUsingGET**](docs/GenesetsApi.md#genesetsUuidGetUsingGET) | **GET** /genesets/{uuid} | genesetsUuidGet -*InfoApi* | [**infoGetUsingGET1**](docs/InfoApi.md#infoGetUsingGET1) | **GET** /info | infoGet -*LevelsApi* | [**levelsGetUsingGET1**](docs/LevelsApi.md#levelsGetUsingGET1) | **GET** /levels | levelsGet -*LevelsApi* | [**levelsResistanceGetUsingGET1**](docs/LevelsApi.md#levelsResistanceGetUsingGET1) | **GET** /levels/resistance | levelsResistanceGet -*LevelsApi* | [**levelsSensitiveGetUsingGET1**](docs/LevelsApi.md#levelsSensitiveGetUsingGET1) | **GET** /levels/sensitive | levelsSensitiveGet +*InfoApi* | [**infoGetUsingGET**](docs/InfoApi.md#infoGetUsingGET) | **GET** /info | infoGet +*LevelsApi* | [**levelsGetUsingGET**](docs/LevelsApi.md#levelsGetUsingGET) | **GET** /levels | levelsGet +*LevelsApi* | [**levelsResistanceGetUsingGET**](docs/LevelsApi.md#levelsResistanceGetUsingGET) | **GET** /levels/resistance | levelsResistanceGet +*LevelsApi* | [**levelsSensitiveGetUsingGET**](docs/LevelsApi.md#levelsSensitiveGetUsingGET) | **GET** /levels/sensitive | levelsSensitiveGet *SearchApi* | [**searchGetUsingGET**](docs/SearchApi.md#searchGetUsingGET) | **GET** /search | searchGet *SearchApi* | [**searchPostUsingPOST**](docs/SearchApi.md#searchPostUsingPOST) | **POST** /search | searchPost *VariantsApi* | [**utilsAllActionableVariantsGetUsingGET**](docs/VariantsApi.md#utilsAllActionableVariantsGetUsingGET) | **GET** /utils/allActionableVariants | utilsAllActionableVariantsGet diff --git a/oncokbPremiumApiClient/build.gradle b/oncokbPrivateApiClient/build.gradle similarity index 98% rename from oncokbPremiumApiClient/build.gradle rename to oncokbPrivateApiClient/build.gradle index f979d67..5f870e8 100644 --- a/oncokbPremiumApiClient/build.gradle +++ b/oncokbPrivateApiClient/build.gradle @@ -83,7 +83,7 @@ if(hasProperty('target') && target == 'android') { install { repositories.mavenInstaller { - pom.artifactId = 'oncokbPremiumApiClient' + pom.artifactId = 'oncokbPrivateApiClient' } } diff --git a/oncokbPremiumApiClient/build.sbt b/oncokbPrivateApiClient/build.sbt similarity index 95% rename from oncokbPremiumApiClient/build.sbt rename to oncokbPrivateApiClient/build.sbt index 24b3c87..f13f068 100644 --- a/oncokbPremiumApiClient/build.sbt +++ b/oncokbPrivateApiClient/build.sbt @@ -1,7 +1,7 @@ lazy val root = (project in file(".")). settings( organization := "org.oncokb.client", - name := "oncokbPremiumApiClient", + name := "oncokbPrivateApiClient", version := "1.1.1-SNAPSHOT", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), diff --git a/oncokbPremiumApiClient/docs/ActionableGene.md b/oncokbPrivateApiClient/docs/ActionableGene.md similarity index 100% rename from oncokbPremiumApiClient/docs/ActionableGene.md rename to oncokbPrivateApiClient/docs/ActionableGene.md diff --git a/oncokbPremiumApiClient/docs/Alteration.md b/oncokbPrivateApiClient/docs/Alteration.md similarity index 100% rename from oncokbPremiumApiClient/docs/Alteration.md rename to oncokbPrivateApiClient/docs/Alteration.md diff --git a/oncokbPrivateApiClient/docs/AnnotateCopyNumberAlterationQuery.md b/oncokbPrivateApiClient/docs/AnnotateCopyNumberAlterationQuery.md new file mode 100644 index 0000000..56cba33 --- /dev/null +++ b/oncokbPrivateApiClient/docs/AnnotateCopyNumberAlterationQuery.md @@ -0,0 +1,46 @@ + +# AnnotateCopyNumberAlterationQuery + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**copyNameAlterationType** | [**CopyNameAlterationTypeEnum**](#CopyNameAlterationTypeEnum) | | [optional] +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] +**gene** | [**QueryGene**](QueryGene.md) | | [optional] +**id** | **String** | | [optional] +**tumorType** | **String** | | [optional] + + + +## Enum: CopyNameAlterationTypeEnum +Name | Value +---- | ----- +AMPLIFICATION | "AMPLIFICATION" +DELETION | "DELETION" +GAIN | "GAIN" +LOSS | "LOSS" + + + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + + diff --git a/oncokbPrivateApiClient/docs/AnnotateMutationByGenomicChangeQuery.md b/oncokbPrivateApiClient/docs/AnnotateMutationByGenomicChangeQuery.md new file mode 100644 index 0000000..32c9783 --- /dev/null +++ b/oncokbPrivateApiClient/docs/AnnotateMutationByGenomicChangeQuery.md @@ -0,0 +1,35 @@ + +# AnnotateMutationByGenomicChangeQuery + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] +**genomicLocation** | **String** | | [optional] +**id** | **String** | | [optional] +**tumorType** | **String** | | [optional] + + + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + + diff --git a/oncokbPrivateApiClient/docs/AnnotateMutationByHGVSgQuery.md b/oncokbPrivateApiClient/docs/AnnotateMutationByHGVSgQuery.md new file mode 100644 index 0000000..f95645a --- /dev/null +++ b/oncokbPrivateApiClient/docs/AnnotateMutationByHGVSgQuery.md @@ -0,0 +1,35 @@ + +# AnnotateMutationByHGVSgQuery + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] +**hgvsg** | **String** | | [optional] +**id** | **String** | | [optional] +**tumorType** | **String** | | [optional] + + + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + + diff --git a/oncokbPrivateApiClient/docs/AnnotateMutationByProteinChangeQuery.md b/oncokbPrivateApiClient/docs/AnnotateMutationByProteinChangeQuery.md new file mode 100644 index 0000000..8a9e361 --- /dev/null +++ b/oncokbPrivateApiClient/docs/AnnotateMutationByProteinChangeQuery.md @@ -0,0 +1,39 @@ + +# AnnotateMutationByProteinChangeQuery + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**alteration** | **String** | | [optional] +**consequence** | **String** | | [optional] +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] +**gene** | [**QueryGene**](QueryGene.md) | | [optional] +**id** | **String** | | [optional] +**proteinEnd** | **Integer** | | [optional] +**proteinStart** | **Integer** | | [optional] +**tumorType** | **String** | | [optional] + + + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + + diff --git a/oncokbPrivateApiClient/docs/AnnotateStructuralVariantQuery.md b/oncokbPrivateApiClient/docs/AnnotateStructuralVariantQuery.md new file mode 100644 index 0000000..2f3d2da --- /dev/null +++ b/oncokbPrivateApiClient/docs/AnnotateStructuralVariantQuery.md @@ -0,0 +1,51 @@ + +# AnnotateStructuralVariantQuery + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] +**functionalFusion** | **Boolean** | | [optional] +**geneA** | [**QueryGene**](QueryGene.md) | | [optional] +**geneB** | [**QueryGene**](QueryGene.md) | | [optional] +**id** | **String** | | [optional] +**structuralVariantType** | [**StructuralVariantTypeEnum**](#StructuralVariantTypeEnum) | | [optional] +**tumorType** | **String** | | [optional] + + + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + + +## Enum: StructuralVariantTypeEnum +Name | Value +---- | ----- +DELETION | "DELETION" +TRANSLOCATION | "TRANSLOCATION" +DUPLICATION | "DUPLICATION" +INSERTION | "INSERTION" +INVERSION | "INVERSION" +FUSION | "FUSION" +UNKNOWN | "UNKNOWN" + + + diff --git a/oncokbPremiumApiClient/docs/AnnotatedVariant.md b/oncokbPrivateApiClient/docs/AnnotatedVariant.md similarity index 100% rename from oncokbPremiumApiClient/docs/AnnotatedVariant.md rename to oncokbPrivateApiClient/docs/AnnotatedVariant.md diff --git a/oncokbPremiumApiClient/docs/AnnotationsApi.md b/oncokbPrivateApiClient/docs/AnnotationsApi.md similarity index 58% rename from oncokbPremiumApiClient/docs/AnnotationsApi.md rename to oncokbPrivateApiClient/docs/AnnotationsApi.md index d5be797..271bbf1 100644 --- a/oncokbPremiumApiClient/docs/AnnotationsApi.md +++ b/oncokbPrivateApiClient/docs/AnnotationsApi.md @@ -4,21 +4,21 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**annotateCopyNumberAlterationsGetUsingGET1**](AnnotationsApi.md#annotateCopyNumberAlterationsGetUsingGET1) | **GET** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsGet -[**annotateCopyNumberAlterationsPostUsingPOST1**](AnnotationsApi.md#annotateCopyNumberAlterationsPostUsingPOST1) | **POST** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsPost -[**annotateMutationsByGenomicChangeGetUsingGET1**](AnnotationsApi.md#annotateMutationsByGenomicChangeGetUsingGET1) | **GET** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangeGet -[**annotateMutationsByGenomicChangePostUsingPOST1**](AnnotationsApi.md#annotateMutationsByGenomicChangePostUsingPOST1) | **POST** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangePost -[**annotateMutationsByHGVSgGetUsingGET1**](AnnotationsApi.md#annotateMutationsByHGVSgGetUsingGET1) | **GET** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgGet -[**annotateMutationsByHGVSgPostUsingPOST1**](AnnotationsApi.md#annotateMutationsByHGVSgPostUsingPOST1) | **POST** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgPost -[**annotateMutationsByProteinChangeGetUsingGET1**](AnnotationsApi.md#annotateMutationsByProteinChangeGetUsingGET1) | **GET** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangeGet -[**annotateMutationsByProteinChangePostUsingPOST1**](AnnotationsApi.md#annotateMutationsByProteinChangePostUsingPOST1) | **POST** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangePost -[**annotateStructuralVariantsGetUsingGET1**](AnnotationsApi.md#annotateStructuralVariantsGetUsingGET1) | **GET** /annotate/structuralVariants | annotateStructuralVariantsGet -[**annotateStructuralVariantsPostUsingPOST1**](AnnotationsApi.md#annotateStructuralVariantsPostUsingPOST1) | **POST** /annotate/structuralVariants | annotateStructuralVariantsPost - - - -# **annotateCopyNumberAlterationsGetUsingGET1** -> IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET1(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType) +[**annotateCopyNumberAlterationsGetUsingGET**](AnnotationsApi.md#annotateCopyNumberAlterationsGetUsingGET) | **GET** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsGet +[**annotateCopyNumberAlterationsPostUsingPOST**](AnnotationsApi.md#annotateCopyNumberAlterationsPostUsingPOST) | **POST** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsPost +[**annotateMutationsByGenomicChangeGetUsingGET**](AnnotationsApi.md#annotateMutationsByGenomicChangeGetUsingGET) | **GET** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangeGet +[**annotateMutationsByGenomicChangePostUsingPOST**](AnnotationsApi.md#annotateMutationsByGenomicChangePostUsingPOST) | **POST** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangePost +[**annotateMutationsByHGVSgGetUsingGET**](AnnotationsApi.md#annotateMutationsByHGVSgGetUsingGET) | **GET** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgGet +[**annotateMutationsByHGVSgPostUsingPOST**](AnnotationsApi.md#annotateMutationsByHGVSgPostUsingPOST) | **POST** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgPost +[**annotateMutationsByProteinChangeGetUsingGET**](AnnotationsApi.md#annotateMutationsByProteinChangeGetUsingGET) | **GET** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangeGet +[**annotateMutationsByProteinChangePostUsingPOST**](AnnotationsApi.md#annotateMutationsByProteinChangePostUsingPOST) | **POST** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangePost +[**annotateStructuralVariantsGetUsingGET**](AnnotationsApi.md#annotateStructuralVariantsGetUsingGET) | **GET** /annotate/structuralVariants | annotateStructuralVariantsGet +[**annotateStructuralVariantsPostUsingPOST**](AnnotationsApi.md#annotateStructuralVariantsPostUsingPOST) | **POST** /annotate/structuralVariants | annotateStructuralVariantsPost + + + +# **annotateCopyNumberAlterationsGetUsingGET** +> IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType) annotateCopyNumberAlterationsGet @@ -36,11 +36,12 @@ String copyNameAlterationType = "copyNameAlterationType_example"; // String | Co String hugoSymbol = "hugoSymbol_example"; // String | The gene symbol used in Human Genome Organisation. Example: BRAF Integer entrezGeneId = 56; // Integer | The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateCopyNumberAlterationsGetUsingGET1(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType); + IndicatorQueryResp result = apiInstance.annotateCopyNumberAlterationsGetUsingGET(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsGetUsingGET1"); + System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsGetUsingGET"); e.printStackTrace(); } ``` @@ -53,6 +54,7 @@ Name | Type | Description | Notes **hugoSymbol** | **String**| The gene symbol used in Human Genome Organisation. Example: BRAF | [optional] **entrezGeneId** | **Integer**| The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 | [optional] **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -67,9 +69,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateCopyNumberAlterationsPostUsingPOST1** -> List<IndicatorQueryResp> annotateCopyNumberAlterationsPostUsingPOST1(body) + +# **annotateCopyNumberAlterationsPostUsingPOST** +> List<IndicatorQueryResp> annotateCopyNumberAlterationsPostUsingPOST(body) annotateCopyNumberAlterationsPost @@ -85,10 +87,10 @@ Annotate copy number alterations. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateCopyNumberAlterationQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateCopyNumberAlterationsPostUsingPOST1(body); + List result = apiInstance.annotateCopyNumberAlterationsPostUsingPOST(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsPostUsingPOST1"); + System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsPostUsingPOST"); e.printStackTrace(); } ``` @@ -112,9 +114,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByGenomicChangeGetUsingGET1** -> IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET1(genomicLocation, tumorType) + +# **annotateMutationsByGenomicChangeGetUsingGET** +> IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET(genomicLocation, tumorType, evidenceType) annotateMutationsByGenomicChangeGet @@ -130,11 +132,12 @@ Annotate mutation by genomic change. AnnotationsApi apiInstance = new AnnotationsApi(); String genomicLocation = "genomicLocation_example"; // String | Genomic location. Example: 7,140453136,140453136,A,T String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateMutationsByGenomicChangeGetUsingGET1(genomicLocation, tumorType); + IndicatorQueryResp result = apiInstance.annotateMutationsByGenomicChangeGetUsingGET(genomicLocation, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByGenomicChangeGetUsingGET1"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByGenomicChangeGetUsingGET"); e.printStackTrace(); } ``` @@ -145,6 +148,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **genomicLocation** | **String**| Genomic location. Example: 7,140453136,140453136,A,T | **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -159,9 +163,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByGenomicChangePostUsingPOST1** -> List<IndicatorQueryResp> annotateMutationsByGenomicChangePostUsingPOST1(body) + +# **annotateMutationsByGenomicChangePostUsingPOST** +> List<IndicatorQueryResp> annotateMutationsByGenomicChangePostUsingPOST(body) annotateMutationsByGenomicChangePost @@ -177,10 +181,10 @@ Annotate mutations by genomic change. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateMutationByGenomicChangeQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateMutationsByGenomicChangePostUsingPOST1(body); + List result = apiInstance.annotateMutationsByGenomicChangePostUsingPOST(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByGenomicChangePostUsingPOST1"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByGenomicChangePostUsingPOST"); e.printStackTrace(); } ``` @@ -204,9 +208,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByHGVSgGetUsingGET1** -> IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET1(hgvsg, tumorType) + +# **annotateMutationsByHGVSgGetUsingGET** +> IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET(hgvsg, tumorType, evidenceType) annotateMutationsByHGVSgGet @@ -222,11 +226,12 @@ Annotate mutation by HGVSg. AnnotationsApi apiInstance = new AnnotationsApi(); String hgvsg = "hgvsg_example"; // String | HGVS genomic format. Example: 7:g.140453136A>T String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateMutationsByHGVSgGetUsingGET1(hgvsg, tumorType); + IndicatorQueryResp result = apiInstance.annotateMutationsByHGVSgGetUsingGET(hgvsg, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByHGVSgGetUsingGET1"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByHGVSgGetUsingGET"); e.printStackTrace(); } ``` @@ -237,6 +242,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **hgvsg** | **String**| HGVS genomic format. Example: 7:g.140453136A>T | **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -251,9 +257,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByHGVSgPostUsingPOST1** -> List<IndicatorQueryResp> annotateMutationsByHGVSgPostUsingPOST1(body) + +# **annotateMutationsByHGVSgPostUsingPOST** +> List<IndicatorQueryResp> annotateMutationsByHGVSgPostUsingPOST(body) annotateMutationsByHGVSgPost @@ -269,10 +275,10 @@ Annotate mutations by genomic change. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateMutationByHGVSgQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateMutationsByHGVSgPostUsingPOST1(body); + List result = apiInstance.annotateMutationsByHGVSgPostUsingPOST(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByHGVSgPostUsingPOST1"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByHGVSgPostUsingPOST"); e.printStackTrace(); } ``` @@ -296,9 +302,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByProteinChangeGetUsingGET1** -> IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET1(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType) + +# **annotateMutationsByProteinChangeGetUsingGET** +> IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType) annotateMutationsByProteinChangeGet @@ -319,11 +325,12 @@ String consequence = "consequence_example"; // String | Consequence. Exacmple: m Integer proteinStart = 56; // Integer | Protein Start. Example: 600 Integer proteinEnd = 56; // Integer | Protein End. Example: 600 String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateMutationsByProteinChangeGetUsingGET1(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType); + IndicatorQueryResp result = apiInstance.annotateMutationsByProteinChangeGetUsingGET(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByProteinChangeGetUsingGET1"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByProteinChangeGetUsingGET"); e.printStackTrace(); } ``` @@ -339,6 +346,7 @@ Name | Type | Description | Notes **proteinStart** | **Integer**| Protein Start. Example: 600 | [optional] **proteinEnd** | **Integer**| Protein End. Example: 600 | [optional] **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -353,9 +361,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByProteinChangePostUsingPOST1** -> List<IndicatorQueryResp> annotateMutationsByProteinChangePostUsingPOST1(body) + +# **annotateMutationsByProteinChangePostUsingPOST** +> List<IndicatorQueryResp> annotateMutationsByProteinChangePostUsingPOST(body) annotateMutationsByProteinChangePost @@ -371,10 +379,10 @@ Annotate mutations by protein change. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateMutationByProteinChangeQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateMutationsByProteinChangePostUsingPOST1(body); + List result = apiInstance.annotateMutationsByProteinChangePostUsingPOST(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByProteinChangePostUsingPOST1"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByProteinChangePostUsingPOST"); e.printStackTrace(); } ``` @@ -398,9 +406,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateStructuralVariantsGetUsingGET1** -> IndicatorQueryResp annotateStructuralVariantsGetUsingGET1(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType) + +# **annotateStructuralVariantsGetUsingGET** +> IndicatorQueryResp annotateStructuralVariantsGetUsingGET(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType) annotateStructuralVariantsGet @@ -421,11 +429,12 @@ Integer entrezGeneIdA = 56; // Integer | The entrez gene ID A. (Higher priority String hugoSymbolB = "hugoSymbolB_example"; // String | The gene symbol B used in Human Genome Organisation.Example: BCR Integer entrezGeneIdB = 56; // Integer | The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateStructuralVariantsGetUsingGET1(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType); + IndicatorQueryResp result = apiInstance.annotateStructuralVariantsGetUsingGET(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateStructuralVariantsGetUsingGET1"); + System.err.println("Exception when calling AnnotationsApi#annotateStructuralVariantsGetUsingGET"); e.printStackTrace(); } ``` @@ -441,6 +450,7 @@ Name | Type | Description | Notes **hugoSymbolB** | **String**| The gene symbol B used in Human Genome Organisation.Example: BCR | [optional] **entrezGeneIdB** | **Integer**| The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 | [optional] **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -455,9 +465,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateStructuralVariantsPostUsingPOST1** -> List<IndicatorQueryResp> annotateStructuralVariantsPostUsingPOST1(body) + +# **annotateStructuralVariantsPostUsingPOST** +> List<IndicatorQueryResp> annotateStructuralVariantsPostUsingPOST(body) annotateStructuralVariantsPost @@ -473,10 +483,10 @@ Annotate structural variants. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateStructuralVariantQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateStructuralVariantsPostUsingPOST1(body); + List result = apiInstance.annotateStructuralVariantsPostUsingPOST(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateStructuralVariantsPostUsingPOST1"); + System.err.println("Exception when calling AnnotationsApi#annotateStructuralVariantsPostUsingPOST"); e.printStackTrace(); } ``` diff --git a/oncokbPremiumApiClient/docs/Article.md b/oncokbPrivateApiClient/docs/Article.md similarity index 100% rename from oncokbPremiumApiClient/docs/Article.md rename to oncokbPrivateApiClient/docs/Article.md diff --git a/oncokbPremiumApiClient/docs/ArticleAbstract.md b/oncokbPrivateApiClient/docs/ArticleAbstract.md similarity index 100% rename from oncokbPremiumApiClient/docs/ArticleAbstract.md rename to oncokbPrivateApiClient/docs/ArticleAbstract.md diff --git a/oncokbPremiumApiClient/docs/CancerGene.md b/oncokbPrivateApiClient/docs/CancerGene.md similarity index 100% rename from oncokbPremiumApiClient/docs/CancerGene.md rename to oncokbPrivateApiClient/docs/CancerGene.md diff --git a/oncokbPremiumApiClient/docs/CancerGenesApi.md b/oncokbPrivateApiClient/docs/CancerGenesApi.md similarity index 93% rename from oncokbPremiumApiClient/docs/CancerGenesApi.md rename to oncokbPrivateApiClient/docs/CancerGenesApi.md index f75a265..1acfc33 100644 --- a/oncokbPremiumApiClient/docs/CancerGenesApi.md +++ b/oncokbPrivateApiClient/docs/CancerGenesApi.md @@ -10,8 +10,8 @@ Method | HTTP request | Description [**utilsAllAnnotatedVariantsTxtGetUsingGET**](CancerGenesApi.md#utilsAllAnnotatedVariantsTxtGetUsingGET) | **GET** /utils/allAnnotatedVariants.txt | utilsAllAnnotatedVariantsTxtGet [**utilsAllCuratedGenesGetUsingGET**](CancerGenesApi.md#utilsAllCuratedGenesGetUsingGET) | **GET** /utils/allCuratedGenes | utilsAllCuratedGenesGet [**utilsAllCuratedGenesTxtGetUsingGET**](CancerGenesApi.md#utilsAllCuratedGenesTxtGetUsingGET) | **GET** /utils/allCuratedGenes.txt | utilsAllCuratedGenesTxtGet -[**utilsCancerGeneListGetUsingGET1**](CancerGenesApi.md#utilsCancerGeneListGetUsingGET1) | **GET** /utils/cancerGeneList | utilsCancerGeneListGet -[**utilsCancerGeneListTxtGetUsingGET1**](CancerGenesApi.md#utilsCancerGeneListTxtGetUsingGET1) | **GET** /utils/cancerGeneList.txt | utilsCancerGeneListTxtGet +[**utilsCancerGeneListGetUsingGET**](CancerGenesApi.md#utilsCancerGeneListGetUsingGET) | **GET** /utils/cancerGeneList | utilsCancerGeneListGet +[**utilsCancerGeneListTxtGetUsingGET**](CancerGenesApi.md#utilsCancerGeneListTxtGetUsingGET) | **GET** /utils/cancerGeneList.txt | utilsCancerGeneListTxtGet @@ -284,9 +284,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: text/plain - -# **utilsCancerGeneListGetUsingGET1** -> List<CancerGene> utilsCancerGeneListGetUsingGET1(version) + +# **utilsCancerGeneListGetUsingGET** +> List<CancerGene> utilsCancerGeneListGetUsingGET(version) utilsCancerGeneListGet @@ -302,10 +302,10 @@ Get cancer gene list CancerGenesApi apiInstance = new CancerGenesApi(); String version = "version_example"; // String | version try { - List result = apiInstance.utilsCancerGeneListGetUsingGET1(version); + List result = apiInstance.utilsCancerGeneListGetUsingGET(version); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CancerGenesApi#utilsCancerGeneListGetUsingGET1"); + System.err.println("Exception when calling CancerGenesApi#utilsCancerGeneListGetUsingGET"); e.printStackTrace(); } ``` @@ -329,9 +329,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **utilsCancerGeneListTxtGetUsingGET1** -> String utilsCancerGeneListTxtGetUsingGET1(version) + +# **utilsCancerGeneListTxtGetUsingGET** +> String utilsCancerGeneListTxtGetUsingGET(version) utilsCancerGeneListTxtGet @@ -347,10 +347,10 @@ Get cancer gene list in text file. CancerGenesApi apiInstance = new CancerGenesApi(); String version = "version_example"; // String | version try { - String result = apiInstance.utilsCancerGeneListTxtGetUsingGET1(version); + String result = apiInstance.utilsCancerGeneListTxtGetUsingGET(version); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CancerGenesApi#utilsCancerGeneListTxtGetUsingGET1"); + System.err.println("Exception when calling CancerGenesApi#utilsCancerGeneListTxtGetUsingGET"); e.printStackTrace(); } ``` diff --git a/oncokbPremiumApiClient/docs/Citations.md b/oncokbPrivateApiClient/docs/Citations.md similarity index 100% rename from oncokbPremiumApiClient/docs/Citations.md rename to oncokbPrivateApiClient/docs/Citations.md diff --git a/oncokbPremiumApiClient/docs/ClassificationApi.md b/oncokbPrivateApiClient/docs/ClassificationApi.md similarity index 100% rename from oncokbPremiumApiClient/docs/ClassificationApi.md rename to oncokbPrivateApiClient/docs/ClassificationApi.md diff --git a/oncokbPremiumApiClient/docs/CuratedGene.md b/oncokbPrivateApiClient/docs/CuratedGene.md similarity index 100% rename from oncokbPremiumApiClient/docs/CuratedGene.md rename to oncokbPrivateApiClient/docs/CuratedGene.md diff --git a/oncokbPremiumApiClient/docs/Drug.md b/oncokbPrivateApiClient/docs/Drug.md similarity index 100% rename from oncokbPremiumApiClient/docs/Drug.md rename to oncokbPrivateApiClient/docs/Drug.md diff --git a/oncokbPremiumApiClient/docs/DrugsApi.md b/oncokbPrivateApiClient/docs/DrugsApi.md similarity index 100% rename from oncokbPremiumApiClient/docs/DrugsApi.md rename to oncokbPrivateApiClient/docs/DrugsApi.md diff --git a/oncokbPremiumApiClient/docs/Evidence.md b/oncokbPrivateApiClient/docs/Evidence.md similarity index 100% rename from oncokbPremiumApiClient/docs/Evidence.md rename to oncokbPrivateApiClient/docs/Evidence.md diff --git a/oncokbPremiumApiClient/docs/EvidenceQueries.md b/oncokbPrivateApiClient/docs/EvidenceQueries.md similarity index 100% rename from oncokbPremiumApiClient/docs/EvidenceQueries.md rename to oncokbPrivateApiClient/docs/EvidenceQueries.md diff --git a/oncokbPremiumApiClient/docs/EvidenceQueryRes.md b/oncokbPrivateApiClient/docs/EvidenceQueryRes.md similarity index 100% rename from oncokbPremiumApiClient/docs/EvidenceQueryRes.md rename to oncokbPrivateApiClient/docs/EvidenceQueryRes.md diff --git a/oncokbPremiumApiClient/docs/EvidencesApi.md b/oncokbPrivateApiClient/docs/EvidencesApi.md similarity index 100% rename from oncokbPremiumApiClient/docs/EvidencesApi.md rename to oncokbPrivateApiClient/docs/EvidencesApi.md diff --git a/oncokbPremiumApiClient/docs/Gene.md b/oncokbPrivateApiClient/docs/Gene.md similarity index 100% rename from oncokbPremiumApiClient/docs/Gene.md rename to oncokbPrivateApiClient/docs/Gene.md diff --git a/oncokbPremiumApiClient/docs/GeneEvidence.md b/oncokbPrivateApiClient/docs/GeneEvidence.md similarity index 100% rename from oncokbPremiumApiClient/docs/GeneEvidence.md rename to oncokbPrivateApiClient/docs/GeneEvidence.md diff --git a/oncokbPremiumApiClient/docs/GenesApi.md b/oncokbPrivateApiClient/docs/GenesApi.md similarity index 100% rename from oncokbPremiumApiClient/docs/GenesApi.md rename to oncokbPrivateApiClient/docs/GenesApi.md diff --git a/oncokbPremiumApiClient/docs/Geneset.md b/oncokbPrivateApiClient/docs/Geneset.md similarity index 100% rename from oncokbPremiumApiClient/docs/Geneset.md rename to oncokbPrivateApiClient/docs/Geneset.md diff --git a/oncokbPremiumApiClient/docs/GenesetsApi.md b/oncokbPrivateApiClient/docs/GenesetsApi.md similarity index 100% rename from oncokbPremiumApiClient/docs/GenesetsApi.md rename to oncokbPrivateApiClient/docs/GenesetsApi.md diff --git a/oncokbPremiumApiClient/docs/Implication.md b/oncokbPrivateApiClient/docs/Implication.md similarity index 100% rename from oncokbPremiumApiClient/docs/Implication.md rename to oncokbPrivateApiClient/docs/Implication.md diff --git a/oncokbPremiumApiClient/docs/IndicatorQueryResp.md b/oncokbPrivateApiClient/docs/IndicatorQueryResp.md similarity index 100% rename from oncokbPremiumApiClient/docs/IndicatorQueryResp.md rename to oncokbPrivateApiClient/docs/IndicatorQueryResp.md diff --git a/oncokbPremiumApiClient/docs/IndicatorQueryTreatment.md b/oncokbPrivateApiClient/docs/IndicatorQueryTreatment.md similarity index 86% rename from oncokbPremiumApiClient/docs/IndicatorQueryTreatment.md rename to oncokbPrivateApiClient/docs/IndicatorQueryTreatment.md index f20540e..523effe 100644 --- a/oncokbPremiumApiClient/docs/IndicatorQueryTreatment.md +++ b/oncokbPrivateApiClient/docs/IndicatorQueryTreatment.md @@ -5,10 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **abstracts** | [**List<ArticleAbstract>**](ArticleAbstract.md) | | [optional] +**alterations** | **List<String>** | | [optional] **approvedIndications** | **List<String>** | | [optional] +**description** | **String** | | [optional] **drugs** | [**List<Drug>**](Drug.md) | | [optional] **fdaApproved** | **Boolean** | | [optional] **level** | [**LevelEnum**](#LevelEnum) | | [optional] +**levelAssociatedCancerType** | [**TumorType**](TumorType.md) | | [optional] **pmids** | **List<String>** | | [optional] diff --git a/oncokbPremiumApiClient/docs/InfoApi.md b/oncokbPrivateApiClient/docs/InfoApi.md similarity index 75% rename from oncokbPremiumApiClient/docs/InfoApi.md rename to oncokbPrivateApiClient/docs/InfoApi.md index 4d6e72a..531b040 100644 --- a/oncokbPremiumApiClient/docs/InfoApi.md +++ b/oncokbPrivateApiClient/docs/InfoApi.md @@ -4,12 +4,12 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**infoGetUsingGET1**](InfoApi.md#infoGetUsingGET1) | **GET** /info | infoGet +[**infoGetUsingGET**](InfoApi.md#infoGetUsingGET) | **GET** /info | infoGet - -# **infoGetUsingGET1** -> OncoKBInfo infoGetUsingGET1() + +# **infoGetUsingGET** +> OncoKBInfo infoGetUsingGET() infoGet @@ -22,10 +22,10 @@ infoGet InfoApi apiInstance = new InfoApi(); try { - OncoKBInfo result = apiInstance.infoGetUsingGET1(); + OncoKBInfo result = apiInstance.infoGetUsingGET(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling InfoApi#infoGetUsingGET1"); + System.err.println("Exception when calling InfoApi#infoGetUsingGET"); e.printStackTrace(); } ``` diff --git a/oncokbPremiumApiClient/docs/InfoLevel.md b/oncokbPrivateApiClient/docs/InfoLevel.md similarity index 100% rename from oncokbPremiumApiClient/docs/InfoLevel.md rename to oncokbPrivateApiClient/docs/InfoLevel.md diff --git a/oncokbPremiumApiClient/docs/LevelsApi.md b/oncokbPrivateApiClient/docs/LevelsApi.md similarity index 67% rename from oncokbPremiumApiClient/docs/LevelsApi.md rename to oncokbPrivateApiClient/docs/LevelsApi.md index 045d5dd..17069b5 100644 --- a/oncokbPremiumApiClient/docs/LevelsApi.md +++ b/oncokbPrivateApiClient/docs/LevelsApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**levelsGetUsingGET1**](LevelsApi.md#levelsGetUsingGET1) | **GET** /levels | levelsGet -[**levelsResistanceGetUsingGET1**](LevelsApi.md#levelsResistanceGetUsingGET1) | **GET** /levels/resistance | levelsResistanceGet -[**levelsSensitiveGetUsingGET1**](LevelsApi.md#levelsSensitiveGetUsingGET1) | **GET** /levels/sensitive | levelsSensitiveGet +[**levelsGetUsingGET**](LevelsApi.md#levelsGetUsingGET) | **GET** /levels | levelsGet +[**levelsResistanceGetUsingGET**](LevelsApi.md#levelsResistanceGetUsingGET) | **GET** /levels/resistance | levelsResistanceGet +[**levelsSensitiveGetUsingGET**](LevelsApi.md#levelsSensitiveGetUsingGET) | **GET** /levels/sensitive | levelsSensitiveGet - -# **levelsGetUsingGET1** -> Object levelsGetUsingGET1() + +# **levelsGetUsingGET** +> Object levelsGetUsingGET() levelsGet @@ -26,10 +26,10 @@ Get all levels. LevelsApi apiInstance = new LevelsApi(); try { - Object result = apiInstance.levelsGetUsingGET1(); + Object result = apiInstance.levelsGetUsingGET(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling LevelsApi#levelsGetUsingGET1"); + System.err.println("Exception when calling LevelsApi#levelsGetUsingGET"); e.printStackTrace(); } ``` @@ -50,9 +50,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **levelsResistanceGetUsingGET1** -> Object levelsResistanceGetUsingGET1() + +# **levelsResistanceGetUsingGET** +> Object levelsResistanceGetUsingGET() levelsResistanceGet @@ -67,10 +67,10 @@ Get all resistance levels. LevelsApi apiInstance = new LevelsApi(); try { - Object result = apiInstance.levelsResistanceGetUsingGET1(); + Object result = apiInstance.levelsResistanceGetUsingGET(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling LevelsApi#levelsResistanceGetUsingGET1"); + System.err.println("Exception when calling LevelsApi#levelsResistanceGetUsingGET"); e.printStackTrace(); } ``` @@ -91,9 +91,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **levelsSensitiveGetUsingGET1** -> Object levelsSensitiveGetUsingGET1() + +# **levelsSensitiveGetUsingGET** +> Object levelsSensitiveGetUsingGET() levelsSensitiveGet @@ -108,10 +108,10 @@ Get all sensitive levels. LevelsApi apiInstance = new LevelsApi(); try { - Object result = apiInstance.levelsSensitiveGetUsingGET1(); + Object result = apiInstance.levelsSensitiveGetUsingGET(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling LevelsApi#levelsSensitiveGetUsingGET1"); + System.err.println("Exception when calling LevelsApi#levelsSensitiveGetUsingGET"); e.printStackTrace(); } ``` diff --git a/oncokbPremiumApiClient/docs/MainType.md b/oncokbPrivateApiClient/docs/MainType.md similarity index 100% rename from oncokbPremiumApiClient/docs/MainType.md rename to oncokbPrivateApiClient/docs/MainType.md diff --git a/oncokbPremiumApiClient/docs/MutationEffectResp.md b/oncokbPrivateApiClient/docs/MutationEffectResp.md similarity index 100% rename from oncokbPremiumApiClient/docs/MutationEffectResp.md rename to oncokbPrivateApiClient/docs/MutationEffectResp.md diff --git a/oncokbPremiumApiClient/docs/OncoKBInfo.md b/oncokbPrivateApiClient/docs/OncoKBInfo.md similarity index 100% rename from oncokbPremiumApiClient/docs/OncoKBInfo.md rename to oncokbPrivateApiClient/docs/OncoKBInfo.md diff --git a/oncokbPremiumApiClient/docs/Query.md b/oncokbPrivateApiClient/docs/Query.md similarity index 100% rename from oncokbPremiumApiClient/docs/Query.md rename to oncokbPrivateApiClient/docs/Query.md diff --git a/oncokbPremiumApiClient/docs/QueryGene.md b/oncokbPrivateApiClient/docs/QueryGene.md similarity index 100% rename from oncokbPremiumApiClient/docs/QueryGene.md rename to oncokbPrivateApiClient/docs/QueryGene.md diff --git a/oncokbPremiumApiClient/docs/ResponseEntity.md b/oncokbPrivateApiClient/docs/ResponseEntity.md similarity index 100% rename from oncokbPremiumApiClient/docs/ResponseEntity.md rename to oncokbPrivateApiClient/docs/ResponseEntity.md diff --git a/oncokbPremiumApiClient/docs/SearchApi.md b/oncokbPrivateApiClient/docs/SearchApi.md similarity index 100% rename from oncokbPremiumApiClient/docs/SearchApi.md rename to oncokbPrivateApiClient/docs/SearchApi.md diff --git a/oncokbPremiumApiClient/docs/Treatment.md b/oncokbPrivateApiClient/docs/Treatment.md similarity index 100% rename from oncokbPremiumApiClient/docs/Treatment.md rename to oncokbPrivateApiClient/docs/Treatment.md diff --git a/oncokbPremiumApiClient/docs/TreatmentDrug.md b/oncokbPrivateApiClient/docs/TreatmentDrug.md similarity index 100% rename from oncokbPremiumApiClient/docs/TreatmentDrug.md rename to oncokbPrivateApiClient/docs/TreatmentDrug.md diff --git a/oncokbPremiumApiClient/docs/TreatmentDrugId.md b/oncokbPrivateApiClient/docs/TreatmentDrugId.md similarity index 100% rename from oncokbPremiumApiClient/docs/TreatmentDrugId.md rename to oncokbPrivateApiClient/docs/TreatmentDrugId.md diff --git a/oncokbPremiumApiClient/docs/TumorType.md b/oncokbPrivateApiClient/docs/TumorType.md similarity index 100% rename from oncokbPremiumApiClient/docs/TumorType.md rename to oncokbPrivateApiClient/docs/TumorType.md diff --git a/oncokbPremiumApiClient/docs/VariantConsequence.md b/oncokbPrivateApiClient/docs/VariantConsequence.md similarity index 100% rename from oncokbPremiumApiClient/docs/VariantConsequence.md rename to oncokbPrivateApiClient/docs/VariantConsequence.md diff --git a/oncokbPremiumApiClient/docs/VariantSearchQuery.md b/oncokbPrivateApiClient/docs/VariantSearchQuery.md similarity index 100% rename from oncokbPremiumApiClient/docs/VariantSearchQuery.md rename to oncokbPrivateApiClient/docs/VariantSearchQuery.md diff --git a/oncokbPremiumApiClient/docs/VariantsApi.md b/oncokbPrivateApiClient/docs/VariantsApi.md similarity index 100% rename from oncokbPremiumApiClient/docs/VariantsApi.md rename to oncokbPrivateApiClient/docs/VariantsApi.md diff --git a/oncokbPremiumApiClient/docs/Version.md b/oncokbPrivateApiClient/docs/Version.md similarity index 100% rename from oncokbPremiumApiClient/docs/Version.md rename to oncokbPrivateApiClient/docs/Version.md diff --git a/oncokbPremiumApiClient/git_push.sh b/oncokbPrivateApiClient/git_push.sh similarity index 100% rename from oncokbPremiumApiClient/git_push.sh rename to oncokbPrivateApiClient/git_push.sh diff --git a/oncokbPremiumApiClient/gradle.properties b/oncokbPrivateApiClient/gradle.properties similarity index 100% rename from oncokbPremiumApiClient/gradle.properties rename to oncokbPrivateApiClient/gradle.properties diff --git a/oncokbPremiumApiClient/gradle/wrapper/gradle-wrapper.jar b/oncokbPrivateApiClient/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from oncokbPremiumApiClient/gradle/wrapper/gradle-wrapper.jar rename to oncokbPrivateApiClient/gradle/wrapper/gradle-wrapper.jar diff --git a/oncokbPremiumApiClient/gradle/wrapper/gradle-wrapper.properties b/oncokbPrivateApiClient/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from oncokbPremiumApiClient/gradle/wrapper/gradle-wrapper.properties rename to oncokbPrivateApiClient/gradle/wrapper/gradle-wrapper.properties diff --git a/oncokbPremiumApiClient/gradlew b/oncokbPrivateApiClient/gradlew similarity index 100% rename from oncokbPremiumApiClient/gradlew rename to oncokbPrivateApiClient/gradlew diff --git a/oncokbPremiumApiClient/gradlew.bat b/oncokbPrivateApiClient/gradlew.bat similarity index 100% rename from oncokbPremiumApiClient/gradlew.bat rename to oncokbPrivateApiClient/gradlew.bat diff --git a/oncokbPremiumApiClient/pom.xml b/oncokbPrivateApiClient/pom.xml similarity index 99% rename from oncokbPremiumApiClient/pom.xml rename to oncokbPrivateApiClient/pom.xml index 1ba24dd..eba258f 100644 --- a/oncokbPremiumApiClient/pom.xml +++ b/oncokbPrivateApiClient/pom.xml @@ -2,9 +2,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.oncokb.client - oncokbPremiumApiClient + oncokbPrivateApiClient jar - oncokbPremiumApiClient + oncokbPrivateApiClient 1.1.1-SNAPSHOT https://github.com/swagger-api/swagger-codegen Swagger Java diff --git a/oncokbPrivateApiClient/settings.gradle b/oncokbPrivateApiClient/settings.gradle new file mode 100644 index 0000000..b5d89e6 --- /dev/null +++ b/oncokbPrivateApiClient/settings.gradle @@ -0,0 +1 @@ +rootProject.name = "oncokbPrivateApiClient" \ No newline at end of file diff --git a/oncokbPremiumApiClient/src/main/AndroidManifest.xml b/oncokbPrivateApiClient/src/main/AndroidManifest.xml similarity index 100% rename from oncokbPremiumApiClient/src/main/AndroidManifest.xml rename to oncokbPrivateApiClient/src/main/AndroidManifest.xml diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/ApiCallback.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/ApiCallback.java similarity index 91% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/ApiCallback.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/ApiCallback.java index 5ed3c7c..0f1395e 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/ApiCallback.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/ApiCallback.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/ApiClient.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/ApiClient.java similarity index 99% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/ApiClient.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/ApiClient.java index 1d9c158..d03e0ba 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/ApiClient.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/ApiClient.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/ApiException.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/ApiException.java similarity index 91% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/ApiException.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/ApiException.java index 929e663..03b0439 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/ApiException.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/ApiException.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -16,7 +16,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/ApiResponse.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/ApiResponse.java similarity index 89% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/ApiResponse.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/ApiResponse.java index ff835e7..96b1db1 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/ApiResponse.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/ApiResponse.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/Configuration.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/Configuration.java similarity index 81% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/Configuration.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/Configuration.java index 89f9868..5bf98ad 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/Configuration.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/Configuration.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -13,7 +13,7 @@ package org.oncokb; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/GzipRequestInterceptor.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/GzipRequestInterceptor.java similarity index 94% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/GzipRequestInterceptor.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/GzipRequestInterceptor.java index 6f5207c..84b7a36 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/GzipRequestInterceptor.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/GzipRequestInterceptor.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/JSON.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/JSON.java similarity index 98% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/JSON.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/JSON.java index c883c2b..834997f 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/JSON.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/JSON.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/Pair.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/Pair.java similarity index 82% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/Pair.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/Pair.java index 811d443..eaec18a 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/Pair.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/Pair.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -13,7 +13,7 @@ package org.oncokb; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Pair { private String name = ""; private String value = ""; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/ProgressRequestBody.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/ProgressRequestBody.java similarity index 92% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/ProgressRequestBody.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/ProgressRequestBody.java index ce46fb1..547cf31 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/ProgressRequestBody.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/ProgressRequestBody.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/ProgressResponseBody.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/ProgressResponseBody.java similarity index 92% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/ProgressResponseBody.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/ProgressResponseBody.java index 9906160..5761d86 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/ProgressResponseBody.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/ProgressResponseBody.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/StringUtil.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/StringUtil.java similarity index 87% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/StringUtil.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/StringUtil.java index efc6aa2..e7585da 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/StringUtil.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/StringUtil.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -13,7 +13,7 @@ package org.oncokb; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java similarity index 87% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java index 06a1beb..4930e4b 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -18,7 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/Authentication.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/Authentication.java similarity index 80% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/auth/Authentication.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/auth/Authentication.java index 8f3c083..d47a6fd 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/Authentication.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/Authentication.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/HttpBasicAuth.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/HttpBasicAuth.java similarity index 88% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/auth/HttpBasicAuth.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/auth/HttpBasicAuth.java index c2a2f92..d6d120d 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/HttpBasicAuth.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/HttpBasicAuth.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/OAuth.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/OAuth.java similarity index 79% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/auth/OAuth.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/auth/OAuth.java index 47a1891..adac283 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/OAuth.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/OAuth.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -18,7 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class OAuth implements Authentication { private String accessToken; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/OAuthFlow.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/OAuthFlow.java similarity index 68% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/auth/OAuthFlow.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/auth/OAuthFlow.java index 7cf7340..eb1fe01 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/auth/OAuthFlow.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/auth/OAuthFlow.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/ActionableGene.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/ActionableGene.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/ActionableGene.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/ActionableGene.java index 7bfeda2..3867252 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/ActionableGene.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/ActionableGene.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * ActionableGene */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class ActionableGene { @SerializedName("abstracts") private String abstracts = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Alteration.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Alteration.java similarity index 96% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Alteration.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Alteration.java index 94910d2..92545f3 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Alteration.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Alteration.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -29,7 +29,7 @@ /** * Alteration */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Alteration { @SerializedName("alteration") private String alteration = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java similarity index 61% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java index 6480c83..ef1d53c 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -23,12 +23,14 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import org.oncokb.client.QueryGene; /** * AnnotateCopyNumberAlterationQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class AnnotateCopyNumberAlterationQuery { /** * Gets or Sets copyNameAlterationType @@ -84,6 +86,84 @@ public CopyNameAlterationTypeEnum read(final JsonReader jsonReader) throws IOExc @SerializedName("copyNameAlterationType") private CopyNameAlterationTypeEnum copyNameAlterationType = null; + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + @SerializedName("gene") private QueryGene gene = null; @@ -111,6 +191,32 @@ public void setCopyNameAlterationType(CopyNameAlterationTypeEnum copyNameAlterat this.copyNameAlterationType = copyNameAlterationType; } + public AnnotateCopyNumberAlterationQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateCopyNumberAlterationQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + public AnnotateCopyNumberAlterationQuery gene(QueryGene gene) { this.gene = gene; return this; @@ -176,6 +282,7 @@ public boolean equals(java.lang.Object o) { } AnnotateCopyNumberAlterationQuery annotateCopyNumberAlterationQuery = (AnnotateCopyNumberAlterationQuery) o; return Objects.equals(this.copyNameAlterationType, annotateCopyNumberAlterationQuery.copyNameAlterationType) && + Objects.equals(this.evidenceTypes, annotateCopyNumberAlterationQuery.evidenceTypes) && Objects.equals(this.gene, annotateCopyNumberAlterationQuery.gene) && Objects.equals(this.id, annotateCopyNumberAlterationQuery.id) && Objects.equals(this.tumorType, annotateCopyNumberAlterationQuery.tumorType); @@ -183,7 +290,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(copyNameAlterationType, gene, id, tumorType); + return Objects.hash(copyNameAlterationType, evidenceTypes, gene, id, tumorType); } @@ -193,6 +300,7 @@ public String toString() { sb.append("class AnnotateCopyNumberAlterationQuery {\n"); sb.append(" copyNameAlterationType: ").append(toIndentedString(copyNameAlterationType)).append("\n"); + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); sb.append(" gene: ").append(toIndentedString(gene)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" tumorType: ").append(toIndentedString(tumorType)).append("\n"); diff --git a/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java new file mode 100644 index 0000000..797d09f --- /dev/null +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java @@ -0,0 +1,248 @@ +/* + * OncoKB Private APIs + * These endpoints are for private use only. + * + * OpenAPI spec version: v1.0.0 + * Contact: contact@oncokb.org + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package org.oncokb.client; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * AnnotateMutationByGenomicChangeQuery + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") +public class AnnotateMutationByGenomicChangeQuery { + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + + @SerializedName("genomicLocation") + private String genomicLocation = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("tumorType") + private String tumorType = null; + + public AnnotateMutationByGenomicChangeQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateMutationByGenomicChangeQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + + public AnnotateMutationByGenomicChangeQuery genomicLocation(String genomicLocation) { + this.genomicLocation = genomicLocation; + return this; + } + + /** + * Get genomicLocation + * @return genomicLocation + **/ + @ApiModelProperty(value = "") + public String getGenomicLocation() { + return genomicLocation; + } + + public void setGenomicLocation(String genomicLocation) { + this.genomicLocation = genomicLocation; + } + + public AnnotateMutationByGenomicChangeQuery id(String id) { + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @ApiModelProperty(value = "") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public AnnotateMutationByGenomicChangeQuery tumorType(String tumorType) { + this.tumorType = tumorType; + return this; + } + + /** + * Get tumorType + * @return tumorType + **/ + @ApiModelProperty(value = "") + public String getTumorType() { + return tumorType; + } + + public void setTumorType(String tumorType) { + this.tumorType = tumorType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AnnotateMutationByGenomicChangeQuery annotateMutationByGenomicChangeQuery = (AnnotateMutationByGenomicChangeQuery) o; + return Objects.equals(this.evidenceTypes, annotateMutationByGenomicChangeQuery.evidenceTypes) && + Objects.equals(this.genomicLocation, annotateMutationByGenomicChangeQuery.genomicLocation) && + Objects.equals(this.id, annotateMutationByGenomicChangeQuery.id) && + Objects.equals(this.tumorType, annotateMutationByGenomicChangeQuery.tumorType); + } + + @Override + public int hashCode() { + return Objects.hash(evidenceTypes, genomicLocation, id, tumorType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AnnotateMutationByGenomicChangeQuery {\n"); + + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); + sb.append(" genomicLocation: ").append(toIndentedString(genomicLocation)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" tumorType: ").append(toIndentedString(tumorType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java new file mode 100644 index 0000000..3829162 --- /dev/null +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java @@ -0,0 +1,248 @@ +/* + * OncoKB Private APIs + * These endpoints are for private use only. + * + * OpenAPI spec version: v1.0.0 + * Contact: contact@oncokb.org + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package org.oncokb.client; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * AnnotateMutationByHGVSgQuery + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") +public class AnnotateMutationByHGVSgQuery { + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + + @SerializedName("hgvsg") + private String hgvsg = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("tumorType") + private String tumorType = null; + + public AnnotateMutationByHGVSgQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateMutationByHGVSgQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + + public AnnotateMutationByHGVSgQuery hgvsg(String hgvsg) { + this.hgvsg = hgvsg; + return this; + } + + /** + * Get hgvsg + * @return hgvsg + **/ + @ApiModelProperty(value = "") + public String getHgvsg() { + return hgvsg; + } + + public void setHgvsg(String hgvsg) { + this.hgvsg = hgvsg; + } + + public AnnotateMutationByHGVSgQuery id(String id) { + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @ApiModelProperty(value = "") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public AnnotateMutationByHGVSgQuery tumorType(String tumorType) { + this.tumorType = tumorType; + return this; + } + + /** + * Get tumorType + * @return tumorType + **/ + @ApiModelProperty(value = "") + public String getTumorType() { + return tumorType; + } + + public void setTumorType(String tumorType) { + this.tumorType = tumorType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AnnotateMutationByHGVSgQuery annotateMutationByHGVSgQuery = (AnnotateMutationByHGVSgQuery) o; + return Objects.equals(this.evidenceTypes, annotateMutationByHGVSgQuery.evidenceTypes) && + Objects.equals(this.hgvsg, annotateMutationByHGVSgQuery.hgvsg) && + Objects.equals(this.id, annotateMutationByHGVSgQuery.id) && + Objects.equals(this.tumorType, annotateMutationByHGVSgQuery.tumorType); + } + + @Override + public int hashCode() { + return Objects.hash(evidenceTypes, hgvsg, id, tumorType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AnnotateMutationByHGVSgQuery {\n"); + + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); + sb.append(" hgvsg: ").append(toIndentedString(hgvsg)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" tumorType: ").append(toIndentedString(tumorType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java similarity index 62% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java index 367a8aa..52b5fbb 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -23,12 +23,14 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import org.oncokb.client.QueryGene; /** * AnnotateMutationByProteinChangeQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class AnnotateMutationByProteinChangeQuery { @SerializedName("alteration") private String alteration = null; @@ -36,6 +38,84 @@ public class AnnotateMutationByProteinChangeQuery { @SerializedName("consequence") private String consequence = null; + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + @SerializedName("gene") private QueryGene gene = null; @@ -87,6 +167,32 @@ public void setConsequence(String consequence) { this.consequence = consequence; } + public AnnotateMutationByProteinChangeQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateMutationByProteinChangeQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + public AnnotateMutationByProteinChangeQuery gene(QueryGene gene) { this.gene = gene; return this; @@ -189,6 +295,7 @@ public boolean equals(java.lang.Object o) { AnnotateMutationByProteinChangeQuery annotateMutationByProteinChangeQuery = (AnnotateMutationByProteinChangeQuery) o; return Objects.equals(this.alteration, annotateMutationByProteinChangeQuery.alteration) && Objects.equals(this.consequence, annotateMutationByProteinChangeQuery.consequence) && + Objects.equals(this.evidenceTypes, annotateMutationByProteinChangeQuery.evidenceTypes) && Objects.equals(this.gene, annotateMutationByProteinChangeQuery.gene) && Objects.equals(this.id, annotateMutationByProteinChangeQuery.id) && Objects.equals(this.proteinEnd, annotateMutationByProteinChangeQuery.proteinEnd) && @@ -198,7 +305,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(alteration, consequence, gene, id, proteinEnd, proteinStart, tumorType); + return Objects.hash(alteration, consequence, evidenceTypes, gene, id, proteinEnd, proteinStart, tumorType); } @@ -209,6 +316,7 @@ public String toString() { sb.append(" alteration: ").append(toIndentedString(alteration)).append("\n"); sb.append(" consequence: ").append(toIndentedString(consequence)).append("\n"); + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); sb.append(" gene: ").append(toIndentedString(gene)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" proteinEnd: ").append(toIndentedString(proteinEnd)).append("\n"); diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java similarity index 65% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java index 1075541..15261e6 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -23,13 +23,93 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import org.oncokb.client.QueryGene; /** * AnnotateStructuralVariantQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class AnnotateStructuralVariantQuery { + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + @SerializedName("functionalFusion") private Boolean functionalFusion = null; @@ -105,6 +185,32 @@ public StructuralVariantTypeEnum read(final JsonReader jsonReader) throws IOExce @SerializedName("tumorType") private String tumorType = null; + public AnnotateStructuralVariantQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateStructuralVariantQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + public AnnotateStructuralVariantQuery functionalFusion(Boolean functionalFusion) { this.functionalFusion = functionalFusion; return this; @@ -223,7 +329,8 @@ public boolean equals(java.lang.Object o) { return false; } AnnotateStructuralVariantQuery annotateStructuralVariantQuery = (AnnotateStructuralVariantQuery) o; - return Objects.equals(this.functionalFusion, annotateStructuralVariantQuery.functionalFusion) && + return Objects.equals(this.evidenceTypes, annotateStructuralVariantQuery.evidenceTypes) && + Objects.equals(this.functionalFusion, annotateStructuralVariantQuery.functionalFusion) && Objects.equals(this.geneA, annotateStructuralVariantQuery.geneA) && Objects.equals(this.geneB, annotateStructuralVariantQuery.geneB) && Objects.equals(this.id, annotateStructuralVariantQuery.id) && @@ -233,7 +340,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(functionalFusion, geneA, geneB, id, structuralVariantType, tumorType); + return Objects.hash(evidenceTypes, functionalFusion, geneA, geneB, id, structuralVariantType, tumorType); } @@ -242,6 +349,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AnnotateStructuralVariantQuery {\n"); + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); sb.append(" functionalFusion: ").append(toIndentedString(functionalFusion)).append("\n"); sb.append(" geneA: ").append(toIndentedString(geneA)).append("\n"); sb.append(" geneB: ").append(toIndentedString(geneB)).append("\n"); diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotatedVariant.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotatedVariant.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotatedVariant.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotatedVariant.java index cd4f265..66877ce 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotatedVariant.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotatedVariant.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * AnnotatedVariant */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class AnnotatedVariant { @SerializedName("entrezGeneId") private Integer entrezGeneId = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java similarity index 71% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java index 8c85542..a410a87 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -60,17 +60,18 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for annotateCopyNumberAlterationsGetUsingGET1 + * Build call for annotateCopyNumberAlterationsGetUsingGET * @param copyNameAlterationType Copy number alteration type (required) * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGET1Call(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGETCall(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -86,6 +87,8 @@ public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGET1Call(St localVarQueryParams.addAll(apiClient.parameterToPair("copyNameAlterationType", copyNameAlterationType)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -120,15 +123,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGET1ValidateBeforeCall(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGETValidateBeforeCall(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'copyNameAlterationType' is set if (copyNameAlterationType == null) { - throw new ApiException("Missing the required parameter 'copyNameAlterationType' when calling annotateCopyNumberAlterationsGetUsingGET1(Async)"); + throw new ApiException("Missing the required parameter 'copyNameAlterationType' when calling annotateCopyNumberAlterationsGetUsingGET(Async)"); } - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGET1Call(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGETCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -140,11 +143,12 @@ private com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGET1Valida * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET1(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType) throws ApiException { - ApiResponse resp = annotateCopyNumberAlterationsGetUsingGET1WithHttpInfo(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType); + public IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateCopyNumberAlterationsGetUsingGETWithHttpInfo(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType); return resp.getData(); } @@ -155,11 +159,12 @@ public IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET1(String copyN * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateCopyNumberAlterationsGetUsingGET1WithHttpInfo(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGET1ValidateBeforeCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, null, null); + public ApiResponse annotateCopyNumberAlterationsGetUsingGETWithHttpInfo(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGETValidateBeforeCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -171,11 +176,12 @@ public ApiResponse annotateCopyNumberAlterationsGetUsingGET1 * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGET1Async(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGETAsync(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -196,20 +202,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGET1ValidateBeforeCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGETValidateBeforeCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateCopyNumberAlterationsPostUsingPOST1 + * Build call for annotateCopyNumberAlterationsPostUsingPOST * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -251,15 +257,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateCopyNumberAlterationsPostUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateCopyNumberAlterationsPostUsingPOST(Async)"); } - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOST1Call(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOSTCall(body, progressListener, progressRequestListener); return call; } @@ -271,8 +277,8 @@ private com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOST1Vali * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateCopyNumberAlterationsPostUsingPOST1(List body) throws ApiException { - ApiResponse> resp = annotateCopyNumberAlterationsPostUsingPOST1WithHttpInfo(body); + public List annotateCopyNumberAlterationsPostUsingPOST(List body) throws ApiException { + ApiResponse> resp = annotateCopyNumberAlterationsPostUsingPOSTWithHttpInfo(body); return resp.getData(); } @@ -283,8 +289,8 @@ public List annotateCopyNumberAlterationsPostUsingPOST1(List * @return ApiResponse<List<IndicatorQueryResp>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> annotateCopyNumberAlterationsPostUsingPOST1WithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOST1ValidateBeforeCall(body, null, null); + public ApiResponse> annotateCopyNumberAlterationsPostUsingPOSTWithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOSTValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -297,7 +303,7 @@ public ApiResponse> annotateCopyNumberAlterationsPostUs * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -318,21 +324,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByGenomicChangeGetUsingGET1 + * Build call for annotateMutationsByGenomicChangeGetUsingGET * @param genomicLocation Genomic location. Example: 7,140453136,140453136,A,T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGET1Call(String genomicLocation, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGETCall(String genomicLocation, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -344,6 +351,8 @@ public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGET1Call localVarQueryParams.addAll(apiClient.parameterToPair("genomicLocation", genomicLocation)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -378,15 +387,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGET1ValidateBeforeCall(String genomicLocation, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGETValidateBeforeCall(String genomicLocation, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'genomicLocation' is set if (genomicLocation == null) { - throw new ApiException("Missing the required parameter 'genomicLocation' when calling annotateMutationsByGenomicChangeGetUsingGET1(Async)"); + throw new ApiException("Missing the required parameter 'genomicLocation' when calling annotateMutationsByGenomicChangeGetUsingGET(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGET1Call(genomicLocation, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGETCall(genomicLocation, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -396,11 +405,12 @@ private com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGET1Val * Annotate mutation by genomic change. * @param genomicLocation Genomic location. Example: 7,140453136,140453136,A,T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET1(String genomicLocation, String tumorType) throws ApiException { - ApiResponse resp = annotateMutationsByGenomicChangeGetUsingGET1WithHttpInfo(genomicLocation, tumorType); + public IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET(String genomicLocation, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateMutationsByGenomicChangeGetUsingGETWithHttpInfo(genomicLocation, tumorType, evidenceType); return resp.getData(); } @@ -409,11 +419,12 @@ public IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET1(String ge * Annotate mutation by genomic change. * @param genomicLocation Genomic location. Example: 7,140453136,140453136,A,T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateMutationsByGenomicChangeGetUsingGET1WithHttpInfo(String genomicLocation, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGET1ValidateBeforeCall(genomicLocation, tumorType, null, null); + public ApiResponse annotateMutationsByGenomicChangeGetUsingGETWithHttpInfo(String genomicLocation, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGETValidateBeforeCall(genomicLocation, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -423,11 +434,12 @@ public ApiResponse annotateMutationsByGenomicChangeGetUsingG * Annotate mutation by genomic change. * @param genomicLocation Genomic location. Example: 7,140453136,140453136,A,T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGET1Async(String genomicLocation, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGETAsync(String genomicLocation, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -448,20 +460,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGET1ValidateBeforeCall(genomicLocation, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGETValidateBeforeCall(genomicLocation, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByGenomicChangePostUsingPOST1 + * Build call for annotateMutationsByGenomicChangePostUsingPOST * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -503,15 +515,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByGenomicChangePostUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByGenomicChangePostUsingPOST(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOST1Call(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOSTCall(body, progressListener, progressRequestListener); return call; } @@ -523,8 +535,8 @@ private com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOST1V * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateMutationsByGenomicChangePostUsingPOST1(List body) throws ApiException { - ApiResponse> resp = annotateMutationsByGenomicChangePostUsingPOST1WithHttpInfo(body); + public List annotateMutationsByGenomicChangePostUsingPOST(List body) throws ApiException { + ApiResponse> resp = annotateMutationsByGenomicChangePostUsingPOSTWithHttpInfo(body); return resp.getData(); } @@ -535,8 +547,8 @@ public List annotateMutationsByGenomicChangePostUsingPOST1(L * @return ApiResponse<List<IndicatorQueryResp>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> annotateMutationsByGenomicChangePostUsingPOST1WithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOST1ValidateBeforeCall(body, null, null); + public ApiResponse> annotateMutationsByGenomicChangePostUsingPOSTWithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOSTValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -549,7 +561,7 @@ public ApiResponse> annotateMutationsByGenomicChangePos * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -570,21 +582,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByHGVSgGetUsingGET1 + * Build call for annotateMutationsByHGVSgGetUsingGET * @param hgvsg HGVS genomic format. Example: 7:g.140453136A>T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGET1Call(String hgvsg, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGETCall(String hgvsg, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -596,6 +609,8 @@ public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGET1Call(String localVarQueryParams.addAll(apiClient.parameterToPair("hgvsg", hgvsg)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -630,15 +645,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGET1ValidateBeforeCall(String hgvsg, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGETValidateBeforeCall(String hgvsg, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'hgvsg' is set if (hgvsg == null) { - throw new ApiException("Missing the required parameter 'hgvsg' when calling annotateMutationsByHGVSgGetUsingGET1(Async)"); + throw new ApiException("Missing the required parameter 'hgvsg' when calling annotateMutationsByHGVSgGetUsingGET(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGET1Call(hgvsg, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGETCall(hgvsg, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -648,11 +663,12 @@ private com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGET1ValidateBef * Annotate mutation by HGVSg. * @param hgvsg HGVS genomic format. Example: 7:g.140453136A>T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET1(String hgvsg, String tumorType) throws ApiException { - ApiResponse resp = annotateMutationsByHGVSgGetUsingGET1WithHttpInfo(hgvsg, tumorType); + public IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET(String hgvsg, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateMutationsByHGVSgGetUsingGETWithHttpInfo(hgvsg, tumorType, evidenceType); return resp.getData(); } @@ -661,11 +677,12 @@ public IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET1(String hgvsg, Str * Annotate mutation by HGVSg. * @param hgvsg HGVS genomic format. Example: 7:g.140453136A>T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateMutationsByHGVSgGetUsingGET1WithHttpInfo(String hgvsg, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGET1ValidateBeforeCall(hgvsg, tumorType, null, null); + public ApiResponse annotateMutationsByHGVSgGetUsingGETWithHttpInfo(String hgvsg, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGETValidateBeforeCall(hgvsg, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -675,11 +692,12 @@ public ApiResponse annotateMutationsByHGVSgGetUsingGET1WithH * Annotate mutation by HGVSg. * @param hgvsg HGVS genomic format. Example: 7:g.140453136A>T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGET1Async(String hgvsg, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGETAsync(String hgvsg, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -700,20 +718,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGET1ValidateBeforeCall(hgvsg, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGETValidateBeforeCall(hgvsg, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByHGVSgPostUsingPOST1 + * Build call for annotateMutationsByHGVSgPostUsingPOST * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -755,15 +773,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByHGVSgPostUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByHGVSgPostUsingPOST(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOST1Call(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOSTCall(body, progressListener, progressRequestListener); return call; } @@ -775,8 +793,8 @@ private com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOST1ValidateB * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateMutationsByHGVSgPostUsingPOST1(List body) throws ApiException { - ApiResponse> resp = annotateMutationsByHGVSgPostUsingPOST1WithHttpInfo(body); + public List annotateMutationsByHGVSgPostUsingPOST(List body) throws ApiException { + ApiResponse> resp = annotateMutationsByHGVSgPostUsingPOSTWithHttpInfo(body); return resp.getData(); } @@ -787,8 +805,8 @@ public List annotateMutationsByHGVSgPostUsingPOST1(List> annotateMutationsByHGVSgPostUsingPOST1WithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOST1ValidateBeforeCall(body, null, null); + public ApiResponse> annotateMutationsByHGVSgPostUsingPOSTWithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOSTValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -801,7 +819,7 @@ public ApiResponse> annotateMutationsByHGVSgPostUsingPO * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -822,13 +840,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByProteinChangeGetUsingGET1 + * Build call for annotateMutationsByProteinChangeGetUsingGET * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param alteration Protein Change. Example: V600E (optional) @@ -836,12 +854,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param proteinStart Protein Start. Example: 600 (optional) * @param proteinEnd Protein End. Example: 600 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGET1Call(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGETCall(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -863,6 +882,8 @@ public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGET1Call localVarQueryParams.addAll(apiClient.parameterToPair("proteinEnd", proteinEnd)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -897,10 +918,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGET1ValidateBeforeCall(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGETValidateBeforeCall(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGET1Call(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGETCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -915,11 +936,12 @@ private com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGET1Val * @param proteinStart Protein Start. Example: 600 (optional) * @param proteinEnd Protein End. Example: 600 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET1(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType) throws ApiException { - ApiResponse resp = annotateMutationsByProteinChangeGetUsingGET1WithHttpInfo(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType); + public IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateMutationsByProteinChangeGetUsingGETWithHttpInfo(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType); return resp.getData(); } @@ -933,11 +955,12 @@ public IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET1(String hu * @param proteinStart Protein Start. Example: 600 (optional) * @param proteinEnd Protein End. Example: 600 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateMutationsByProteinChangeGetUsingGET1WithHttpInfo(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGET1ValidateBeforeCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, null, null); + public ApiResponse annotateMutationsByProteinChangeGetUsingGETWithHttpInfo(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGETValidateBeforeCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -952,11 +975,12 @@ public ApiResponse annotateMutationsByProteinChangeGetUsingG * @param proteinStart Protein Start. Example: 600 (optional) * @param proteinEnd Protein End. Example: 600 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGET1Async(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGETAsync(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -977,20 +1001,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGET1ValidateBeforeCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGETValidateBeforeCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByProteinChangePostUsingPOST1 + * Build call for annotateMutationsByProteinChangePostUsingPOST * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1032,15 +1056,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByProteinChangePostUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByProteinChangePostUsingPOST(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOST1Call(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOSTCall(body, progressListener, progressRequestListener); return call; } @@ -1052,8 +1076,8 @@ private com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOST1V * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateMutationsByProteinChangePostUsingPOST1(List body) throws ApiException { - ApiResponse> resp = annotateMutationsByProteinChangePostUsingPOST1WithHttpInfo(body); + public List annotateMutationsByProteinChangePostUsingPOST(List body) throws ApiException { + ApiResponse> resp = annotateMutationsByProteinChangePostUsingPOSTWithHttpInfo(body); return resp.getData(); } @@ -1064,8 +1088,8 @@ public List annotateMutationsByProteinChangePostUsingPOST1(L * @return ApiResponse<List<IndicatorQueryResp>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> annotateMutationsByProteinChangePostUsingPOST1WithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOST1ValidateBeforeCall(body, null, null); + public ApiResponse> annotateMutationsByProteinChangePostUsingPOSTWithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOSTValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1078,7 +1102,7 @@ public ApiResponse> annotateMutationsByProteinChangePos * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1099,13 +1123,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateStructuralVariantsGetUsingGET1 + * Build call for annotateStructuralVariantsGetUsingGET * @param structuralVariantType Structural variant type (required) * @param isFunctionalFusion Whether is functional fusion (required) * @param hugoSymbolA The gene symbol A used in Human Genome Organisation. Example: ABL1 (optional) @@ -1113,12 +1137,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param hugoSymbolB The gene symbol B used in Human Genome Organisation.Example: BCR (optional) * @param entrezGeneIdB The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGET1Call(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGETCall(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1140,6 +1165,8 @@ public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGET1Call(Strin localVarQueryParams.addAll(apiClient.parameterToPair("isFunctionalFusion", isFunctionalFusion)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -1174,20 +1201,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGET1ValidateBeforeCall(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGETValidateBeforeCall(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'structuralVariantType' is set if (structuralVariantType == null) { - throw new ApiException("Missing the required parameter 'structuralVariantType' when calling annotateStructuralVariantsGetUsingGET1(Async)"); + throw new ApiException("Missing the required parameter 'structuralVariantType' when calling annotateStructuralVariantsGetUsingGET(Async)"); } // verify the required parameter 'isFunctionalFusion' is set if (isFunctionalFusion == null) { - throw new ApiException("Missing the required parameter 'isFunctionalFusion' when calling annotateStructuralVariantsGetUsingGET1(Async)"); + throw new ApiException("Missing the required parameter 'isFunctionalFusion' when calling annotateStructuralVariantsGetUsingGET(Async)"); } - com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGET1Call(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGETCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -1202,11 +1229,12 @@ private com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGET1ValidateB * @param hugoSymbolB The gene symbol B used in Human Genome Organisation.Example: BCR (optional) * @param entrezGeneIdB The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateStructuralVariantsGetUsingGET1(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType) throws ApiException { - ApiResponse resp = annotateStructuralVariantsGetUsingGET1WithHttpInfo(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType); + public IndicatorQueryResp annotateStructuralVariantsGetUsingGET(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateStructuralVariantsGetUsingGETWithHttpInfo(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType); return resp.getData(); } @@ -1220,11 +1248,12 @@ public IndicatorQueryResp annotateStructuralVariantsGetUsingGET1(String structur * @param hugoSymbolB The gene symbol B used in Human Genome Organisation.Example: BCR (optional) * @param entrezGeneIdB The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateStructuralVariantsGetUsingGET1WithHttpInfo(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGET1ValidateBeforeCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, null, null); + public ApiResponse annotateStructuralVariantsGetUsingGETWithHttpInfo(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGETValidateBeforeCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1239,11 +1268,12 @@ public ApiResponse annotateStructuralVariantsGetUsingGET1Wit * @param hugoSymbolB The gene symbol B used in Human Genome Organisation.Example: BCR (optional) * @param entrezGeneIdB The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGET1Async(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGETAsync(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1264,20 +1294,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGET1ValidateBeforeCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGETValidateBeforeCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateStructuralVariantsPostUsingPOST1 + * Build call for annotateStructuralVariantsPostUsingPOST * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1319,15 +1349,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateStructuralVariantsPostUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateStructuralVariantsPostUsingPOST(Async)"); } - com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOST1Call(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOSTCall(body, progressListener, progressRequestListener); return call; } @@ -1339,8 +1369,8 @@ private com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOST1Validat * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateStructuralVariantsPostUsingPOST1(List body) throws ApiException { - ApiResponse> resp = annotateStructuralVariantsPostUsingPOST1WithHttpInfo(body); + public List annotateStructuralVariantsPostUsingPOST(List body) throws ApiException { + ApiResponse> resp = annotateStructuralVariantsPostUsingPOSTWithHttpInfo(body); return resp.getData(); } @@ -1351,8 +1381,8 @@ public List annotateStructuralVariantsPostUsingPOST1(List> annotateStructuralVariantsPostUsingPOST1WithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOST1ValidateBeforeCall(body, null, null); + public ApiResponse> annotateStructuralVariantsPostUsingPOSTWithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOSTValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1365,7 +1395,7 @@ public ApiResponse> annotateStructuralVariantsPostUsing * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1386,7 +1416,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Article.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Article.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Article.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Article.java index 4c81d8e..fe041fe 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Article.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Article.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * Article */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Article { @SerializedName("abstract") private String _abstract = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java similarity index 92% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java index c3da537..d6e8028 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * ArticleAbstract */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class ArticleAbstract { @SerializedName("abstract") private String _abstract = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/CancerGene.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/CancerGene.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/CancerGene.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/CancerGene.java index 8c7341e..9f01a9d 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/CancerGene.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/CancerGene.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * CancerGene */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class CancerGene { @SerializedName("entrezGeneId") private Integer entrezGeneId = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java similarity index 95% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java index 61bbfeb..2b84d43 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -772,14 +772,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for utilsCancerGeneListGetUsingGET1 + * Build call for utilsCancerGeneListGetUsingGET * @param version version (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call utilsCancerGeneListGetUsingGET1Call(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call utilsCancerGeneListGetUsingGETCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -823,10 +823,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call utilsCancerGeneListGetUsingGET1ValidateBeforeCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call utilsCancerGeneListGetUsingGETValidateBeforeCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGET1Call(version, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGETCall(version, progressListener, progressRequestListener); return call; } @@ -838,8 +838,8 @@ private com.squareup.okhttp.Call utilsCancerGeneListGetUsingGET1ValidateBeforeCa * @return List<CancerGene> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List utilsCancerGeneListGetUsingGET1(String version) throws ApiException { - ApiResponse> resp = utilsCancerGeneListGetUsingGET1WithHttpInfo(version); + public List utilsCancerGeneListGetUsingGET(String version) throws ApiException { + ApiResponse> resp = utilsCancerGeneListGetUsingGETWithHttpInfo(version); return resp.getData(); } @@ -850,8 +850,8 @@ public List utilsCancerGeneListGetUsingGET1(String version) throws A * @return ApiResponse<List<CancerGene>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> utilsCancerGeneListGetUsingGET1WithHttpInfo(String version) throws ApiException { - com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGET1ValidateBeforeCall(version, null, null); + public ApiResponse> utilsCancerGeneListGetUsingGETWithHttpInfo(String version) throws ApiException { + com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGETValidateBeforeCall(version, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -864,7 +864,7 @@ public ApiResponse> utilsCancerGeneListGetUsingGET1WithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call utilsCancerGeneListGetUsingGET1Async(String version, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call utilsCancerGeneListGetUsingGETAsync(String version, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -885,20 +885,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGET1ValidateBeforeCall(version, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGETValidateBeforeCall(version, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for utilsCancerGeneListTxtGetUsingGET1 + * Build call for utilsCancerGeneListTxtGetUsingGET * @param version version (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGET1Call(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGETCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -942,10 +942,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGET1ValidateBeforeCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGETValidateBeforeCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGET1Call(version, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGETCall(version, progressListener, progressRequestListener); return call; } @@ -957,8 +957,8 @@ private com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGET1ValidateBefor * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String utilsCancerGeneListTxtGetUsingGET1(String version) throws ApiException { - ApiResponse resp = utilsCancerGeneListTxtGetUsingGET1WithHttpInfo(version); + public String utilsCancerGeneListTxtGetUsingGET(String version) throws ApiException { + ApiResponse resp = utilsCancerGeneListTxtGetUsingGETWithHttpInfo(version); return resp.getData(); } @@ -969,8 +969,8 @@ public String utilsCancerGeneListTxtGetUsingGET1(String version) throws ApiExcep * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse utilsCancerGeneListTxtGetUsingGET1WithHttpInfo(String version) throws ApiException { - com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGET1ValidateBeforeCall(version, null, null); + public ApiResponse utilsCancerGeneListTxtGetUsingGETWithHttpInfo(String version) throws ApiException { + com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGETValidateBeforeCall(version, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -983,7 +983,7 @@ public ApiResponse utilsCancerGeneListTxtGetUsingGET1WithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGET1Async(String version, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGETAsync(String version, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1004,7 +1004,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGET1ValidateBeforeCall(version, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGETValidateBeforeCall(version, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Citations.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Citations.java similarity index 93% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Citations.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Citations.java index 67d22d2..5874e85 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Citations.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Citations.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -30,7 +30,7 @@ /** * Citations */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Citations { @SerializedName("abstracts") private List abstracts = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/ClassificationApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/ClassificationApi.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/ClassificationApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/ClassificationApi.java index fcbd8f3..ca359b6 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/ClassificationApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/ClassificationApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/CuratedGene.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/CuratedGene.java similarity index 96% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/CuratedGene.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/CuratedGene.java index 75d1d59..a46a88b 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/CuratedGene.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/CuratedGene.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * CuratedGene */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class CuratedGene { @SerializedName("entrezGeneId") private Integer entrezGeneId = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Drug.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Drug.java similarity index 94% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Drug.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Drug.java index d42e3e6..f6e4f1f 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Drug.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Drug.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -29,7 +29,7 @@ /** * Drug */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Drug { @SerializedName("drugName") private String drugName = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/DrugsApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/DrugsApi.java similarity index 98% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/DrugsApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/DrugsApi.java index 897fb1c..bdd910c 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/DrugsApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/DrugsApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Evidence.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Evidence.java similarity index 98% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Evidence.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Evidence.java index f7364df..c6cca77 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Evidence.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Evidence.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -35,7 +35,7 @@ /** * Evidence */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Evidence { @SerializedName("additionalInfo") private String additionalInfo = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidenceQueries.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidenceQueries.java similarity index 96% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidenceQueries.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidenceQueries.java index 4e6b3f5..4e4c204 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidenceQueries.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidenceQueries.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -30,7 +30,7 @@ /** * EvidenceQueries */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class EvidenceQueries { @SerializedName("evidenceTypes") private String evidenceTypes = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidenceQueryRes.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidenceQueryRes.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidenceQueryRes.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidenceQueryRes.java index b97c5c3..9a3a3aa 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidenceQueryRes.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidenceQueryRes.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -34,7 +34,7 @@ /** * EvidenceQueryRes */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class EvidenceQueryRes { @SerializedName("alleles") private List alleles = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidencesApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidencesApi.java similarity index 99% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidencesApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidencesApi.java index 6a73065..989e738 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/EvidencesApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/EvidencesApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Gene.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Gene.java similarity index 96% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Gene.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Gene.java index fca917d..ad99d5d 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Gene.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Gene.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -30,7 +30,7 @@ /** * Gene */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Gene { @SerializedName("curatedIsoform") private String curatedIsoform = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/GeneEvidence.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/GeneEvidence.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/GeneEvidence.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/GeneEvidence.java index c707b00..3599ab4 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/GeneEvidence.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/GeneEvidence.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -32,7 +32,7 @@ /** * GeneEvidence */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class GeneEvidence { @SerializedName("articles") private List
articles = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/GenesApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/GenesApi.java similarity index 99% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/GenesApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/GenesApi.java index b02150e..4b40df7 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/GenesApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/GenesApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Geneset.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Geneset.java similarity index 94% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Geneset.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Geneset.java index c58e746..711a1e1 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Geneset.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Geneset.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -30,7 +30,7 @@ /** * Geneset */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Geneset { @SerializedName("genes") private List genes = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/GenesetsApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/GenesetsApi.java similarity index 98% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/GenesetsApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/GenesetsApi.java index b614136..68be71f 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/GenesetsApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/GenesetsApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Implication.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Implication.java similarity index 96% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Implication.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Implication.java index 89be4e6..983d46a 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Implication.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Implication.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -30,7 +30,7 @@ /** * Implication */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Implication { @SerializedName("alterations") private List alterations = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java similarity index 99% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java index cecee7b..4857baf 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -33,7 +33,7 @@ /** * IndicatorQueryResp */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class IndicatorQueryResp { @SerializedName("alleleExist") private Boolean alleleExist = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java similarity index 74% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java index 2c7030e..6c5cc32 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,18 +27,25 @@ import java.util.List; import org.oncokb.client.ArticleAbstract; import org.oncokb.client.Drug; +import org.oncokb.client.TumorType; /** * IndicatorQueryTreatment */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class IndicatorQueryTreatment { @SerializedName("abstracts") private List abstracts = null; + @SerializedName("alterations") + private List alterations = null; + @SerializedName("approvedIndications") private List approvedIndications = null; + @SerializedName("description") + private String description = null; + @SerializedName("drugs") private List drugs = null; @@ -127,6 +134,9 @@ public LevelEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("level") private LevelEnum level = null; + @SerializedName("levelAssociatedCancerType") + private TumorType levelAssociatedCancerType = null; + @SerializedName("pmids") private List pmids = null; @@ -156,6 +166,32 @@ public void setAbstracts(List abstracts) { this.abstracts = abstracts; } + public IndicatorQueryTreatment alterations(List alterations) { + this.alterations = alterations; + return this; + } + + public IndicatorQueryTreatment addAlterationsItem(String alterationsItem) { + if (this.alterations == null) { + this.alterations = new ArrayList(); + } + this.alterations.add(alterationsItem); + return this; + } + + /** + * Get alterations + * @return alterations + **/ + @ApiModelProperty(value = "") + public List getAlterations() { + return alterations; + } + + public void setAlterations(List alterations) { + this.alterations = alterations; + } + public IndicatorQueryTreatment approvedIndications(List approvedIndications) { this.approvedIndications = approvedIndications; return this; @@ -182,6 +218,24 @@ public void setApprovedIndications(List approvedIndications) { this.approvedIndications = approvedIndications; } + public IndicatorQueryTreatment description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @ApiModelProperty(value = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + public IndicatorQueryTreatment drugs(List drugs) { this.drugs = drugs; return this; @@ -244,6 +298,24 @@ public void setLevel(LevelEnum level) { this.level = level; } + public IndicatorQueryTreatment levelAssociatedCancerType(TumorType levelAssociatedCancerType) { + this.levelAssociatedCancerType = levelAssociatedCancerType; + return this; + } + + /** + * Get levelAssociatedCancerType + * @return levelAssociatedCancerType + **/ + @ApiModelProperty(value = "") + public TumorType getLevelAssociatedCancerType() { + return levelAssociatedCancerType; + } + + public void setLevelAssociatedCancerType(TumorType levelAssociatedCancerType) { + this.levelAssociatedCancerType = levelAssociatedCancerType; + } + public IndicatorQueryTreatment pmids(List pmids) { this.pmids = pmids; return this; @@ -281,16 +353,19 @@ public boolean equals(java.lang.Object o) { } IndicatorQueryTreatment indicatorQueryTreatment = (IndicatorQueryTreatment) o; return Objects.equals(this.abstracts, indicatorQueryTreatment.abstracts) && + Objects.equals(this.alterations, indicatorQueryTreatment.alterations) && Objects.equals(this.approvedIndications, indicatorQueryTreatment.approvedIndications) && + Objects.equals(this.description, indicatorQueryTreatment.description) && Objects.equals(this.drugs, indicatorQueryTreatment.drugs) && Objects.equals(this.fdaApproved, indicatorQueryTreatment.fdaApproved) && Objects.equals(this.level, indicatorQueryTreatment.level) && + Objects.equals(this.levelAssociatedCancerType, indicatorQueryTreatment.levelAssociatedCancerType) && Objects.equals(this.pmids, indicatorQueryTreatment.pmids); } @Override public int hashCode() { - return Objects.hash(abstracts, approvedIndications, drugs, fdaApproved, level, pmids); + return Objects.hash(abstracts, alterations, approvedIndications, description, drugs, fdaApproved, level, levelAssociatedCancerType, pmids); } @@ -300,10 +375,13 @@ public String toString() { sb.append("class IndicatorQueryTreatment {\n"); sb.append(" abstracts: ").append(toIndentedString(abstracts)).append("\n"); + sb.append(" alterations: ").append(toIndentedString(alterations)).append("\n"); sb.append(" approvedIndications: ").append(toIndentedString(approvedIndications)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" drugs: ").append(toIndentedString(drugs)).append("\n"); sb.append(" fdaApproved: ").append(toIndentedString(fdaApproved)).append("\n"); sb.append(" level: ").append(toIndentedString(level)).append("\n"); + sb.append(" levelAssociatedCancerType: ").append(toIndentedString(levelAssociatedCancerType)).append("\n"); sb.append(" pmids: ").append(toIndentedString(pmids)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/InfoApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/InfoApi.java similarity index 79% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/InfoApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/InfoApi.java index fa26582..dbcb826 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/InfoApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/InfoApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -55,13 +55,13 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for infoGetUsingGET1 + * Build call for infoGetUsingGET * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call infoGetUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call infoGetUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -103,10 +103,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call infoGetUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call infoGetUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = infoGetUsingGET1Call(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = infoGetUsingGETCall(progressListener, progressRequestListener); return call; } @@ -117,8 +117,8 @@ private com.squareup.okhttp.Call infoGetUsingGET1ValidateBeforeCall(final Progre * @return OncoKBInfo * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public OncoKBInfo infoGetUsingGET1() throws ApiException { - ApiResponse resp = infoGetUsingGET1WithHttpInfo(); + public OncoKBInfo infoGetUsingGET() throws ApiException { + ApiResponse resp = infoGetUsingGETWithHttpInfo(); return resp.getData(); } @@ -128,8 +128,8 @@ public OncoKBInfo infoGetUsingGET1() throws ApiException { * @return ApiResponse<OncoKBInfo> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse infoGetUsingGET1WithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = infoGetUsingGET1ValidateBeforeCall(null, null); + public ApiResponse infoGetUsingGETWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = infoGetUsingGETValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -141,7 +141,7 @@ public ApiResponse infoGetUsingGET1WithHttpInfo() throws ApiExceptio * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call infoGetUsingGET1Async(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call infoGetUsingGETAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -162,7 +162,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = infoGetUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = infoGetUsingGETValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/InfoLevel.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/InfoLevel.java similarity index 96% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/InfoLevel.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/InfoLevel.java index 004c51a..10d2ff6 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/InfoLevel.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/InfoLevel.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * InfoLevel */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class InfoLevel { @SerializedName("colorHex") private String colorHex = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/LevelsApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/LevelsApi.java similarity index 83% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/LevelsApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/LevelsApi.java index 06268e4..e2709a8 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/LevelsApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/LevelsApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -54,13 +54,13 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for levelsGetUsingGET1 + * Build call for levelsGetUsingGET * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call levelsGetUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call levelsGetUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -102,10 +102,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call levelsGetUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call levelsGetUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = levelsGetUsingGET1Call(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsGetUsingGETCall(progressListener, progressRequestListener); return call; } @@ -116,8 +116,8 @@ private com.squareup.okhttp.Call levelsGetUsingGET1ValidateBeforeCall(final Prog * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public Object levelsGetUsingGET1() throws ApiException { - ApiResponse resp = levelsGetUsingGET1WithHttpInfo(); + public Object levelsGetUsingGET() throws ApiException { + ApiResponse resp = levelsGetUsingGETWithHttpInfo(); return resp.getData(); } @@ -127,8 +127,8 @@ public Object levelsGetUsingGET1() throws ApiException { * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse levelsGetUsingGET1WithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = levelsGetUsingGET1ValidateBeforeCall(null, null); + public ApiResponse levelsGetUsingGETWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = levelsGetUsingGETValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -140,7 +140,7 @@ public ApiResponse levelsGetUsingGET1WithHttpInfo() throws ApiException * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call levelsGetUsingGET1Async(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call levelsGetUsingGETAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -161,19 +161,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = levelsGetUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsGetUsingGETValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for levelsResistanceGetUsingGET1 + * Build call for levelsResistanceGetUsingGET * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call levelsResistanceGetUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call levelsResistanceGetUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -215,10 +215,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call levelsResistanceGetUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call levelsResistanceGetUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = levelsResistanceGetUsingGET1Call(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsResistanceGetUsingGETCall(progressListener, progressRequestListener); return call; } @@ -229,8 +229,8 @@ private com.squareup.okhttp.Call levelsResistanceGetUsingGET1ValidateBeforeCall( * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public Object levelsResistanceGetUsingGET1() throws ApiException { - ApiResponse resp = levelsResistanceGetUsingGET1WithHttpInfo(); + public Object levelsResistanceGetUsingGET() throws ApiException { + ApiResponse resp = levelsResistanceGetUsingGETWithHttpInfo(); return resp.getData(); } @@ -240,8 +240,8 @@ public Object levelsResistanceGetUsingGET1() throws ApiException { * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse levelsResistanceGetUsingGET1WithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = levelsResistanceGetUsingGET1ValidateBeforeCall(null, null); + public ApiResponse levelsResistanceGetUsingGETWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = levelsResistanceGetUsingGETValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -253,7 +253,7 @@ public ApiResponse levelsResistanceGetUsingGET1WithHttpInfo() throws Api * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call levelsResistanceGetUsingGET1Async(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call levelsResistanceGetUsingGETAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -274,19 +274,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = levelsResistanceGetUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsResistanceGetUsingGETValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for levelsSensitiveGetUsingGET1 + * Build call for levelsSensitiveGetUsingGET * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call levelsSensitiveGetUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call levelsSensitiveGetUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -328,10 +328,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call levelsSensitiveGetUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call levelsSensitiveGetUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = levelsSensitiveGetUsingGET1Call(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsSensitiveGetUsingGETCall(progressListener, progressRequestListener); return call; } @@ -342,8 +342,8 @@ private com.squareup.okhttp.Call levelsSensitiveGetUsingGET1ValidateBeforeCall(f * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public Object levelsSensitiveGetUsingGET1() throws ApiException { - ApiResponse resp = levelsSensitiveGetUsingGET1WithHttpInfo(); + public Object levelsSensitiveGetUsingGET() throws ApiException { + ApiResponse resp = levelsSensitiveGetUsingGETWithHttpInfo(); return resp.getData(); } @@ -353,8 +353,8 @@ public Object levelsSensitiveGetUsingGET1() throws ApiException { * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse levelsSensitiveGetUsingGET1WithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = levelsSensitiveGetUsingGET1ValidateBeforeCall(null, null); + public ApiResponse levelsSensitiveGetUsingGETWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = levelsSensitiveGetUsingGETValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -366,7 +366,7 @@ public ApiResponse levelsSensitiveGetUsingGET1WithHttpInfo() throws ApiE * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call levelsSensitiveGetUsingGET1Async(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call levelsSensitiveGetUsingGETAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -387,7 +387,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = levelsSensitiveGetUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsSensitiveGetUsingGETValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/MainType.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/MainType.java similarity index 94% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/MainType.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/MainType.java index c0c64c7..d05e2ea 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/MainType.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/MainType.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -28,7 +28,7 @@ * OncoTree Cancer Type */ @ApiModel(description = "OncoTree Cancer Type") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class MainType { @SerializedName("id") private Integer id = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java similarity index 93% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java index f544dcd..1c2a476 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -28,7 +28,7 @@ /** * MutationEffectResp */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class MutationEffectResp { @SerializedName("citations") private Citations citations = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java similarity index 95% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java index 9f87042..9d1ad54 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -31,7 +31,7 @@ /** * OncoKBInfo */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class OncoKBInfo { @SerializedName("dataVersion") private Version dataVersion = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Query.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Query.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Query.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Query.java index ea90444..e107069 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Query.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Query.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * Query */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Query { @SerializedName("alteration") private String alteration = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/QueryGene.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/QueryGene.java similarity index 92% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/QueryGene.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/QueryGene.java index 6139180..c73a1ee 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/QueryGene.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/QueryGene.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * QueryGene */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class QueryGene { @SerializedName("entrezGeneId") private Integer entrezGeneId = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/ResponseEntity.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/ResponseEntity.java similarity index 95% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/ResponseEntity.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/ResponseEntity.java index 7b314ed..bdb9fa4 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/ResponseEntity.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/ResponseEntity.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * ResponseEntity */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class ResponseEntity { @SerializedName("body") private Object body = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/SearchApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/SearchApi.java similarity index 99% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/SearchApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/SearchApi.java index 872ef7a..51644a1 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/SearchApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/SearchApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Treatment.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Treatment.java similarity index 94% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Treatment.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Treatment.java index baaec08..5d243bd 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Treatment.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Treatment.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -30,7 +30,7 @@ /** * Treatment */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Treatment { @SerializedName("approvedIndications") private List approvedIndications = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/TreatmentDrug.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/TreatmentDrug.java similarity index 92% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/TreatmentDrug.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/TreatmentDrug.java index 0def0e3..493daf1 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/TreatmentDrug.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/TreatmentDrug.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -28,7 +28,7 @@ /** * TreatmentDrug */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class TreatmentDrug { @SerializedName("priority") private Integer priority = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/TreatmentDrugId.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/TreatmentDrugId.java similarity index 90% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/TreatmentDrugId.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/TreatmentDrugId.java index f7d14ac..4708b61 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/TreatmentDrugId.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/TreatmentDrugId.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -28,7 +28,7 @@ /** * TreatmentDrugId */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class TreatmentDrugId { @SerializedName("drug") private Drug drug = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/TumorType.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/TumorType.java similarity index 97% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/TumorType.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/TumorType.java index 4bf05fe..e1aba9c 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/TumorType.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/TumorType.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -33,7 +33,7 @@ * OncoTree Detailed Cancer Type */ @ApiModel(description = "OncoTree Detailed Cancer Type") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class TumorType { @SerializedName("children") private Map children = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantConsequence.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantConsequence.java similarity index 94% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantConsequence.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantConsequence.java index 09c7bde..fc0bf85 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantConsequence.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantConsequence.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * VariantConsequence */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class VariantConsequence { @SerializedName("description") private String description = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantSearchQuery.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantSearchQuery.java similarity index 96% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantSearchQuery.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantSearchQuery.java index b54ae83..bcd622e 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantSearchQuery.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantSearchQuery.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * VariantSearchQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class VariantSearchQuery { @SerializedName("consequence") private String consequence = null; diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantsApi.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantsApi.java similarity index 99% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantsApi.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantsApi.java index f968c42..2369383 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/VariantsApi.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/VariantsApi.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Version.java b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Version.java similarity index 91% rename from oncokbPremiumApiClient/src/main/java/org/oncokb/client/Version.java rename to oncokbPrivateApiClient/src/main/java/org/oncokb/client/Version.java index 90afed8..b51697d 100644 --- a/oncokbPremiumApiClient/src/main/java/org/oncokb/client/Version.java +++ b/oncokbPrivateApiClient/src/main/java/org/oncokb/client/Version.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -27,7 +27,7 @@ /** * Version */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:04.572-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:16.620-05:00") public class Version { @SerializedName("date") private String date = null; diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java similarity index 74% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java index 2b3f9e7..21f7e76 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -46,12 +46,13 @@ public class AnnotationsApiTest { * if the Api call fails */ @Test - public void annotateCopyNumberAlterationsGetUsingGET1Test() throws ApiException { + public void annotateCopyNumberAlterationsGetUsingGETTest() throws ApiException { String copyNameAlterationType = null; String hugoSymbol = null; Integer entrezGeneId = null; String tumorType = null; - IndicatorQueryResp response = api.annotateCopyNumberAlterationsGetUsingGET1(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateCopyNumberAlterationsGetUsingGET(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType); // TODO: test validations } @@ -65,9 +66,9 @@ public void annotateCopyNumberAlterationsGetUsingGET1Test() throws ApiException * if the Api call fails */ @Test - public void annotateCopyNumberAlterationsPostUsingPOST1Test() throws ApiException { + public void annotateCopyNumberAlterationsPostUsingPOSTTest() throws ApiException { List body = null; - List response = api.annotateCopyNumberAlterationsPostUsingPOST1(body); + List response = api.annotateCopyNumberAlterationsPostUsingPOST(body); // TODO: test validations } @@ -81,10 +82,11 @@ public void annotateCopyNumberAlterationsPostUsingPOST1Test() throws ApiExceptio * if the Api call fails */ @Test - public void annotateMutationsByGenomicChangeGetUsingGET1Test() throws ApiException { + public void annotateMutationsByGenomicChangeGetUsingGETTest() throws ApiException { String genomicLocation = null; String tumorType = null; - IndicatorQueryResp response = api.annotateMutationsByGenomicChangeGetUsingGET1(genomicLocation, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateMutationsByGenomicChangeGetUsingGET(genomicLocation, tumorType, evidenceType); // TODO: test validations } @@ -98,9 +100,9 @@ public void annotateMutationsByGenomicChangeGetUsingGET1Test() throws ApiExcepti * if the Api call fails */ @Test - public void annotateMutationsByGenomicChangePostUsingPOST1Test() throws ApiException { + public void annotateMutationsByGenomicChangePostUsingPOSTTest() throws ApiException { List body = null; - List response = api.annotateMutationsByGenomicChangePostUsingPOST1(body); + List response = api.annotateMutationsByGenomicChangePostUsingPOST(body); // TODO: test validations } @@ -114,10 +116,11 @@ public void annotateMutationsByGenomicChangePostUsingPOST1Test() throws ApiExcep * if the Api call fails */ @Test - public void annotateMutationsByHGVSgGetUsingGET1Test() throws ApiException { + public void annotateMutationsByHGVSgGetUsingGETTest() throws ApiException { String hgvsg = null; String tumorType = null; - IndicatorQueryResp response = api.annotateMutationsByHGVSgGetUsingGET1(hgvsg, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateMutationsByHGVSgGetUsingGET(hgvsg, tumorType, evidenceType); // TODO: test validations } @@ -131,9 +134,9 @@ public void annotateMutationsByHGVSgGetUsingGET1Test() throws ApiException { * if the Api call fails */ @Test - public void annotateMutationsByHGVSgPostUsingPOST1Test() throws ApiException { + public void annotateMutationsByHGVSgPostUsingPOSTTest() throws ApiException { List body = null; - List response = api.annotateMutationsByHGVSgPostUsingPOST1(body); + List response = api.annotateMutationsByHGVSgPostUsingPOST(body); // TODO: test validations } @@ -147,7 +150,7 @@ public void annotateMutationsByHGVSgPostUsingPOST1Test() throws ApiException { * if the Api call fails */ @Test - public void annotateMutationsByProteinChangeGetUsingGET1Test() throws ApiException { + public void annotateMutationsByProteinChangeGetUsingGETTest() throws ApiException { String hugoSymbol = null; Integer entrezGeneId = null; String alteration = null; @@ -155,7 +158,8 @@ public void annotateMutationsByProteinChangeGetUsingGET1Test() throws ApiExcepti Integer proteinStart = null; Integer proteinEnd = null; String tumorType = null; - IndicatorQueryResp response = api.annotateMutationsByProteinChangeGetUsingGET1(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateMutationsByProteinChangeGetUsingGET(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType); // TODO: test validations } @@ -169,9 +173,9 @@ public void annotateMutationsByProteinChangeGetUsingGET1Test() throws ApiExcepti * if the Api call fails */ @Test - public void annotateMutationsByProteinChangePostUsingPOST1Test() throws ApiException { + public void annotateMutationsByProteinChangePostUsingPOSTTest() throws ApiException { List body = null; - List response = api.annotateMutationsByProteinChangePostUsingPOST1(body); + List response = api.annotateMutationsByProteinChangePostUsingPOST(body); // TODO: test validations } @@ -185,7 +189,7 @@ public void annotateMutationsByProteinChangePostUsingPOST1Test() throws ApiExcep * if the Api call fails */ @Test - public void annotateStructuralVariantsGetUsingGET1Test() throws ApiException { + public void annotateStructuralVariantsGetUsingGETTest() throws ApiException { String structuralVariantType = null; Boolean isFunctionalFusion = null; String hugoSymbolA = null; @@ -193,7 +197,8 @@ public void annotateStructuralVariantsGetUsingGET1Test() throws ApiException { String hugoSymbolB = null; Integer entrezGeneIdB = null; String tumorType = null; - IndicatorQueryResp response = api.annotateStructuralVariantsGetUsingGET1(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateStructuralVariantsGetUsingGET(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType); // TODO: test validations } @@ -207,9 +212,9 @@ public void annotateStructuralVariantsGetUsingGET1Test() throws ApiException { * if the Api call fails */ @Test - public void annotateStructuralVariantsPostUsingPOST1Test() throws ApiException { + public void annotateStructuralVariantsPostUsingPOSTTest() throws ApiException { List body = null; - List response = api.annotateStructuralVariantsPostUsingPOST1(body); + List response = api.annotateStructuralVariantsPostUsingPOST(body); // TODO: test validations } diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java similarity index 90% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java index cfbb933..5e97c58 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -140,9 +140,9 @@ public void utilsAllCuratedGenesTxtGetUsingGETTest() throws ApiException { * if the Api call fails */ @Test - public void utilsCancerGeneListGetUsingGET1Test() throws ApiException { + public void utilsCancerGeneListGetUsingGETTest() throws ApiException { String version = null; - List response = api.utilsCancerGeneListGetUsingGET1(version); + List response = api.utilsCancerGeneListGetUsingGET(version); // TODO: test validations } @@ -156,9 +156,9 @@ public void utilsCancerGeneListGetUsingGET1Test() throws ApiException { * if the Api call fails */ @Test - public void utilsCancerGeneListTxtGetUsingGET1Test() throws ApiException { + public void utilsCancerGeneListTxtGetUsingGETTest() throws ApiException { String version = null; - String response = api.utilsCancerGeneListTxtGetUsingGET1(version); + String response = api.utilsCancerGeneListTxtGetUsingGET(version); // TODO: test validations } diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/ClassificationApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/ClassificationApiTest.java similarity index 86% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/ClassificationApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/ClassificationApiTest.java index a3b7abe..1749c81 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/ClassificationApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/ClassificationApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/DrugsApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/DrugsApiTest.java similarity index 89% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/DrugsApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/DrugsApiTest.java index 507d7ad..2582bca 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/DrugsApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/DrugsApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/EvidencesApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/EvidencesApiTest.java similarity index 94% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/EvidencesApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/EvidencesApiTest.java index 072c745..503df4d 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/EvidencesApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/EvidencesApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/GenesApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/GenesApiTest.java similarity index 96% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/GenesApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/GenesApiTest.java index a4d33cb..ca17e93 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/GenesApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/GenesApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/GenesetsApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/GenesetsApiTest.java similarity index 89% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/GenesetsApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/GenesetsApiTest.java index dab67db..de16639 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/GenesetsApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/GenesetsApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/InfoApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/InfoApiTest.java similarity index 74% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/InfoApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/InfoApiTest.java index 300ceb4..efe155e 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/InfoApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/InfoApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -41,8 +41,8 @@ public class InfoApiTest { * if the Api call fails */ @Test - public void infoGetUsingGET1Test() throws ApiException { - OncoKBInfo response = api.infoGetUsingGET1(); + public void infoGetUsingGETTest() throws ApiException { + OncoKBInfo response = api.infoGetUsingGET(); // TODO: test validations } diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java similarity index 69% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java index fc35a4d..b12d456 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org @@ -40,8 +40,8 @@ public class LevelsApiTest { * if the Api call fails */ @Test - public void levelsGetUsingGET1Test() throws ApiException { - Object response = api.levelsGetUsingGET1(); + public void levelsGetUsingGETTest() throws ApiException { + Object response = api.levelsGetUsingGET(); // TODO: test validations } @@ -55,8 +55,8 @@ public void levelsGetUsingGET1Test() throws ApiException { * if the Api call fails */ @Test - public void levelsResistanceGetUsingGET1Test() throws ApiException { - Object response = api.levelsResistanceGetUsingGET1(); + public void levelsResistanceGetUsingGETTest() throws ApiException { + Object response = api.levelsResistanceGetUsingGET(); // TODO: test validations } @@ -70,8 +70,8 @@ public void levelsResistanceGetUsingGET1Test() throws ApiException { * if the Api call fails */ @Test - public void levelsSensitiveGetUsingGET1Test() throws ApiException { - Object response = api.levelsSensitiveGetUsingGET1(); + public void levelsSensitiveGetUsingGETTest() throws ApiException { + Object response = api.levelsSensitiveGetUsingGET(); // TODO: test validations } diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/SearchApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/SearchApiTest.java similarity index 93% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/SearchApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/SearchApiTest.java index 5be28c5..bf1b398 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/SearchApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/SearchApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/VariantsApiTest.java b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/VariantsApiTest.java similarity index 96% rename from oncokbPremiumApiClient/src/test/java/org/oncokb/client/VariantsApiTest.java rename to oncokbPrivateApiClient/src/test/java/org/oncokb/client/VariantsApiTest.java index 17461e7..b386edf 100644 --- a/oncokbPremiumApiClient/src/test/java/org/oncokb/client/VariantsApiTest.java +++ b/oncokbPrivateApiClient/src/test/java/org/oncokb/client/VariantsApiTest.java @@ -1,6 +1,6 @@ /* - * OncoKB APIs for Premium Users - * These endpoints are designed for premium users. Please contact OncoKB team(contact@oncokb.org) if you want to be upgraded. + * OncoKB Private APIs + * These endpoints are for private use only. * * OpenAPI spec version: v1.0.0 * Contact: contact@oncokb.org diff --git a/oncokbPublicApiClient/README.md b/oncokbPublicApiClient/README.md index a751eb2..c3a48a7 100644 --- a/oncokbPublicApiClient/README.md +++ b/oncokbPublicApiClient/README.md @@ -2,7 +2,7 @@ OncoKB APIs - API version: v1.0.0 - - Build date: 2020-02-06T11:50:02.938-05:00 + - Build date: 2020-02-19T16:53:14.717-05:00 OncoKB, a comprehensive and curated precision oncology knowledge base, offers oncologists detailed, evidence-based information about individual somatic mutations and structural alterations present in patient tumors with the goal of supporting optimal treatment decisions. @@ -90,11 +90,12 @@ public class AnnotationsApiExample { String hugoSymbol = "hugoSymbol_example"; // String | The gene symbol used in Human Genome Organisation. Example: BRAF Integer entrezGeneId = 56; // Integer | The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma + String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateCopyNumberAlterationsGetUsingGET(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType); + IndicatorQueryResp result = apiInstance.annotateCopyNumberAlterationsGetUsingGET1(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsGetUsingGET"); + System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsGetUsingGET1"); e.printStackTrace(); } } @@ -108,22 +109,22 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AnnotationsApi* | [**annotateCopyNumberAlterationsGetUsingGET**](docs/AnnotationsApi.md#annotateCopyNumberAlterationsGetUsingGET) | **GET** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsGet -*AnnotationsApi* | [**annotateCopyNumberAlterationsPostUsingPOST**](docs/AnnotationsApi.md#annotateCopyNumberAlterationsPostUsingPOST) | **POST** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsPost -*AnnotationsApi* | [**annotateMutationsByGenomicChangeGetUsingGET**](docs/AnnotationsApi.md#annotateMutationsByGenomicChangeGetUsingGET) | **GET** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangeGet -*AnnotationsApi* | [**annotateMutationsByGenomicChangePostUsingPOST**](docs/AnnotationsApi.md#annotateMutationsByGenomicChangePostUsingPOST) | **POST** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangePost -*AnnotationsApi* | [**annotateMutationsByHGVSgGetUsingGET**](docs/AnnotationsApi.md#annotateMutationsByHGVSgGetUsingGET) | **GET** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgGet -*AnnotationsApi* | [**annotateMutationsByHGVSgPostUsingPOST**](docs/AnnotationsApi.md#annotateMutationsByHGVSgPostUsingPOST) | **POST** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgPost -*AnnotationsApi* | [**annotateMutationsByProteinChangeGetUsingGET**](docs/AnnotationsApi.md#annotateMutationsByProteinChangeGetUsingGET) | **GET** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangeGet -*AnnotationsApi* | [**annotateMutationsByProteinChangePostUsingPOST**](docs/AnnotationsApi.md#annotateMutationsByProteinChangePostUsingPOST) | **POST** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangePost -*AnnotationsApi* | [**annotateStructuralVariantsGetUsingGET**](docs/AnnotationsApi.md#annotateStructuralVariantsGetUsingGET) | **GET** /annotate/structuralVariants | annotateStructuralVariantsGet -*AnnotationsApi* | [**annotateStructuralVariantsPostUsingPOST**](docs/AnnotationsApi.md#annotateStructuralVariantsPostUsingPOST) | **POST** /annotate/structuralVariants | annotateStructuralVariantsPost -*CancerGenesApi* | [**utilsCancerGeneListGetUsingGET**](docs/CancerGenesApi.md#utilsCancerGeneListGetUsingGET) | **GET** /utils/cancerGeneList | utilsCancerGeneListGet -*CancerGenesApi* | [**utilsCancerGeneListTxtGetUsingGET**](docs/CancerGenesApi.md#utilsCancerGeneListTxtGetUsingGET) | **GET** /utils/cancerGeneList.txt | utilsCancerGeneListTxtGet -*InfoApi* | [**infoGetUsingGET**](docs/InfoApi.md#infoGetUsingGET) | **GET** /info | infoGet -*LevelsApi* | [**levelsGetUsingGET**](docs/LevelsApi.md#levelsGetUsingGET) | **GET** /levels | levelsGet -*LevelsApi* | [**levelsResistanceGetUsingGET**](docs/LevelsApi.md#levelsResistanceGetUsingGET) | **GET** /levels/resistance | levelsResistanceGet -*LevelsApi* | [**levelsSensitiveGetUsingGET**](docs/LevelsApi.md#levelsSensitiveGetUsingGET) | **GET** /levels/sensitive | levelsSensitiveGet +*AnnotationsApi* | [**annotateCopyNumberAlterationsGetUsingGET1**](docs/AnnotationsApi.md#annotateCopyNumberAlterationsGetUsingGET1) | **GET** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsGet +*AnnotationsApi* | [**annotateCopyNumberAlterationsPostUsingPOST1**](docs/AnnotationsApi.md#annotateCopyNumberAlterationsPostUsingPOST1) | **POST** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsPost +*AnnotationsApi* | [**annotateMutationsByGenomicChangeGetUsingGET1**](docs/AnnotationsApi.md#annotateMutationsByGenomicChangeGetUsingGET1) | **GET** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangeGet +*AnnotationsApi* | [**annotateMutationsByGenomicChangePostUsingPOST1**](docs/AnnotationsApi.md#annotateMutationsByGenomicChangePostUsingPOST1) | **POST** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangePost +*AnnotationsApi* | [**annotateMutationsByHGVSgGetUsingGET1**](docs/AnnotationsApi.md#annotateMutationsByHGVSgGetUsingGET1) | **GET** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgGet +*AnnotationsApi* | [**annotateMutationsByHGVSgPostUsingPOST1**](docs/AnnotationsApi.md#annotateMutationsByHGVSgPostUsingPOST1) | **POST** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgPost +*AnnotationsApi* | [**annotateMutationsByProteinChangeGetUsingGET1**](docs/AnnotationsApi.md#annotateMutationsByProteinChangeGetUsingGET1) | **GET** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangeGet +*AnnotationsApi* | [**annotateMutationsByProteinChangePostUsingPOST1**](docs/AnnotationsApi.md#annotateMutationsByProteinChangePostUsingPOST1) | **POST** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangePost +*AnnotationsApi* | [**annotateStructuralVariantsGetUsingGET1**](docs/AnnotationsApi.md#annotateStructuralVariantsGetUsingGET1) | **GET** /annotate/structuralVariants | annotateStructuralVariantsGet +*AnnotationsApi* | [**annotateStructuralVariantsPostUsingPOST1**](docs/AnnotationsApi.md#annotateStructuralVariantsPostUsingPOST1) | **POST** /annotate/structuralVariants | annotateStructuralVariantsPost +*CancerGenesApi* | [**utilsCancerGeneListGetUsingGET1**](docs/CancerGenesApi.md#utilsCancerGeneListGetUsingGET1) | **GET** /utils/cancerGeneList | utilsCancerGeneListGet +*CancerGenesApi* | [**utilsCancerGeneListTxtGetUsingGET1**](docs/CancerGenesApi.md#utilsCancerGeneListTxtGetUsingGET1) | **GET** /utils/cancerGeneList.txt | utilsCancerGeneListTxtGet +*InfoApi* | [**infoGetUsingGET1**](docs/InfoApi.md#infoGetUsingGET1) | **GET** /info | infoGet +*LevelsApi* | [**levelsGetUsingGET1**](docs/LevelsApi.md#levelsGetUsingGET1) | **GET** /levels | levelsGet +*LevelsApi* | [**levelsResistanceGetUsingGET1**](docs/LevelsApi.md#levelsResistanceGetUsingGET1) | **GET** /levels/resistance | levelsResistanceGet +*LevelsApi* | [**levelsSensitiveGetUsingGET1**](docs/LevelsApi.md#levelsSensitiveGetUsingGET1) | **GET** /levels/sensitive | levelsSensitiveGet ## Documentation for Models diff --git a/oncokbPublicApiClient/docs/AnnotateCopyNumberAlterationQuery.md b/oncokbPublicApiClient/docs/AnnotateCopyNumberAlterationQuery.md index 2d3e9c2..56cba33 100644 --- a/oncokbPublicApiClient/docs/AnnotateCopyNumberAlterationQuery.md +++ b/oncokbPublicApiClient/docs/AnnotateCopyNumberAlterationQuery.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **copyNameAlterationType** | [**CopyNameAlterationTypeEnum**](#CopyNameAlterationTypeEnum) | | [optional] +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] **gene** | [**QueryGene**](QueryGene.md) | | [optional] **id** | **String** | | [optional] **tumorType** | **String** | | [optional] @@ -20,4 +21,26 @@ GAIN | "GAIN" LOSS | "LOSS" + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + diff --git a/oncokbPublicApiClient/docs/AnnotateMutationByGenomicChangeQuery.md b/oncokbPublicApiClient/docs/AnnotateMutationByGenomicChangeQuery.md index 279f3e4..32c9783 100644 --- a/oncokbPublicApiClient/docs/AnnotateMutationByGenomicChangeQuery.md +++ b/oncokbPublicApiClient/docs/AnnotateMutationByGenomicChangeQuery.md @@ -4,9 +4,32 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] **genomicLocation** | **String** | | [optional] **id** | **String** | | [optional] **tumorType** | **String** | | [optional] + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + diff --git a/oncokbPublicApiClient/docs/AnnotateMutationByHGVSgQuery.md b/oncokbPublicApiClient/docs/AnnotateMutationByHGVSgQuery.md index e6abcc4..f95645a 100644 --- a/oncokbPublicApiClient/docs/AnnotateMutationByHGVSgQuery.md +++ b/oncokbPublicApiClient/docs/AnnotateMutationByHGVSgQuery.md @@ -4,9 +4,32 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] **hgvsg** | **String** | | [optional] **id** | **String** | | [optional] **tumorType** | **String** | | [optional] + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + diff --git a/oncokbPublicApiClient/docs/AnnotateMutationByProteinChangeQuery.md b/oncokbPublicApiClient/docs/AnnotateMutationByProteinChangeQuery.md index d407a73..8a9e361 100644 --- a/oncokbPublicApiClient/docs/AnnotateMutationByProteinChangeQuery.md +++ b/oncokbPublicApiClient/docs/AnnotateMutationByProteinChangeQuery.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **alteration** | **String** | | [optional] **consequence** | **String** | | [optional] +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] **gene** | [**QueryGene**](QueryGene.md) | | [optional] **id** | **String** | | [optional] **proteinEnd** | **Integer** | | [optional] @@ -13,4 +14,26 @@ Name | Type | Description | Notes **tumorType** | **String** | | [optional] + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + diff --git a/oncokbPublicApiClient/docs/AnnotateStructuralVariantQuery.md b/oncokbPublicApiClient/docs/AnnotateStructuralVariantQuery.md index 5dbd4e2..2f3d2da 100644 --- a/oncokbPublicApiClient/docs/AnnotateStructuralVariantQuery.md +++ b/oncokbPublicApiClient/docs/AnnotateStructuralVariantQuery.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**evidenceTypes** | [**List<EvidenceTypesEnum>**](#List<EvidenceTypesEnum>) | | [optional] **functionalFusion** | **Boolean** | | [optional] **geneA** | [**QueryGene**](QueryGene.md) | | [optional] **geneB** | [**QueryGene**](QueryGene.md) | | [optional] @@ -12,6 +13,28 @@ Name | Type | Description | Notes **tumorType** | **String** | | [optional] + +## Enum: List<EvidenceTypesEnum> +Name | Value +---- | ----- +GENE_SUMMARY | "GENE_SUMMARY" +MUTATION_SUMMARY | "MUTATION_SUMMARY" +TUMOR_TYPE_SUMMARY | "TUMOR_TYPE_SUMMARY" +GENE_TUMOR_TYPE_SUMMARY | "GENE_TUMOR_TYPE_SUMMARY" +PROGNOSTIC_SUMMARY | "PROGNOSTIC_SUMMARY" +DIAGNOSTIC_SUMMARY | "DIAGNOSTIC_SUMMARY" +GENE_BACKGROUND | "GENE_BACKGROUND" +ONCOGENIC | "ONCOGENIC" +MUTATION_EFFECT | "MUTATION_EFFECT" +VUS | "VUS" +PROGNOSTIC_IMPLICATION | "PROGNOSTIC_IMPLICATION" +DIAGNOSTIC_IMPLICATION | "DIAGNOSTIC_IMPLICATION" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY" +STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE | "STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY" +INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE | "INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE" + + ## Enum: StructuralVariantTypeEnum Name | Value diff --git a/oncokbPublicApiClient/docs/AnnotationsApi.md b/oncokbPublicApiClient/docs/AnnotationsApi.md index 0ce3c15..eb7ebe4 100644 --- a/oncokbPublicApiClient/docs/AnnotationsApi.md +++ b/oncokbPublicApiClient/docs/AnnotationsApi.md @@ -4,21 +4,21 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**annotateCopyNumberAlterationsGetUsingGET**](AnnotationsApi.md#annotateCopyNumberAlterationsGetUsingGET) | **GET** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsGet -[**annotateCopyNumberAlterationsPostUsingPOST**](AnnotationsApi.md#annotateCopyNumberAlterationsPostUsingPOST) | **POST** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsPost -[**annotateMutationsByGenomicChangeGetUsingGET**](AnnotationsApi.md#annotateMutationsByGenomicChangeGetUsingGET) | **GET** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangeGet -[**annotateMutationsByGenomicChangePostUsingPOST**](AnnotationsApi.md#annotateMutationsByGenomicChangePostUsingPOST) | **POST** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangePost -[**annotateMutationsByHGVSgGetUsingGET**](AnnotationsApi.md#annotateMutationsByHGVSgGetUsingGET) | **GET** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgGet -[**annotateMutationsByHGVSgPostUsingPOST**](AnnotationsApi.md#annotateMutationsByHGVSgPostUsingPOST) | **POST** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgPost -[**annotateMutationsByProteinChangeGetUsingGET**](AnnotationsApi.md#annotateMutationsByProteinChangeGetUsingGET) | **GET** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangeGet -[**annotateMutationsByProteinChangePostUsingPOST**](AnnotationsApi.md#annotateMutationsByProteinChangePostUsingPOST) | **POST** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangePost -[**annotateStructuralVariantsGetUsingGET**](AnnotationsApi.md#annotateStructuralVariantsGetUsingGET) | **GET** /annotate/structuralVariants | annotateStructuralVariantsGet -[**annotateStructuralVariantsPostUsingPOST**](AnnotationsApi.md#annotateStructuralVariantsPostUsingPOST) | **POST** /annotate/structuralVariants | annotateStructuralVariantsPost - - - -# **annotateCopyNumberAlterationsGetUsingGET** -> IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType) +[**annotateCopyNumberAlterationsGetUsingGET1**](AnnotationsApi.md#annotateCopyNumberAlterationsGetUsingGET1) | **GET** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsGet +[**annotateCopyNumberAlterationsPostUsingPOST1**](AnnotationsApi.md#annotateCopyNumberAlterationsPostUsingPOST1) | **POST** /annotate/copyNumberAlterations | annotateCopyNumberAlterationsPost +[**annotateMutationsByGenomicChangeGetUsingGET1**](AnnotationsApi.md#annotateMutationsByGenomicChangeGetUsingGET1) | **GET** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangeGet +[**annotateMutationsByGenomicChangePostUsingPOST1**](AnnotationsApi.md#annotateMutationsByGenomicChangePostUsingPOST1) | **POST** /annotate/mutations/byGenomicChange | annotateMutationsByGenomicChangePost +[**annotateMutationsByHGVSgGetUsingGET1**](AnnotationsApi.md#annotateMutationsByHGVSgGetUsingGET1) | **GET** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgGet +[**annotateMutationsByHGVSgPostUsingPOST1**](AnnotationsApi.md#annotateMutationsByHGVSgPostUsingPOST1) | **POST** /annotate/mutations/byHGVSg | annotateMutationsByHGVSgPost +[**annotateMutationsByProteinChangeGetUsingGET1**](AnnotationsApi.md#annotateMutationsByProteinChangeGetUsingGET1) | **GET** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangeGet +[**annotateMutationsByProteinChangePostUsingPOST1**](AnnotationsApi.md#annotateMutationsByProteinChangePostUsingPOST1) | **POST** /annotate/mutations/byProteinChange | annotateMutationsByProteinChangePost +[**annotateStructuralVariantsGetUsingGET1**](AnnotationsApi.md#annotateStructuralVariantsGetUsingGET1) | **GET** /annotate/structuralVariants | annotateStructuralVariantsGet +[**annotateStructuralVariantsPostUsingPOST1**](AnnotationsApi.md#annotateStructuralVariantsPostUsingPOST1) | **POST** /annotate/structuralVariants | annotateStructuralVariantsPost + + + +# **annotateCopyNumberAlterationsGetUsingGET1** +> IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET1(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType) annotateCopyNumberAlterationsGet @@ -36,11 +36,12 @@ String copyNameAlterationType = "copyNameAlterationType_example"; // String | Co String hugoSymbol = "hugoSymbol_example"; // String | The gene symbol used in Human Genome Organisation. Example: BRAF Integer entrezGeneId = 56; // Integer | The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateCopyNumberAlterationsGetUsingGET(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType); + IndicatorQueryResp result = apiInstance.annotateCopyNumberAlterationsGetUsingGET1(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsGetUsingGET"); + System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsGetUsingGET1"); e.printStackTrace(); } ``` @@ -53,6 +54,7 @@ Name | Type | Description | Notes **hugoSymbol** | **String**| The gene symbol used in Human Genome Organisation. Example: BRAF | [optional] **entrezGeneId** | **Integer**| The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 | [optional] **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -67,9 +69,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateCopyNumberAlterationsPostUsingPOST** -> List<IndicatorQueryResp> annotateCopyNumberAlterationsPostUsingPOST(body) + +# **annotateCopyNumberAlterationsPostUsingPOST1** +> List<IndicatorQueryResp> annotateCopyNumberAlterationsPostUsingPOST1(body) annotateCopyNumberAlterationsPost @@ -85,10 +87,10 @@ Annotate copy number alterations. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateCopyNumberAlterationQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateCopyNumberAlterationsPostUsingPOST(body); + List result = apiInstance.annotateCopyNumberAlterationsPostUsingPOST1(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsPostUsingPOST"); + System.err.println("Exception when calling AnnotationsApi#annotateCopyNumberAlterationsPostUsingPOST1"); e.printStackTrace(); } ``` @@ -112,9 +114,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByGenomicChangeGetUsingGET** -> IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET(genomicLocation, tumorType) + +# **annotateMutationsByGenomicChangeGetUsingGET1** +> IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET1(genomicLocation, tumorType, evidenceType) annotateMutationsByGenomicChangeGet @@ -130,11 +132,12 @@ Annotate mutation by genomic change. AnnotationsApi apiInstance = new AnnotationsApi(); String genomicLocation = "genomicLocation_example"; // String | Genomic location. Example: 7,140453136,140453136,A,T String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateMutationsByGenomicChangeGetUsingGET(genomicLocation, tumorType); + IndicatorQueryResp result = apiInstance.annotateMutationsByGenomicChangeGetUsingGET1(genomicLocation, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByGenomicChangeGetUsingGET"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByGenomicChangeGetUsingGET1"); e.printStackTrace(); } ``` @@ -145,6 +148,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **genomicLocation** | **String**| Genomic location. Example: 7,140453136,140453136,A,T | **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -159,9 +163,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByGenomicChangePostUsingPOST** -> List<IndicatorQueryResp> annotateMutationsByGenomicChangePostUsingPOST(body) + +# **annotateMutationsByGenomicChangePostUsingPOST1** +> List<IndicatorQueryResp> annotateMutationsByGenomicChangePostUsingPOST1(body) annotateMutationsByGenomicChangePost @@ -177,10 +181,10 @@ Annotate mutations by genomic change. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateMutationByGenomicChangeQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateMutationsByGenomicChangePostUsingPOST(body); + List result = apiInstance.annotateMutationsByGenomicChangePostUsingPOST1(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByGenomicChangePostUsingPOST"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByGenomicChangePostUsingPOST1"); e.printStackTrace(); } ``` @@ -204,9 +208,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByHGVSgGetUsingGET** -> IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET(hgvsg, tumorType) + +# **annotateMutationsByHGVSgGetUsingGET1** +> IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET1(hgvsg, tumorType, evidenceType) annotateMutationsByHGVSgGet @@ -222,11 +226,12 @@ Annotate mutation by HGVSg. AnnotationsApi apiInstance = new AnnotationsApi(); String hgvsg = "hgvsg_example"; // String | HGVS genomic format. Example: 7:g.140453136A>T String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateMutationsByHGVSgGetUsingGET(hgvsg, tumorType); + IndicatorQueryResp result = apiInstance.annotateMutationsByHGVSgGetUsingGET1(hgvsg, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByHGVSgGetUsingGET"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByHGVSgGetUsingGET1"); e.printStackTrace(); } ``` @@ -237,6 +242,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **hgvsg** | **String**| HGVS genomic format. Example: 7:g.140453136A>T | **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -251,9 +257,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByHGVSgPostUsingPOST** -> List<IndicatorQueryResp> annotateMutationsByHGVSgPostUsingPOST(body) + +# **annotateMutationsByHGVSgPostUsingPOST1** +> List<IndicatorQueryResp> annotateMutationsByHGVSgPostUsingPOST1(body) annotateMutationsByHGVSgPost @@ -269,10 +275,10 @@ Annotate mutations by genomic change. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateMutationByHGVSgQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateMutationsByHGVSgPostUsingPOST(body); + List result = apiInstance.annotateMutationsByHGVSgPostUsingPOST1(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByHGVSgPostUsingPOST"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByHGVSgPostUsingPOST1"); e.printStackTrace(); } ``` @@ -296,9 +302,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByProteinChangeGetUsingGET** -> IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType) + +# **annotateMutationsByProteinChangeGetUsingGET1** +> IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET1(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType) annotateMutationsByProteinChangeGet @@ -319,11 +325,12 @@ String consequence = "consequence_example"; // String | Consequence. Exacmple: m Integer proteinStart = 56; // Integer | Protein Start. Example: 600 Integer proteinEnd = 56; // Integer | Protein End. Example: 600 String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateMutationsByProteinChangeGetUsingGET(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType); + IndicatorQueryResp result = apiInstance.annotateMutationsByProteinChangeGetUsingGET1(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByProteinChangeGetUsingGET"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByProteinChangeGetUsingGET1"); e.printStackTrace(); } ``` @@ -339,6 +346,7 @@ Name | Type | Description | Notes **proteinStart** | **Integer**| Protein Start. Example: 600 | [optional] **proteinEnd** | **Integer**| Protein End. Example: 600 | [optional] **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -353,9 +361,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateMutationsByProteinChangePostUsingPOST** -> List<IndicatorQueryResp> annotateMutationsByProteinChangePostUsingPOST(body) + +# **annotateMutationsByProteinChangePostUsingPOST1** +> List<IndicatorQueryResp> annotateMutationsByProteinChangePostUsingPOST1(body) annotateMutationsByProteinChangePost @@ -371,10 +379,10 @@ Annotate mutations by protein change. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateMutationByProteinChangeQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateMutationsByProteinChangePostUsingPOST(body); + List result = apiInstance.annotateMutationsByProteinChangePostUsingPOST1(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateMutationsByProteinChangePostUsingPOST"); + System.err.println("Exception when calling AnnotationsApi#annotateMutationsByProteinChangePostUsingPOST1"); e.printStackTrace(); } ``` @@ -398,9 +406,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateStructuralVariantsGetUsingGET** -> IndicatorQueryResp annotateStructuralVariantsGetUsingGET(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType) + +# **annotateStructuralVariantsGetUsingGET1** +> IndicatorQueryResp annotateStructuralVariantsGetUsingGET1(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType) annotateStructuralVariantsGet @@ -421,11 +429,12 @@ Integer entrezGeneIdA = 56; // Integer | The entrez gene ID A. (Higher priority String hugoSymbolB = "hugoSymbolB_example"; // String | The gene symbol B used in Human Genome Organisation.Example: BCR Integer entrezGeneIdB = 56; // Integer | The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 String tumorType = "tumorType_example"; // String | OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma +String evidenceType = "evidenceType_example"; // String | Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. try { - IndicatorQueryResp result = apiInstance.annotateStructuralVariantsGetUsingGET(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType); + IndicatorQueryResp result = apiInstance.annotateStructuralVariantsGetUsingGET1(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateStructuralVariantsGetUsingGET"); + System.err.println("Exception when calling AnnotationsApi#annotateStructuralVariantsGetUsingGET1"); e.printStackTrace(); } ``` @@ -441,6 +450,7 @@ Name | Type | Description | Notes **hugoSymbolB** | **String**| The gene symbol B used in Human Genome Organisation.Example: BCR | [optional] **entrezGeneIdB** | **Integer**| The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 | [optional] **tumorType** | **String**| OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma | [optional] + **evidenceType** | **String**| Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. | [optional] ### Return type @@ -455,9 +465,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **annotateStructuralVariantsPostUsingPOST** -> List<IndicatorQueryResp> annotateStructuralVariantsPostUsingPOST(body) + +# **annotateStructuralVariantsPostUsingPOST1** +> List<IndicatorQueryResp> annotateStructuralVariantsPostUsingPOST1(body) annotateStructuralVariantsPost @@ -473,10 +483,10 @@ Annotate structural variants. AnnotationsApi apiInstance = new AnnotationsApi(); List body = Arrays.asList(new AnnotateStructuralVariantQuery()); // List | List of queries. Please see swagger.json for request body format. try { - List result = apiInstance.annotateStructuralVariantsPostUsingPOST(body); + List result = apiInstance.annotateStructuralVariantsPostUsingPOST1(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AnnotationsApi#annotateStructuralVariantsPostUsingPOST"); + System.err.println("Exception when calling AnnotationsApi#annotateStructuralVariantsPostUsingPOST1"); e.printStackTrace(); } ``` diff --git a/oncokbPublicApiClient/docs/CancerGenesApi.md b/oncokbPublicApiClient/docs/CancerGenesApi.md index 98c3131..8fcf19a 100644 --- a/oncokbPublicApiClient/docs/CancerGenesApi.md +++ b/oncokbPublicApiClient/docs/CancerGenesApi.md @@ -4,13 +4,13 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**utilsCancerGeneListGetUsingGET**](CancerGenesApi.md#utilsCancerGeneListGetUsingGET) | **GET** /utils/cancerGeneList | utilsCancerGeneListGet -[**utilsCancerGeneListTxtGetUsingGET**](CancerGenesApi.md#utilsCancerGeneListTxtGetUsingGET) | **GET** /utils/cancerGeneList.txt | utilsCancerGeneListTxtGet +[**utilsCancerGeneListGetUsingGET1**](CancerGenesApi.md#utilsCancerGeneListGetUsingGET1) | **GET** /utils/cancerGeneList | utilsCancerGeneListGet +[**utilsCancerGeneListTxtGetUsingGET1**](CancerGenesApi.md#utilsCancerGeneListTxtGetUsingGET1) | **GET** /utils/cancerGeneList.txt | utilsCancerGeneListTxtGet - -# **utilsCancerGeneListGetUsingGET** -> List<CancerGene> utilsCancerGeneListGetUsingGET(version) + +# **utilsCancerGeneListGetUsingGET1** +> List<CancerGene> utilsCancerGeneListGetUsingGET1(version) utilsCancerGeneListGet @@ -26,10 +26,10 @@ Get cancer gene list CancerGenesApi apiInstance = new CancerGenesApi(); String version = "version_example"; // String | version try { - List result = apiInstance.utilsCancerGeneListGetUsingGET(version); + List result = apiInstance.utilsCancerGeneListGetUsingGET1(version); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CancerGenesApi#utilsCancerGeneListGetUsingGET"); + System.err.println("Exception when calling CancerGenesApi#utilsCancerGeneListGetUsingGET1"); e.printStackTrace(); } ``` @@ -53,9 +53,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **utilsCancerGeneListTxtGetUsingGET** -> String utilsCancerGeneListTxtGetUsingGET(version) + +# **utilsCancerGeneListTxtGetUsingGET1** +> String utilsCancerGeneListTxtGetUsingGET1(version) utilsCancerGeneListTxtGet @@ -71,10 +71,10 @@ Get cancer gene list in text file. CancerGenesApi apiInstance = new CancerGenesApi(); String version = "version_example"; // String | version try { - String result = apiInstance.utilsCancerGeneListTxtGetUsingGET(version); + String result = apiInstance.utilsCancerGeneListTxtGetUsingGET1(version); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CancerGenesApi#utilsCancerGeneListTxtGetUsingGET"); + System.err.println("Exception when calling CancerGenesApi#utilsCancerGeneListTxtGetUsingGET1"); e.printStackTrace(); } ``` diff --git a/oncokbPublicApiClient/docs/IndicatorQueryTreatment.md b/oncokbPublicApiClient/docs/IndicatorQueryTreatment.md index f20540e..523effe 100644 --- a/oncokbPublicApiClient/docs/IndicatorQueryTreatment.md +++ b/oncokbPublicApiClient/docs/IndicatorQueryTreatment.md @@ -5,10 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **abstracts** | [**List<ArticleAbstract>**](ArticleAbstract.md) | | [optional] +**alterations** | **List<String>** | | [optional] **approvedIndications** | **List<String>** | | [optional] +**description** | **String** | | [optional] **drugs** | [**List<Drug>**](Drug.md) | | [optional] **fdaApproved** | **Boolean** | | [optional] **level** | [**LevelEnum**](#LevelEnum) | | [optional] +**levelAssociatedCancerType** | [**TumorType**](TumorType.md) | | [optional] **pmids** | **List<String>** | | [optional] diff --git a/oncokbPublicApiClient/docs/InfoApi.md b/oncokbPublicApiClient/docs/InfoApi.md index 531b040..4d6e72a 100644 --- a/oncokbPublicApiClient/docs/InfoApi.md +++ b/oncokbPublicApiClient/docs/InfoApi.md @@ -4,12 +4,12 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**infoGetUsingGET**](InfoApi.md#infoGetUsingGET) | **GET** /info | infoGet +[**infoGetUsingGET1**](InfoApi.md#infoGetUsingGET1) | **GET** /info | infoGet - -# **infoGetUsingGET** -> OncoKBInfo infoGetUsingGET() + +# **infoGetUsingGET1** +> OncoKBInfo infoGetUsingGET1() infoGet @@ -22,10 +22,10 @@ infoGet InfoApi apiInstance = new InfoApi(); try { - OncoKBInfo result = apiInstance.infoGetUsingGET(); + OncoKBInfo result = apiInstance.infoGetUsingGET1(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling InfoApi#infoGetUsingGET"); + System.err.println("Exception when calling InfoApi#infoGetUsingGET1"); e.printStackTrace(); } ``` diff --git a/oncokbPublicApiClient/docs/LevelsApi.md b/oncokbPublicApiClient/docs/LevelsApi.md index 17069b5..045d5dd 100644 --- a/oncokbPublicApiClient/docs/LevelsApi.md +++ b/oncokbPublicApiClient/docs/LevelsApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://oncokb-core:8888/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**levelsGetUsingGET**](LevelsApi.md#levelsGetUsingGET) | **GET** /levels | levelsGet -[**levelsResistanceGetUsingGET**](LevelsApi.md#levelsResistanceGetUsingGET) | **GET** /levels/resistance | levelsResistanceGet -[**levelsSensitiveGetUsingGET**](LevelsApi.md#levelsSensitiveGetUsingGET) | **GET** /levels/sensitive | levelsSensitiveGet +[**levelsGetUsingGET1**](LevelsApi.md#levelsGetUsingGET1) | **GET** /levels | levelsGet +[**levelsResistanceGetUsingGET1**](LevelsApi.md#levelsResistanceGetUsingGET1) | **GET** /levels/resistance | levelsResistanceGet +[**levelsSensitiveGetUsingGET1**](LevelsApi.md#levelsSensitiveGetUsingGET1) | **GET** /levels/sensitive | levelsSensitiveGet - -# **levelsGetUsingGET** -> Object levelsGetUsingGET() + +# **levelsGetUsingGET1** +> Object levelsGetUsingGET1() levelsGet @@ -26,10 +26,10 @@ Get all levels. LevelsApi apiInstance = new LevelsApi(); try { - Object result = apiInstance.levelsGetUsingGET(); + Object result = apiInstance.levelsGetUsingGET1(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling LevelsApi#levelsGetUsingGET"); + System.err.println("Exception when calling LevelsApi#levelsGetUsingGET1"); e.printStackTrace(); } ``` @@ -50,9 +50,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **levelsResistanceGetUsingGET** -> Object levelsResistanceGetUsingGET() + +# **levelsResistanceGetUsingGET1** +> Object levelsResistanceGetUsingGET1() levelsResistanceGet @@ -67,10 +67,10 @@ Get all resistance levels. LevelsApi apiInstance = new LevelsApi(); try { - Object result = apiInstance.levelsResistanceGetUsingGET(); + Object result = apiInstance.levelsResistanceGetUsingGET1(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling LevelsApi#levelsResistanceGetUsingGET"); + System.err.println("Exception when calling LevelsApi#levelsResistanceGetUsingGET1"); e.printStackTrace(); } ``` @@ -91,9 +91,9 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - -# **levelsSensitiveGetUsingGET** -> Object levelsSensitiveGetUsingGET() + +# **levelsSensitiveGetUsingGET1** +> Object levelsSensitiveGetUsingGET1() levelsSensitiveGet @@ -108,10 +108,10 @@ Get all sensitive levels. LevelsApi apiInstance = new LevelsApi(); try { - Object result = apiInstance.levelsSensitiveGetUsingGET(); + Object result = apiInstance.levelsSensitiveGetUsingGET1(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling LevelsApi#levelsSensitiveGetUsingGET"); + System.err.println("Exception when calling LevelsApi#levelsSensitiveGetUsingGET1"); e.printStackTrace(); } ``` diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/ApiException.java b/oncokbPublicApiClient/src/main/java/org/oncokb/ApiException.java index b27a4a9..440dbf1 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/ApiException.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/ApiException.java @@ -16,7 +16,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/Configuration.java b/oncokbPublicApiClient/src/main/java/org/oncokb/Configuration.java index 198c6b4..4100e11 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/Configuration.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/Configuration.java @@ -13,7 +13,7 @@ package org.oncokb; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/Pair.java b/oncokbPublicApiClient/src/main/java/org/oncokb/Pair.java index a71e013..c950091 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/Pair.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/Pair.java @@ -13,7 +13,7 @@ package org.oncokb; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class Pair { private String name = ""; private String value = ""; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/StringUtil.java b/oncokbPublicApiClient/src/main/java/org/oncokb/StringUtil.java index 6efbb87..9ae8734 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/StringUtil.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/StringUtil.java @@ -13,7 +13,7 @@ package org.oncokb; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java b/oncokbPublicApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java index b629e21..adb72db 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/auth/ApiKeyAuth.java @@ -18,7 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/auth/OAuth.java b/oncokbPublicApiClient/src/main/java/org/oncokb/auth/OAuth.java index 24dca74..b3cb530 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/auth/OAuth.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/auth/OAuth.java @@ -18,7 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class OAuth implements Authentication { private String accessToken; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java index a2b085e..bb54d96 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateCopyNumberAlterationQuery.java @@ -23,12 +23,14 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import org.oncokb.client.QueryGene; /** * AnnotateCopyNumberAlterationQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class AnnotateCopyNumberAlterationQuery { /** * Gets or Sets copyNameAlterationType @@ -84,6 +86,84 @@ public CopyNameAlterationTypeEnum read(final JsonReader jsonReader) throws IOExc @SerializedName("copyNameAlterationType") private CopyNameAlterationTypeEnum copyNameAlterationType = null; + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + @SerializedName("gene") private QueryGene gene = null; @@ -111,6 +191,32 @@ public void setCopyNameAlterationType(CopyNameAlterationTypeEnum copyNameAlterat this.copyNameAlterationType = copyNameAlterationType; } + public AnnotateCopyNumberAlterationQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateCopyNumberAlterationQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + public AnnotateCopyNumberAlterationQuery gene(QueryGene gene) { this.gene = gene; return this; @@ -176,6 +282,7 @@ public boolean equals(java.lang.Object o) { } AnnotateCopyNumberAlterationQuery annotateCopyNumberAlterationQuery = (AnnotateCopyNumberAlterationQuery) o; return Objects.equals(this.copyNameAlterationType, annotateCopyNumberAlterationQuery.copyNameAlterationType) && + Objects.equals(this.evidenceTypes, annotateCopyNumberAlterationQuery.evidenceTypes) && Objects.equals(this.gene, annotateCopyNumberAlterationQuery.gene) && Objects.equals(this.id, annotateCopyNumberAlterationQuery.id) && Objects.equals(this.tumorType, annotateCopyNumberAlterationQuery.tumorType); @@ -183,7 +290,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(copyNameAlterationType, gene, id, tumorType); + return Objects.hash(copyNameAlterationType, evidenceTypes, gene, id, tumorType); } @@ -193,6 +300,7 @@ public String toString() { sb.append("class AnnotateCopyNumberAlterationQuery {\n"); sb.append(" copyNameAlterationType: ").append(toIndentedString(copyNameAlterationType)).append("\n"); + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); sb.append(" gene: ").append(toIndentedString(gene)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" tumorType: ").append(toIndentedString(tumorType)).append("\n"); diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java index b27f1b0..fe441d9 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByGenomicChangeQuery.java @@ -23,12 +23,92 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * AnnotateMutationByGenomicChangeQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class AnnotateMutationByGenomicChangeQuery { + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + @SerializedName("genomicLocation") private String genomicLocation = null; @@ -38,6 +118,32 @@ public class AnnotateMutationByGenomicChangeQuery { @SerializedName("tumorType") private String tumorType = null; + public AnnotateMutationByGenomicChangeQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateMutationByGenomicChangeQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + public AnnotateMutationByGenomicChangeQuery genomicLocation(String genomicLocation) { this.genomicLocation = genomicLocation; return this; @@ -102,14 +208,15 @@ public boolean equals(java.lang.Object o) { return false; } AnnotateMutationByGenomicChangeQuery annotateMutationByGenomicChangeQuery = (AnnotateMutationByGenomicChangeQuery) o; - return Objects.equals(this.genomicLocation, annotateMutationByGenomicChangeQuery.genomicLocation) && + return Objects.equals(this.evidenceTypes, annotateMutationByGenomicChangeQuery.evidenceTypes) && + Objects.equals(this.genomicLocation, annotateMutationByGenomicChangeQuery.genomicLocation) && Objects.equals(this.id, annotateMutationByGenomicChangeQuery.id) && Objects.equals(this.tumorType, annotateMutationByGenomicChangeQuery.tumorType); } @Override public int hashCode() { - return Objects.hash(genomicLocation, id, tumorType); + return Objects.hash(evidenceTypes, genomicLocation, id, tumorType); } @@ -118,6 +225,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AnnotateMutationByGenomicChangeQuery {\n"); + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); sb.append(" genomicLocation: ").append(toIndentedString(genomicLocation)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" tumorType: ").append(toIndentedString(tumorType)).append("\n"); diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java index 5f79104..5c8bc43 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByHGVSgQuery.java @@ -23,12 +23,92 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * AnnotateMutationByHGVSgQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class AnnotateMutationByHGVSgQuery { + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + @SerializedName("hgvsg") private String hgvsg = null; @@ -38,6 +118,32 @@ public class AnnotateMutationByHGVSgQuery { @SerializedName("tumorType") private String tumorType = null; + public AnnotateMutationByHGVSgQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateMutationByHGVSgQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + public AnnotateMutationByHGVSgQuery hgvsg(String hgvsg) { this.hgvsg = hgvsg; return this; @@ -102,14 +208,15 @@ public boolean equals(java.lang.Object o) { return false; } AnnotateMutationByHGVSgQuery annotateMutationByHGVSgQuery = (AnnotateMutationByHGVSgQuery) o; - return Objects.equals(this.hgvsg, annotateMutationByHGVSgQuery.hgvsg) && + return Objects.equals(this.evidenceTypes, annotateMutationByHGVSgQuery.evidenceTypes) && + Objects.equals(this.hgvsg, annotateMutationByHGVSgQuery.hgvsg) && Objects.equals(this.id, annotateMutationByHGVSgQuery.id) && Objects.equals(this.tumorType, annotateMutationByHGVSgQuery.tumorType); } @Override public int hashCode() { - return Objects.hash(hgvsg, id, tumorType); + return Objects.hash(evidenceTypes, hgvsg, id, tumorType); } @@ -118,6 +225,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AnnotateMutationByHGVSgQuery {\n"); + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); sb.append(" hgvsg: ").append(toIndentedString(hgvsg)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" tumorType: ").append(toIndentedString(tumorType)).append("\n"); diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java index c41fe68..397bb3e 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateMutationByProteinChangeQuery.java @@ -23,12 +23,14 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import org.oncokb.client.QueryGene; /** * AnnotateMutationByProteinChangeQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class AnnotateMutationByProteinChangeQuery { @SerializedName("alteration") private String alteration = null; @@ -36,6 +38,84 @@ public class AnnotateMutationByProteinChangeQuery { @SerializedName("consequence") private String consequence = null; + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + @SerializedName("gene") private QueryGene gene = null; @@ -87,6 +167,32 @@ public void setConsequence(String consequence) { this.consequence = consequence; } + public AnnotateMutationByProteinChangeQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateMutationByProteinChangeQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + public AnnotateMutationByProteinChangeQuery gene(QueryGene gene) { this.gene = gene; return this; @@ -189,6 +295,7 @@ public boolean equals(java.lang.Object o) { AnnotateMutationByProteinChangeQuery annotateMutationByProteinChangeQuery = (AnnotateMutationByProteinChangeQuery) o; return Objects.equals(this.alteration, annotateMutationByProteinChangeQuery.alteration) && Objects.equals(this.consequence, annotateMutationByProteinChangeQuery.consequence) && + Objects.equals(this.evidenceTypes, annotateMutationByProteinChangeQuery.evidenceTypes) && Objects.equals(this.gene, annotateMutationByProteinChangeQuery.gene) && Objects.equals(this.id, annotateMutationByProteinChangeQuery.id) && Objects.equals(this.proteinEnd, annotateMutationByProteinChangeQuery.proteinEnd) && @@ -198,7 +305,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(alteration, consequence, gene, id, proteinEnd, proteinStart, tumorType); + return Objects.hash(alteration, consequence, evidenceTypes, gene, id, proteinEnd, proteinStart, tumorType); } @@ -209,6 +316,7 @@ public String toString() { sb.append(" alteration: ").append(toIndentedString(alteration)).append("\n"); sb.append(" consequence: ").append(toIndentedString(consequence)).append("\n"); + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); sb.append(" gene: ").append(toIndentedString(gene)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" proteinEnd: ").append(toIndentedString(proteinEnd)).append("\n"); diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java index 005a94d..482507c 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotateStructuralVariantQuery.java @@ -23,13 +23,93 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import org.oncokb.client.QueryGene; /** * AnnotateStructuralVariantQuery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class AnnotateStructuralVariantQuery { + /** + * Gets or Sets evidenceTypes + */ + @JsonAdapter(EvidenceTypesEnum.Adapter.class) + public enum EvidenceTypesEnum { + GENE_SUMMARY("GENE_SUMMARY"), + + MUTATION_SUMMARY("MUTATION_SUMMARY"), + + TUMOR_TYPE_SUMMARY("TUMOR_TYPE_SUMMARY"), + + GENE_TUMOR_TYPE_SUMMARY("GENE_TUMOR_TYPE_SUMMARY"), + + PROGNOSTIC_SUMMARY("PROGNOSTIC_SUMMARY"), + + DIAGNOSTIC_SUMMARY("DIAGNOSTIC_SUMMARY"), + + GENE_BACKGROUND("GENE_BACKGROUND"), + + ONCOGENIC("ONCOGENIC"), + + MUTATION_EFFECT("MUTATION_EFFECT"), + + VUS("VUS"), + + PROGNOSTIC_IMPLICATION("PROGNOSTIC_IMPLICATION"), + + DIAGNOSTIC_IMPLICATION("DIAGNOSTIC_IMPLICATION"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY"), + + STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE("STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY"), + + INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE("INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE"); + + private String value; + + EvidenceTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EvidenceTypesEnum fromValue(String text) { + for (EvidenceTypesEnum b : EvidenceTypesEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EvidenceTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EvidenceTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EvidenceTypesEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("evidenceTypes") + private List evidenceTypes = null; + @SerializedName("functionalFusion") private Boolean functionalFusion = null; @@ -105,6 +185,32 @@ public StructuralVariantTypeEnum read(final JsonReader jsonReader) throws IOExce @SerializedName("tumorType") private String tumorType = null; + public AnnotateStructuralVariantQuery evidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + return this; + } + + public AnnotateStructuralVariantQuery addEvidenceTypesItem(EvidenceTypesEnum evidenceTypesItem) { + if (this.evidenceTypes == null) { + this.evidenceTypes = new ArrayList(); + } + this.evidenceTypes.add(evidenceTypesItem); + return this; + } + + /** + * Get evidenceTypes + * @return evidenceTypes + **/ + @ApiModelProperty(value = "") + public List getEvidenceTypes() { + return evidenceTypes; + } + + public void setEvidenceTypes(List evidenceTypes) { + this.evidenceTypes = evidenceTypes; + } + public AnnotateStructuralVariantQuery functionalFusion(Boolean functionalFusion) { this.functionalFusion = functionalFusion; return this; @@ -223,7 +329,8 @@ public boolean equals(java.lang.Object o) { return false; } AnnotateStructuralVariantQuery annotateStructuralVariantQuery = (AnnotateStructuralVariantQuery) o; - return Objects.equals(this.functionalFusion, annotateStructuralVariantQuery.functionalFusion) && + return Objects.equals(this.evidenceTypes, annotateStructuralVariantQuery.evidenceTypes) && + Objects.equals(this.functionalFusion, annotateStructuralVariantQuery.functionalFusion) && Objects.equals(this.geneA, annotateStructuralVariantQuery.geneA) && Objects.equals(this.geneB, annotateStructuralVariantQuery.geneB) && Objects.equals(this.id, annotateStructuralVariantQuery.id) && @@ -233,7 +340,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(functionalFusion, geneA, geneB, id, structuralVariantType, tumorType); + return Objects.hash(evidenceTypes, functionalFusion, geneA, geneB, id, structuralVariantType, tumorType); } @@ -242,6 +349,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AnnotateStructuralVariantQuery {\n"); + sb.append(" evidenceTypes: ").append(toIndentedString(evidenceTypes)).append("\n"); sb.append(" functionalFusion: ").append(toIndentedString(functionalFusion)).append("\n"); sb.append(" geneA: ").append(toIndentedString(geneA)).append("\n"); sb.append(" geneB: ").append(toIndentedString(geneB)).append("\n"); diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java index 0e1317c..4da5d13 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/AnnotationsApi.java @@ -60,17 +60,18 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for annotateCopyNumberAlterationsGetUsingGET + * Build call for annotateCopyNumberAlterationsGetUsingGET1 * @param copyNameAlterationType Copy number alteration type (required) * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGETCall(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGET1Call(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -86,6 +87,8 @@ public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGETCall(Str localVarQueryParams.addAll(apiClient.parameterToPair("copyNameAlterationType", copyNameAlterationType)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -120,15 +123,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGETValidateBeforeCall(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGET1ValidateBeforeCall(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'copyNameAlterationType' is set if (copyNameAlterationType == null) { - throw new ApiException("Missing the required parameter 'copyNameAlterationType' when calling annotateCopyNumberAlterationsGetUsingGET(Async)"); + throw new ApiException("Missing the required parameter 'copyNameAlterationType' when calling annotateCopyNumberAlterationsGetUsingGET1(Async)"); } - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGETCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGET1Call(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -140,11 +143,12 @@ private com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGETValidat * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType) throws ApiException { - ApiResponse resp = annotateCopyNumberAlterationsGetUsingGETWithHttpInfo(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType); + public IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET1(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateCopyNumberAlterationsGetUsingGET1WithHttpInfo(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType); return resp.getData(); } @@ -155,11 +159,12 @@ public IndicatorQueryResp annotateCopyNumberAlterationsGetUsingGET(String copyNa * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateCopyNumberAlterationsGetUsingGETWithHttpInfo(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGETValidateBeforeCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, null, null); + public ApiResponse annotateCopyNumberAlterationsGetUsingGET1WithHttpInfo(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGET1ValidateBeforeCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -171,11 +176,12 @@ public ApiResponse annotateCopyNumberAlterationsGetUsingGETW * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGETAsync(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateCopyNumberAlterationsGetUsingGET1Async(String copyNameAlterationType, String hugoSymbol, Integer entrezGeneId, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -196,20 +202,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGETValidateBeforeCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsGetUsingGET1ValidateBeforeCall(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateCopyNumberAlterationsPostUsingPOST + * Build call for annotateCopyNumberAlterationsPostUsingPOST1 * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -251,15 +257,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateCopyNumberAlterationsPostUsingPOST(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateCopyNumberAlterationsPostUsingPOST1(Async)"); } - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOSTCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOST1Call(body, progressListener, progressRequestListener); return call; } @@ -271,8 +277,8 @@ private com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOSTValid * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateCopyNumberAlterationsPostUsingPOST(List body) throws ApiException { - ApiResponse> resp = annotateCopyNumberAlterationsPostUsingPOSTWithHttpInfo(body); + public List annotateCopyNumberAlterationsPostUsingPOST1(List body) throws ApiException { + ApiResponse> resp = annotateCopyNumberAlterationsPostUsingPOST1WithHttpInfo(body); return resp.getData(); } @@ -283,8 +289,8 @@ public List annotateCopyNumberAlterationsPostUsingPOST(List< * @return ApiResponse<List<IndicatorQueryResp>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> annotateCopyNumberAlterationsPostUsingPOSTWithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOSTValidateBeforeCall(body, null, null); + public ApiResponse> annotateCopyNumberAlterationsPostUsingPOST1WithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOST1ValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -297,7 +303,7 @@ public ApiResponse> annotateCopyNumberAlterationsPostUs * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateCopyNumberAlterationsPostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -318,21 +324,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateCopyNumberAlterationsPostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByGenomicChangeGetUsingGET + * Build call for annotateMutationsByGenomicChangeGetUsingGET1 * @param genomicLocation Genomic location. Example: 7,140453136,140453136,A,T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGETCall(String genomicLocation, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGET1Call(String genomicLocation, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -344,6 +351,8 @@ public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGETCall( localVarQueryParams.addAll(apiClient.parameterToPair("genomicLocation", genomicLocation)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -378,15 +387,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGETValidateBeforeCall(String genomicLocation, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGET1ValidateBeforeCall(String genomicLocation, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'genomicLocation' is set if (genomicLocation == null) { - throw new ApiException("Missing the required parameter 'genomicLocation' when calling annotateMutationsByGenomicChangeGetUsingGET(Async)"); + throw new ApiException("Missing the required parameter 'genomicLocation' when calling annotateMutationsByGenomicChangeGetUsingGET1(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGETCall(genomicLocation, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGET1Call(genomicLocation, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -396,11 +405,12 @@ private com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGETVali * Annotate mutation by genomic change. * @param genomicLocation Genomic location. Example: 7,140453136,140453136,A,T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET(String genomicLocation, String tumorType) throws ApiException { - ApiResponse resp = annotateMutationsByGenomicChangeGetUsingGETWithHttpInfo(genomicLocation, tumorType); + public IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET1(String genomicLocation, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateMutationsByGenomicChangeGetUsingGET1WithHttpInfo(genomicLocation, tumorType, evidenceType); return resp.getData(); } @@ -409,11 +419,12 @@ public IndicatorQueryResp annotateMutationsByGenomicChangeGetUsingGET(String gen * Annotate mutation by genomic change. * @param genomicLocation Genomic location. Example: 7,140453136,140453136,A,T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateMutationsByGenomicChangeGetUsingGETWithHttpInfo(String genomicLocation, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGETValidateBeforeCall(genomicLocation, tumorType, null, null); + public ApiResponse annotateMutationsByGenomicChangeGetUsingGET1WithHttpInfo(String genomicLocation, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGET1ValidateBeforeCall(genomicLocation, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -423,11 +434,12 @@ public ApiResponse annotateMutationsByGenomicChangeGetUsingG * Annotate mutation by genomic change. * @param genomicLocation Genomic location. Example: 7,140453136,140453136,A,T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGETAsync(String genomicLocation, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByGenomicChangeGetUsingGET1Async(String genomicLocation, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -448,20 +460,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGETValidateBeforeCall(genomicLocation, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangeGetUsingGET1ValidateBeforeCall(genomicLocation, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByGenomicChangePostUsingPOST + * Build call for annotateMutationsByGenomicChangePostUsingPOST1 * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -503,15 +515,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByGenomicChangePostUsingPOST(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByGenomicChangePostUsingPOST1(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOSTCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOST1Call(body, progressListener, progressRequestListener); return call; } @@ -523,8 +535,8 @@ private com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOSTVa * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateMutationsByGenomicChangePostUsingPOST(List body) throws ApiException { - ApiResponse> resp = annotateMutationsByGenomicChangePostUsingPOSTWithHttpInfo(body); + public List annotateMutationsByGenomicChangePostUsingPOST1(List body) throws ApiException { + ApiResponse> resp = annotateMutationsByGenomicChangePostUsingPOST1WithHttpInfo(body); return resp.getData(); } @@ -535,8 +547,8 @@ public List annotateMutationsByGenomicChangePostUsingPOST(Li * @return ApiResponse<List<IndicatorQueryResp>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> annotateMutationsByGenomicChangePostUsingPOSTWithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOSTValidateBeforeCall(body, null, null); + public ApiResponse> annotateMutationsByGenomicChangePostUsingPOST1WithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOST1ValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -549,7 +561,7 @@ public ApiResponse> annotateMutationsByGenomicChangePos * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByGenomicChangePostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -570,21 +582,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByGenomicChangePostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByHGVSgGetUsingGET + * Build call for annotateMutationsByHGVSgGetUsingGET1 * @param hgvsg HGVS genomic format. Example: 7:g.140453136A>T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGETCall(String hgvsg, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGET1Call(String hgvsg, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -596,6 +609,8 @@ public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGETCall(String h localVarQueryParams.addAll(apiClient.parameterToPair("hgvsg", hgvsg)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -630,15 +645,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGETValidateBeforeCall(String hgvsg, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGET1ValidateBeforeCall(String hgvsg, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'hgvsg' is set if (hgvsg == null) { - throw new ApiException("Missing the required parameter 'hgvsg' when calling annotateMutationsByHGVSgGetUsingGET(Async)"); + throw new ApiException("Missing the required parameter 'hgvsg' when calling annotateMutationsByHGVSgGetUsingGET1(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGETCall(hgvsg, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGET1Call(hgvsg, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -648,11 +663,12 @@ private com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGETValidateBefo * Annotate mutation by HGVSg. * @param hgvsg HGVS genomic format. Example: 7:g.140453136A>T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET(String hgvsg, String tumorType) throws ApiException { - ApiResponse resp = annotateMutationsByHGVSgGetUsingGETWithHttpInfo(hgvsg, tumorType); + public IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET1(String hgvsg, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateMutationsByHGVSgGetUsingGET1WithHttpInfo(hgvsg, tumorType, evidenceType); return resp.getData(); } @@ -661,11 +677,12 @@ public IndicatorQueryResp annotateMutationsByHGVSgGetUsingGET(String hgvsg, Stri * Annotate mutation by HGVSg. * @param hgvsg HGVS genomic format. Example: 7:g.140453136A>T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateMutationsByHGVSgGetUsingGETWithHttpInfo(String hgvsg, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGETValidateBeforeCall(hgvsg, tumorType, null, null); + public ApiResponse annotateMutationsByHGVSgGetUsingGET1WithHttpInfo(String hgvsg, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGET1ValidateBeforeCall(hgvsg, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -675,11 +692,12 @@ public ApiResponse annotateMutationsByHGVSgGetUsingGETWithHt * Annotate mutation by HGVSg. * @param hgvsg HGVS genomic format. Example: 7:g.140453136A>T (required) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGETAsync(String hgvsg, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByHGVSgGetUsingGET1Async(String hgvsg, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -700,20 +718,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGETValidateBeforeCall(hgvsg, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByHGVSgGetUsingGET1ValidateBeforeCall(hgvsg, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByHGVSgPostUsingPOST + * Build call for annotateMutationsByHGVSgPostUsingPOST1 * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -755,15 +773,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByHGVSgPostUsingPOST(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByHGVSgPostUsingPOST1(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOSTCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOST1Call(body, progressListener, progressRequestListener); return call; } @@ -775,8 +793,8 @@ private com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOSTValidateBe * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateMutationsByHGVSgPostUsingPOST(List body) throws ApiException { - ApiResponse> resp = annotateMutationsByHGVSgPostUsingPOSTWithHttpInfo(body); + public List annotateMutationsByHGVSgPostUsingPOST1(List body) throws ApiException { + ApiResponse> resp = annotateMutationsByHGVSgPostUsingPOST1WithHttpInfo(body); return resp.getData(); } @@ -787,8 +805,8 @@ public List annotateMutationsByHGVSgPostUsingPOST(List> annotateMutationsByHGVSgPostUsingPOSTWithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOSTValidateBeforeCall(body, null, null); + public ApiResponse> annotateMutationsByHGVSgPostUsingPOST1WithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOST1ValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -801,7 +819,7 @@ public ApiResponse> annotateMutationsByHGVSgPostUsingPO * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByHGVSgPostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -822,13 +840,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByHGVSgPostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByProteinChangeGetUsingGET + * Build call for annotateMutationsByProteinChangeGetUsingGET1 * @param hugoSymbol The gene symbol used in Human Genome Organisation. Example: BRAF (optional) * @param entrezGeneId The entrez gene ID. (Higher priority than hugoSymbol). Example: 673 (optional) * @param alteration Protein Change. Example: V600E (optional) @@ -836,12 +854,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param proteinStart Protein Start. Example: 600 (optional) * @param proteinEnd Protein End. Example: 600 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGETCall(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGET1Call(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -863,6 +882,8 @@ public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGETCall( localVarQueryParams.addAll(apiClient.parameterToPair("proteinEnd", proteinEnd)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -897,10 +918,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGETValidateBeforeCall(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGET1ValidateBeforeCall(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGETCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGET1Call(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -915,11 +936,12 @@ private com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGETVali * @param proteinStart Protein Start. Example: 600 (optional) * @param proteinEnd Protein End. Example: 600 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType) throws ApiException { - ApiResponse resp = annotateMutationsByProteinChangeGetUsingGETWithHttpInfo(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType); + public IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET1(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateMutationsByProteinChangeGetUsingGET1WithHttpInfo(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType); return resp.getData(); } @@ -933,11 +955,12 @@ public IndicatorQueryResp annotateMutationsByProteinChangeGetUsingGET(String hug * @param proteinStart Protein Start. Example: 600 (optional) * @param proteinEnd Protein End. Example: 600 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateMutationsByProteinChangeGetUsingGETWithHttpInfo(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGETValidateBeforeCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, null, null); + public ApiResponse annotateMutationsByProteinChangeGetUsingGET1WithHttpInfo(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGET1ValidateBeforeCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -952,11 +975,12 @@ public ApiResponse annotateMutationsByProteinChangeGetUsingG * @param proteinStart Protein Start. Example: 600 (optional) * @param proteinEnd Protein End. Example: 600 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGETAsync(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByProteinChangeGetUsingGET1Async(String hugoSymbol, Integer entrezGeneId, String alteration, String consequence, Integer proteinStart, Integer proteinEnd, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -977,20 +1001,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGETValidateBeforeCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByProteinChangeGetUsingGET1ValidateBeforeCall(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateMutationsByProteinChangePostUsingPOST + * Build call for annotateMutationsByProteinChangePostUsingPOST1 * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1032,15 +1056,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByProteinChangePostUsingPOST(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateMutationsByProteinChangePostUsingPOST1(Async)"); } - com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOSTCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOST1Call(body, progressListener, progressRequestListener); return call; } @@ -1052,8 +1076,8 @@ private com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOSTVa * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateMutationsByProteinChangePostUsingPOST(List body) throws ApiException { - ApiResponse> resp = annotateMutationsByProteinChangePostUsingPOSTWithHttpInfo(body); + public List annotateMutationsByProteinChangePostUsingPOST1(List body) throws ApiException { + ApiResponse> resp = annotateMutationsByProteinChangePostUsingPOST1WithHttpInfo(body); return resp.getData(); } @@ -1064,8 +1088,8 @@ public List annotateMutationsByProteinChangePostUsingPOST(Li * @return ApiResponse<List<IndicatorQueryResp>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> annotateMutationsByProteinChangePostUsingPOSTWithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOSTValidateBeforeCall(body, null, null); + public ApiResponse> annotateMutationsByProteinChangePostUsingPOST1WithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOST1ValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1078,7 +1102,7 @@ public ApiResponse> annotateMutationsByProteinChangePos * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateMutationsByProteinChangePostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1099,13 +1123,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateMutationsByProteinChangePostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateStructuralVariantsGetUsingGET + * Build call for annotateStructuralVariantsGetUsingGET1 * @param structuralVariantType Structural variant type (required) * @param isFunctionalFusion Whether is functional fusion (required) * @param hugoSymbolA The gene symbol A used in Human Genome Organisation. Example: ABL1 (optional) @@ -1113,12 +1137,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param hugoSymbolB The gene symbol B used in Human Genome Organisation.Example: BCR (optional) * @param entrezGeneIdB The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGETCall(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGET1Call(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1140,6 +1165,8 @@ public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGETCall(String localVarQueryParams.addAll(apiClient.parameterToPair("isFunctionalFusion", isFunctionalFusion)); if (tumorType != null) localVarQueryParams.addAll(apiClient.parameterToPair("tumorType", tumorType)); + if (evidenceType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("evidenceType", evidenceType)); Map localVarHeaderParams = new HashMap(); @@ -1174,20 +1201,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGETValidateBeforeCall(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGET1ValidateBeforeCall(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'structuralVariantType' is set if (structuralVariantType == null) { - throw new ApiException("Missing the required parameter 'structuralVariantType' when calling annotateStructuralVariantsGetUsingGET(Async)"); + throw new ApiException("Missing the required parameter 'structuralVariantType' when calling annotateStructuralVariantsGetUsingGET1(Async)"); } // verify the required parameter 'isFunctionalFusion' is set if (isFunctionalFusion == null) { - throw new ApiException("Missing the required parameter 'isFunctionalFusion' when calling annotateStructuralVariantsGetUsingGET(Async)"); + throw new ApiException("Missing the required parameter 'isFunctionalFusion' when calling annotateStructuralVariantsGetUsingGET1(Async)"); } - com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGETCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGET1Call(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType, progressListener, progressRequestListener); return call; } @@ -1202,11 +1229,12 @@ private com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGETValidateBe * @param hugoSymbolB The gene symbol B used in Human Genome Organisation.Example: BCR (optional) * @param entrezGeneIdB The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return IndicatorQueryResp * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public IndicatorQueryResp annotateStructuralVariantsGetUsingGET(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType) throws ApiException { - ApiResponse resp = annotateStructuralVariantsGetUsingGETWithHttpInfo(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType); + public IndicatorQueryResp annotateStructuralVariantsGetUsingGET1(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType) throws ApiException { + ApiResponse resp = annotateStructuralVariantsGetUsingGET1WithHttpInfo(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType); return resp.getData(); } @@ -1220,11 +1248,12 @@ public IndicatorQueryResp annotateStructuralVariantsGetUsingGET(String structura * @param hugoSymbolB The gene symbol B used in Human Genome Organisation.Example: BCR (optional) * @param entrezGeneIdB The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @return ApiResponse<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse annotateStructuralVariantsGetUsingGETWithHttpInfo(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType) throws ApiException { - com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGETValidateBeforeCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, null, null); + public ApiResponse annotateStructuralVariantsGetUsingGET1WithHttpInfo(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType) throws ApiException { + com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGET1ValidateBeforeCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1239,11 +1268,12 @@ public ApiResponse annotateStructuralVariantsGetUsingGETWith * @param hugoSymbolB The gene symbol B used in Human Genome Organisation.Example: BCR (optional) * @param entrezGeneIdB The entrez gene ID B. (Higher priority than hugoSymbolB) Example: 613 (optional) * @param tumorType OncoTree(http://oncotree.mskcc.org) tumor type name. The field supports OncoTree Code, OncoTree Name and OncoTree Main type. Example: Melanoma (optional) + * @param evidenceType Evidence type to compute. This could help to improve the performance if you only look for sub-content. Example: ONCOGENIC. All available evidence type are GENE_SUMMARY, MUTATION_SUMMARY, TUMOR_TYPE_SUMMARY, PROGNOSTIC_SUMMARY, DIAGNOSTIC_SUMMARY, ONCOGENIC, MUTATION_EFFECT, PROGNOSTIC_IMPLICATION, DIAGNOSTIC_IMPLICATION, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY, STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_RESISTANCE, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_SENSITIVITY, INVESTIGATIONAL_THERAPEUTIC_IMPLICATIONS_DRUG_RESISTANCE. For multiple evidence types query, use ',' as separator. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGETAsync(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call annotateStructuralVariantsGetUsingGET1Async(String structuralVariantType, Boolean isFunctionalFusion, String hugoSymbolA, Integer entrezGeneIdA, String hugoSymbolB, Integer entrezGeneIdB, String tumorType, String evidenceType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1264,20 +1294,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGETValidateBeforeCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateStructuralVariantsGetUsingGET1ValidateBeforeCall(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for annotateStructuralVariantsPostUsingPOST + * Build call for annotateStructuralVariantsPostUsingPOST1 * @param body List of queries. Please see swagger.json for request body format. (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOSTCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOST1Call(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1319,15 +1349,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOSTValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOST1ValidateBeforeCall(List body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling annotateStructuralVariantsPostUsingPOST(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling annotateStructuralVariantsPostUsingPOST1(Async)"); } - com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOSTCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOST1Call(body, progressListener, progressRequestListener); return call; } @@ -1339,8 +1369,8 @@ private com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOSTValidate * @return List<IndicatorQueryResp> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List annotateStructuralVariantsPostUsingPOST(List body) throws ApiException { - ApiResponse> resp = annotateStructuralVariantsPostUsingPOSTWithHttpInfo(body); + public List annotateStructuralVariantsPostUsingPOST1(List body) throws ApiException { + ApiResponse> resp = annotateStructuralVariantsPostUsingPOST1WithHttpInfo(body); return resp.getData(); } @@ -1351,8 +1381,8 @@ public List annotateStructuralVariantsPostUsingPOST(List> annotateStructuralVariantsPostUsingPOSTWithHttpInfo(List body) throws ApiException { - com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOSTValidateBeforeCall(body, null, null); + public ApiResponse> annotateStructuralVariantsPostUsingPOST1WithHttpInfo(List body) throws ApiException { + com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOST1ValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1365,7 +1395,7 @@ public ApiResponse> annotateStructuralVariantsPostUsing * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOSTAsync(List body, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call annotateStructuralVariantsPostUsingPOST1Async(List body, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1386,7 +1416,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = annotateStructuralVariantsPostUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java index 4f06790..1101593 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/ArticleAbstract.java @@ -27,7 +27,7 @@ /** * ArticleAbstract */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class ArticleAbstract { @SerializedName("abstract") private String _abstract = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/CancerGene.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/CancerGene.java index 33d16f9..5a460a6 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/CancerGene.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/CancerGene.java @@ -27,7 +27,7 @@ /** * CancerGene */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class CancerGene { @SerializedName("entrezGeneId") private Integer entrezGeneId = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java index 4c098b1..a5e24c1 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/CancerGenesApi.java @@ -55,14 +55,14 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for utilsCancerGeneListGetUsingGET + * Build call for utilsCancerGeneListGetUsingGET1 * @param version version (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call utilsCancerGeneListGetUsingGETCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call utilsCancerGeneListGetUsingGET1Call(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -106,10 +106,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call utilsCancerGeneListGetUsingGETValidateBeforeCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call utilsCancerGeneListGetUsingGET1ValidateBeforeCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGETCall(version, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGET1Call(version, progressListener, progressRequestListener); return call; } @@ -121,8 +121,8 @@ private com.squareup.okhttp.Call utilsCancerGeneListGetUsingGETValidateBeforeCal * @return List<CancerGene> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public List utilsCancerGeneListGetUsingGET(String version) throws ApiException { - ApiResponse> resp = utilsCancerGeneListGetUsingGETWithHttpInfo(version); + public List utilsCancerGeneListGetUsingGET1(String version) throws ApiException { + ApiResponse> resp = utilsCancerGeneListGetUsingGET1WithHttpInfo(version); return resp.getData(); } @@ -133,8 +133,8 @@ public List utilsCancerGeneListGetUsingGET(String version) throws Ap * @return ApiResponse<List<CancerGene>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> utilsCancerGeneListGetUsingGETWithHttpInfo(String version) throws ApiException { - com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGETValidateBeforeCall(version, null, null); + public ApiResponse> utilsCancerGeneListGetUsingGET1WithHttpInfo(String version) throws ApiException { + com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGET1ValidateBeforeCall(version, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -147,7 +147,7 @@ public ApiResponse> utilsCancerGeneListGetUsingGETWithHttpInfo( * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call utilsCancerGeneListGetUsingGETAsync(String version, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call utilsCancerGeneListGetUsingGET1Async(String version, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -168,20 +168,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGETValidateBeforeCall(version, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = utilsCancerGeneListGetUsingGET1ValidateBeforeCall(version, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for utilsCancerGeneListTxtGetUsingGET + * Build call for utilsCancerGeneListTxtGetUsingGET1 * @param version version (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGETCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGET1Call(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -225,10 +225,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGETValidateBeforeCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGET1ValidateBeforeCall(String version, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGETCall(version, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGET1Call(version, progressListener, progressRequestListener); return call; } @@ -240,8 +240,8 @@ private com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGETValidateBefore * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String utilsCancerGeneListTxtGetUsingGET(String version) throws ApiException { - ApiResponse resp = utilsCancerGeneListTxtGetUsingGETWithHttpInfo(version); + public String utilsCancerGeneListTxtGetUsingGET1(String version) throws ApiException { + ApiResponse resp = utilsCancerGeneListTxtGetUsingGET1WithHttpInfo(version); return resp.getData(); } @@ -252,8 +252,8 @@ public String utilsCancerGeneListTxtGetUsingGET(String version) throws ApiExcept * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse utilsCancerGeneListTxtGetUsingGETWithHttpInfo(String version) throws ApiException { - com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGETValidateBeforeCall(version, null, null); + public ApiResponse utilsCancerGeneListTxtGetUsingGET1WithHttpInfo(String version) throws ApiException { + com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGET1ValidateBeforeCall(version, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -266,7 +266,7 @@ public ApiResponse utilsCancerGeneListTxtGetUsingGETWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGETAsync(String version, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call utilsCancerGeneListTxtGetUsingGET1Async(String version, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -287,7 +287,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGETValidateBeforeCall(version, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = utilsCancerGeneListTxtGetUsingGET1ValidateBeforeCall(version, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Citations.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Citations.java index 60fd7c1..ce79637 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Citations.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Citations.java @@ -30,7 +30,7 @@ /** * Citations */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class Citations { @SerializedName("abstracts") private List abstracts = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Drug.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Drug.java index f035f4c..6196730 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Drug.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Drug.java @@ -29,7 +29,7 @@ /** * Drug */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class Drug { @SerializedName("drugName") private String drugName = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Implication.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Implication.java index 76f3eb7..8177a95 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Implication.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Implication.java @@ -30,7 +30,7 @@ /** * Implication */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class Implication { @SerializedName("alterations") private List alterations = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java index 83f7249..9f663e4 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/IndicatorQueryResp.java @@ -33,7 +33,7 @@ /** * IndicatorQueryResp */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class IndicatorQueryResp { @SerializedName("alleleExist") private Boolean alleleExist = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java index 954d210..00b2113 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/IndicatorQueryTreatment.java @@ -27,18 +27,25 @@ import java.util.List; import org.oncokb.client.ArticleAbstract; import org.oncokb.client.Drug; +import org.oncokb.client.TumorType; /** * IndicatorQueryTreatment */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class IndicatorQueryTreatment { @SerializedName("abstracts") private List abstracts = null; + @SerializedName("alterations") + private List alterations = null; + @SerializedName("approvedIndications") private List approvedIndications = null; + @SerializedName("description") + private String description = null; + @SerializedName("drugs") private List drugs = null; @@ -127,6 +134,9 @@ public LevelEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("level") private LevelEnum level = null; + @SerializedName("levelAssociatedCancerType") + private TumorType levelAssociatedCancerType = null; + @SerializedName("pmids") private List pmids = null; @@ -156,6 +166,32 @@ public void setAbstracts(List abstracts) { this.abstracts = abstracts; } + public IndicatorQueryTreatment alterations(List alterations) { + this.alterations = alterations; + return this; + } + + public IndicatorQueryTreatment addAlterationsItem(String alterationsItem) { + if (this.alterations == null) { + this.alterations = new ArrayList(); + } + this.alterations.add(alterationsItem); + return this; + } + + /** + * Get alterations + * @return alterations + **/ + @ApiModelProperty(value = "") + public List getAlterations() { + return alterations; + } + + public void setAlterations(List alterations) { + this.alterations = alterations; + } + public IndicatorQueryTreatment approvedIndications(List approvedIndications) { this.approvedIndications = approvedIndications; return this; @@ -182,6 +218,24 @@ public void setApprovedIndications(List approvedIndications) { this.approvedIndications = approvedIndications; } + public IndicatorQueryTreatment description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @ApiModelProperty(value = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + public IndicatorQueryTreatment drugs(List drugs) { this.drugs = drugs; return this; @@ -244,6 +298,24 @@ public void setLevel(LevelEnum level) { this.level = level; } + public IndicatorQueryTreatment levelAssociatedCancerType(TumorType levelAssociatedCancerType) { + this.levelAssociatedCancerType = levelAssociatedCancerType; + return this; + } + + /** + * Get levelAssociatedCancerType + * @return levelAssociatedCancerType + **/ + @ApiModelProperty(value = "") + public TumorType getLevelAssociatedCancerType() { + return levelAssociatedCancerType; + } + + public void setLevelAssociatedCancerType(TumorType levelAssociatedCancerType) { + this.levelAssociatedCancerType = levelAssociatedCancerType; + } + public IndicatorQueryTreatment pmids(List pmids) { this.pmids = pmids; return this; @@ -281,16 +353,19 @@ public boolean equals(java.lang.Object o) { } IndicatorQueryTreatment indicatorQueryTreatment = (IndicatorQueryTreatment) o; return Objects.equals(this.abstracts, indicatorQueryTreatment.abstracts) && + Objects.equals(this.alterations, indicatorQueryTreatment.alterations) && Objects.equals(this.approvedIndications, indicatorQueryTreatment.approvedIndications) && + Objects.equals(this.description, indicatorQueryTreatment.description) && Objects.equals(this.drugs, indicatorQueryTreatment.drugs) && Objects.equals(this.fdaApproved, indicatorQueryTreatment.fdaApproved) && Objects.equals(this.level, indicatorQueryTreatment.level) && + Objects.equals(this.levelAssociatedCancerType, indicatorQueryTreatment.levelAssociatedCancerType) && Objects.equals(this.pmids, indicatorQueryTreatment.pmids); } @Override public int hashCode() { - return Objects.hash(abstracts, approvedIndications, drugs, fdaApproved, level, pmids); + return Objects.hash(abstracts, alterations, approvedIndications, description, drugs, fdaApproved, level, levelAssociatedCancerType, pmids); } @@ -300,10 +375,13 @@ public String toString() { sb.append("class IndicatorQueryTreatment {\n"); sb.append(" abstracts: ").append(toIndentedString(abstracts)).append("\n"); + sb.append(" alterations: ").append(toIndentedString(alterations)).append("\n"); sb.append(" approvedIndications: ").append(toIndentedString(approvedIndications)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" drugs: ").append(toIndentedString(drugs)).append("\n"); sb.append(" fdaApproved: ").append(toIndentedString(fdaApproved)).append("\n"); sb.append(" level: ").append(toIndentedString(level)).append("\n"); + sb.append(" levelAssociatedCancerType: ").append(toIndentedString(levelAssociatedCancerType)).append("\n"); sb.append(" pmids: ").append(toIndentedString(pmids)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/InfoApi.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/InfoApi.java index 46e1096..48cea26 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/InfoApi.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/InfoApi.java @@ -55,13 +55,13 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for infoGetUsingGET + * Build call for infoGetUsingGET1 * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call infoGetUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call infoGetUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -103,10 +103,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call infoGetUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call infoGetUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = infoGetUsingGETCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = infoGetUsingGET1Call(progressListener, progressRequestListener); return call; } @@ -117,8 +117,8 @@ private com.squareup.okhttp.Call infoGetUsingGETValidateBeforeCall(final Progres * @return OncoKBInfo * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public OncoKBInfo infoGetUsingGET() throws ApiException { - ApiResponse resp = infoGetUsingGETWithHttpInfo(); + public OncoKBInfo infoGetUsingGET1() throws ApiException { + ApiResponse resp = infoGetUsingGET1WithHttpInfo(); return resp.getData(); } @@ -128,8 +128,8 @@ public OncoKBInfo infoGetUsingGET() throws ApiException { * @return ApiResponse<OncoKBInfo> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse infoGetUsingGETWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = infoGetUsingGETValidateBeforeCall(null, null); + public ApiResponse infoGetUsingGET1WithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = infoGetUsingGET1ValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -141,7 +141,7 @@ public ApiResponse infoGetUsingGETWithHttpInfo() throws ApiException * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call infoGetUsingGETAsync(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call infoGetUsingGET1Async(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -162,7 +162,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = infoGetUsingGETValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = infoGetUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/InfoLevel.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/InfoLevel.java index 30d9287..c7a6430 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/InfoLevel.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/InfoLevel.java @@ -27,7 +27,7 @@ /** * InfoLevel */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class InfoLevel { @SerializedName("colorHex") private String colorHex = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/LevelsApi.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/LevelsApi.java index 275948c..a99fb19 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/LevelsApi.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/LevelsApi.java @@ -54,13 +54,13 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for levelsGetUsingGET + * Build call for levelsGetUsingGET1 * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call levelsGetUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call levelsGetUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -102,10 +102,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call levelsGetUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call levelsGetUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = levelsGetUsingGETCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsGetUsingGET1Call(progressListener, progressRequestListener); return call; } @@ -116,8 +116,8 @@ private com.squareup.okhttp.Call levelsGetUsingGETValidateBeforeCall(final Progr * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public Object levelsGetUsingGET() throws ApiException { - ApiResponse resp = levelsGetUsingGETWithHttpInfo(); + public Object levelsGetUsingGET1() throws ApiException { + ApiResponse resp = levelsGetUsingGET1WithHttpInfo(); return resp.getData(); } @@ -127,8 +127,8 @@ public Object levelsGetUsingGET() throws ApiException { * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse levelsGetUsingGETWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = levelsGetUsingGETValidateBeforeCall(null, null); + public ApiResponse levelsGetUsingGET1WithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = levelsGetUsingGET1ValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -140,7 +140,7 @@ public ApiResponse levelsGetUsingGETWithHttpInfo() throws ApiException { * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call levelsGetUsingGETAsync(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call levelsGetUsingGET1Async(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -161,19 +161,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = levelsGetUsingGETValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsGetUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for levelsResistanceGetUsingGET + * Build call for levelsResistanceGetUsingGET1 * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call levelsResistanceGetUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call levelsResistanceGetUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -215,10 +215,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call levelsResistanceGetUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call levelsResistanceGetUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = levelsResistanceGetUsingGETCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsResistanceGetUsingGET1Call(progressListener, progressRequestListener); return call; } @@ -229,8 +229,8 @@ private com.squareup.okhttp.Call levelsResistanceGetUsingGETValidateBeforeCall(f * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public Object levelsResistanceGetUsingGET() throws ApiException { - ApiResponse resp = levelsResistanceGetUsingGETWithHttpInfo(); + public Object levelsResistanceGetUsingGET1() throws ApiException { + ApiResponse resp = levelsResistanceGetUsingGET1WithHttpInfo(); return resp.getData(); } @@ -240,8 +240,8 @@ public Object levelsResistanceGetUsingGET() throws ApiException { * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse levelsResistanceGetUsingGETWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = levelsResistanceGetUsingGETValidateBeforeCall(null, null); + public ApiResponse levelsResistanceGetUsingGET1WithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = levelsResistanceGetUsingGET1ValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -253,7 +253,7 @@ public ApiResponse levelsResistanceGetUsingGETWithHttpInfo() throws ApiE * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call levelsResistanceGetUsingGETAsync(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call levelsResistanceGetUsingGET1Async(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -274,19 +274,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = levelsResistanceGetUsingGETValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsResistanceGetUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for levelsSensitiveGetUsingGET + * Build call for levelsSensitiveGetUsingGET1 * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call levelsSensitiveGetUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call levelsSensitiveGetUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -328,10 +328,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call levelsSensitiveGetUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call levelsSensitiveGetUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = levelsSensitiveGetUsingGETCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsSensitiveGetUsingGET1Call(progressListener, progressRequestListener); return call; } @@ -342,8 +342,8 @@ private com.squareup.okhttp.Call levelsSensitiveGetUsingGETValidateBeforeCall(fi * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public Object levelsSensitiveGetUsingGET() throws ApiException { - ApiResponse resp = levelsSensitiveGetUsingGETWithHttpInfo(); + public Object levelsSensitiveGetUsingGET1() throws ApiException { + ApiResponse resp = levelsSensitiveGetUsingGET1WithHttpInfo(); return resp.getData(); } @@ -353,8 +353,8 @@ public Object levelsSensitiveGetUsingGET() throws ApiException { * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse levelsSensitiveGetUsingGETWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = levelsSensitiveGetUsingGETValidateBeforeCall(null, null); + public ApiResponse levelsSensitiveGetUsingGET1WithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = levelsSensitiveGetUsingGET1ValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -366,7 +366,7 @@ public ApiResponse levelsSensitiveGetUsingGETWithHttpInfo() throws ApiEx * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call levelsSensitiveGetUsingGETAsync(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call levelsSensitiveGetUsingGET1Async(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -387,7 +387,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = levelsSensitiveGetUsingGETValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = levelsSensitiveGetUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/MainType.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/MainType.java index 1ca1110..2eacbe3 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/MainType.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/MainType.java @@ -28,7 +28,7 @@ * OncoTree Cancer Type */ @ApiModel(description = "OncoTree Cancer Type") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class MainType { @SerializedName("id") private Integer id = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java index 6bf5614..1591701 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/MutationEffectResp.java @@ -28,7 +28,7 @@ /** * MutationEffectResp */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class MutationEffectResp { @SerializedName("citations") private Citations citations = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java index 4013e75..0c129af 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/OncoKBInfo.java @@ -31,7 +31,7 @@ /** * OncoKBInfo */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class OncoKBInfo { @SerializedName("dataVersion") private Version dataVersion = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Query.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Query.java index cd0a907..f01f7b5 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Query.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Query.java @@ -27,7 +27,7 @@ /** * Query */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class Query { @SerializedName("alteration") private String alteration = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/QueryGene.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/QueryGene.java index e73c1c4..2897a3d 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/QueryGene.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/QueryGene.java @@ -27,7 +27,7 @@ /** * QueryGene */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class QueryGene { @SerializedName("entrezGeneId") private Integer entrezGeneId = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/TumorType.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/TumorType.java index b25a2ea..81323af 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/TumorType.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/TumorType.java @@ -33,7 +33,7 @@ * OncoTree Detailed Cancer Type */ @ApiModel(description = "OncoTree Detailed Cancer Type") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class TumorType { @SerializedName("children") private Map children = null; diff --git a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Version.java b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Version.java index 23a187f..7de56fb 100644 --- a/oncokbPublicApiClient/src/main/java/org/oncokb/client/Version.java +++ b/oncokbPublicApiClient/src/main/java/org/oncokb/client/Version.java @@ -27,7 +27,7 @@ /** * Version */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-06T11:50:02.938-05:00") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-02-19T16:53:14.717-05:00") public class Version { @SerializedName("date") private String date = null; diff --git a/oncokbPublicApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java b/oncokbPublicApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java index bae8709..18c271d 100644 --- a/oncokbPublicApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java +++ b/oncokbPublicApiClient/src/test/java/org/oncokb/client/AnnotationsApiTest.java @@ -46,12 +46,13 @@ public class AnnotationsApiTest { * if the Api call fails */ @Test - public void annotateCopyNumberAlterationsGetUsingGETTest() throws ApiException { + public void annotateCopyNumberAlterationsGetUsingGET1Test() throws ApiException { String copyNameAlterationType = null; String hugoSymbol = null; Integer entrezGeneId = null; String tumorType = null; - IndicatorQueryResp response = api.annotateCopyNumberAlterationsGetUsingGET(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateCopyNumberAlterationsGetUsingGET1(copyNameAlterationType, hugoSymbol, entrezGeneId, tumorType, evidenceType); // TODO: test validations } @@ -65,9 +66,9 @@ public void annotateCopyNumberAlterationsGetUsingGETTest() throws ApiException { * if the Api call fails */ @Test - public void annotateCopyNumberAlterationsPostUsingPOSTTest() throws ApiException { + public void annotateCopyNumberAlterationsPostUsingPOST1Test() throws ApiException { List body = null; - List response = api.annotateCopyNumberAlterationsPostUsingPOST(body); + List response = api.annotateCopyNumberAlterationsPostUsingPOST1(body); // TODO: test validations } @@ -81,10 +82,11 @@ public void annotateCopyNumberAlterationsPostUsingPOSTTest() throws ApiException * if the Api call fails */ @Test - public void annotateMutationsByGenomicChangeGetUsingGETTest() throws ApiException { + public void annotateMutationsByGenomicChangeGetUsingGET1Test() throws ApiException { String genomicLocation = null; String tumorType = null; - IndicatorQueryResp response = api.annotateMutationsByGenomicChangeGetUsingGET(genomicLocation, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateMutationsByGenomicChangeGetUsingGET1(genomicLocation, tumorType, evidenceType); // TODO: test validations } @@ -98,9 +100,9 @@ public void annotateMutationsByGenomicChangeGetUsingGETTest() throws ApiExceptio * if the Api call fails */ @Test - public void annotateMutationsByGenomicChangePostUsingPOSTTest() throws ApiException { + public void annotateMutationsByGenomicChangePostUsingPOST1Test() throws ApiException { List body = null; - List response = api.annotateMutationsByGenomicChangePostUsingPOST(body); + List response = api.annotateMutationsByGenomicChangePostUsingPOST1(body); // TODO: test validations } @@ -114,10 +116,11 @@ public void annotateMutationsByGenomicChangePostUsingPOSTTest() throws ApiExcept * if the Api call fails */ @Test - public void annotateMutationsByHGVSgGetUsingGETTest() throws ApiException { + public void annotateMutationsByHGVSgGetUsingGET1Test() throws ApiException { String hgvsg = null; String tumorType = null; - IndicatorQueryResp response = api.annotateMutationsByHGVSgGetUsingGET(hgvsg, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateMutationsByHGVSgGetUsingGET1(hgvsg, tumorType, evidenceType); // TODO: test validations } @@ -131,9 +134,9 @@ public void annotateMutationsByHGVSgGetUsingGETTest() throws ApiException { * if the Api call fails */ @Test - public void annotateMutationsByHGVSgPostUsingPOSTTest() throws ApiException { + public void annotateMutationsByHGVSgPostUsingPOST1Test() throws ApiException { List body = null; - List response = api.annotateMutationsByHGVSgPostUsingPOST(body); + List response = api.annotateMutationsByHGVSgPostUsingPOST1(body); // TODO: test validations } @@ -147,7 +150,7 @@ public void annotateMutationsByHGVSgPostUsingPOSTTest() throws ApiException { * if the Api call fails */ @Test - public void annotateMutationsByProteinChangeGetUsingGETTest() throws ApiException { + public void annotateMutationsByProteinChangeGetUsingGET1Test() throws ApiException { String hugoSymbol = null; Integer entrezGeneId = null; String alteration = null; @@ -155,7 +158,8 @@ public void annotateMutationsByProteinChangeGetUsingGETTest() throws ApiExceptio Integer proteinStart = null; Integer proteinEnd = null; String tumorType = null; - IndicatorQueryResp response = api.annotateMutationsByProteinChangeGetUsingGET(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateMutationsByProteinChangeGetUsingGET1(hugoSymbol, entrezGeneId, alteration, consequence, proteinStart, proteinEnd, tumorType, evidenceType); // TODO: test validations } @@ -169,9 +173,9 @@ public void annotateMutationsByProteinChangeGetUsingGETTest() throws ApiExceptio * if the Api call fails */ @Test - public void annotateMutationsByProteinChangePostUsingPOSTTest() throws ApiException { + public void annotateMutationsByProteinChangePostUsingPOST1Test() throws ApiException { List body = null; - List response = api.annotateMutationsByProteinChangePostUsingPOST(body); + List response = api.annotateMutationsByProteinChangePostUsingPOST1(body); // TODO: test validations } @@ -185,7 +189,7 @@ public void annotateMutationsByProteinChangePostUsingPOSTTest() throws ApiExcept * if the Api call fails */ @Test - public void annotateStructuralVariantsGetUsingGETTest() throws ApiException { + public void annotateStructuralVariantsGetUsingGET1Test() throws ApiException { String structuralVariantType = null; Boolean isFunctionalFusion = null; String hugoSymbolA = null; @@ -193,7 +197,8 @@ public void annotateStructuralVariantsGetUsingGETTest() throws ApiException { String hugoSymbolB = null; Integer entrezGeneIdB = null; String tumorType = null; - IndicatorQueryResp response = api.annotateStructuralVariantsGetUsingGET(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType); + String evidenceType = null; + IndicatorQueryResp response = api.annotateStructuralVariantsGetUsingGET1(structuralVariantType, isFunctionalFusion, hugoSymbolA, entrezGeneIdA, hugoSymbolB, entrezGeneIdB, tumorType, evidenceType); // TODO: test validations } @@ -207,9 +212,9 @@ public void annotateStructuralVariantsGetUsingGETTest() throws ApiException { * if the Api call fails */ @Test - public void annotateStructuralVariantsPostUsingPOSTTest() throws ApiException { + public void annotateStructuralVariantsPostUsingPOST1Test() throws ApiException { List body = null; - List response = api.annotateStructuralVariantsPostUsingPOST(body); + List response = api.annotateStructuralVariantsPostUsingPOST1(body); // TODO: test validations } diff --git a/oncokbPublicApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java b/oncokbPublicApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java index 326c149..3b78225 100644 --- a/oncokbPublicApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java +++ b/oncokbPublicApiClient/src/test/java/org/oncokb/client/CancerGenesApiTest.java @@ -41,9 +41,9 @@ public class CancerGenesApiTest { * if the Api call fails */ @Test - public void utilsCancerGeneListGetUsingGETTest() throws ApiException { + public void utilsCancerGeneListGetUsingGET1Test() throws ApiException { String version = null; - List response = api.utilsCancerGeneListGetUsingGET(version); + List response = api.utilsCancerGeneListGetUsingGET1(version); // TODO: test validations } @@ -57,9 +57,9 @@ public void utilsCancerGeneListGetUsingGETTest() throws ApiException { * if the Api call fails */ @Test - public void utilsCancerGeneListTxtGetUsingGETTest() throws ApiException { + public void utilsCancerGeneListTxtGetUsingGET1Test() throws ApiException { String version = null; - String response = api.utilsCancerGeneListTxtGetUsingGET(version); + String response = api.utilsCancerGeneListTxtGetUsingGET1(version); // TODO: test validations } diff --git a/oncokbPublicApiClient/src/test/java/org/oncokb/client/InfoApiTest.java b/oncokbPublicApiClient/src/test/java/org/oncokb/client/InfoApiTest.java index 7163497..57a1df5 100644 --- a/oncokbPublicApiClient/src/test/java/org/oncokb/client/InfoApiTest.java +++ b/oncokbPublicApiClient/src/test/java/org/oncokb/client/InfoApiTest.java @@ -41,8 +41,8 @@ public class InfoApiTest { * if the Api call fails */ @Test - public void infoGetUsingGETTest() throws ApiException { - OncoKBInfo response = api.infoGetUsingGET(); + public void infoGetUsingGET1Test() throws ApiException { + OncoKBInfo response = api.infoGetUsingGET1(); // TODO: test validations } diff --git a/oncokbPublicApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java b/oncokbPublicApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java index 8504a35..3cd20ef 100644 --- a/oncokbPublicApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java +++ b/oncokbPublicApiClient/src/test/java/org/oncokb/client/LevelsApiTest.java @@ -40,8 +40,8 @@ public class LevelsApiTest { * if the Api call fails */ @Test - public void levelsGetUsingGETTest() throws ApiException { - Object response = api.levelsGetUsingGET(); + public void levelsGetUsingGET1Test() throws ApiException { + Object response = api.levelsGetUsingGET1(); // TODO: test validations } @@ -55,8 +55,8 @@ public void levelsGetUsingGETTest() throws ApiException { * if the Api call fails */ @Test - public void levelsResistanceGetUsingGETTest() throws ApiException { - Object response = api.levelsResistanceGetUsingGET(); + public void levelsResistanceGetUsingGET1Test() throws ApiException { + Object response = api.levelsResistanceGetUsingGET1(); // TODO: test validations } @@ -70,8 +70,8 @@ public void levelsResistanceGetUsingGETTest() throws ApiException { * if the Api call fails */ @Test - public void levelsSensitiveGetUsingGETTest() throws ApiException { - Object response = api.levelsSensitiveGetUsingGET(); + public void levelsSensitiveGetUsingGET1Test() throws ApiException { + Object response = api.levelsSensitiveGetUsingGET1(); // TODO: test validations } diff --git a/pom.xml b/pom.xml index 1bf4dc8..a6e7aae 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ oncokbPublicApiClient - oncokbPremiumApiClient + oncokbPrivateApiClient diff --git a/scripts/oncokbJavaClientModules.sh b/scripts/oncokbJavaClientModules.sh index 8e53e4b..9f3fe7e 100644 --- a/scripts/oncokbJavaClientModules.sh +++ b/scripts/oncokbJavaClientModules.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ONCOKB_PUBLIC_DOCS=${1:-https://www.oncokb.org/api/v1/v2/api-docs?group=Public%20APIs} -ONCOKB_PREMIUM_DOCS=${1:-https://www.oncokb.org/api/v1/v2/api-docs?group=Public%20APIs%20for%20Premium%20Users} +ONCOKB_PRIVATE_DOCS=${1:-https://www.oncokb.org/api/v1/v2/api-docs?group=Private%20APIs} SWAGGER_CODEGEN_CLI_JAR="swagger-codegen-cli.jar" # switch to the script directory @@ -14,8 +14,8 @@ fi # remove the modules if available (otherwise some legacy methods in the test will not get removed) rm -rf ../oncokbPublicApiClient -rm -rf ../oncokbPremiumApiClient +rm -rf ../oncokbPrivateApiClient # generate java modules (see config json files for more details) java -jar ${SWAGGER_CODEGEN_CLI_JAR} generate -i ${ONCOKB_PUBLIC_DOCS} -l java -c oncokbPublicApiClientConfig.json -o ../oncokbPublicApiClient -java -jar ${SWAGGER_CODEGEN_CLI_JAR} generate -i ${ONCOKB_PREMIUM_DOCS} -l java -c oncokbPremiumApiClientConfig.json -o ../oncokbPremiumApiClient +java -jar ${SWAGGER_CODEGEN_CLI_JAR} generate -i ${ONCOKB_PRIVATE_DOCS} -l java -c oncokbPrivateApiClientConfig.json -o ../oncokbPrivateApiClient diff --git a/scripts/oncokbPremiumApiClientConfig.json b/scripts/oncokbPrivateApiClientConfig.json similarity index 63% rename from scripts/oncokbPremiumApiClientConfig.json rename to scripts/oncokbPrivateApiClientConfig.json index d7593bc..04d12d5 100644 --- a/scripts/oncokbPremiumApiClientConfig.json +++ b/scripts/oncokbPrivateApiClientConfig.json @@ -2,7 +2,7 @@ "apiPackage":"org.oncokb.client", "modelPackage":"org.oncokb.client", "groupId":"org.oncokb.client", - "artifactId":"oncokbPremiumApiClient", - "artifactName":"OncoKB Premium API Client", + "artifactId":"oncokbPrivateApiClient", + "artifactName":"OncoKB Private API Client", "artifactVersion":"1.1.1-SNAPSHOT" } \ No newline at end of file