com.factset.sdk.OpenFactSetPartnersDocuments.models.DiseasesFiles Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openfactsetpartnersdocuments Show documentation
Show all versions of openfactsetpartnersdocuments Show documentation
FactSet SDK for Java - openfactsetpartnersdocuments
/*
* Open:FactSet - Partners
* This service provides the capability to search and download unstructured content provided by Open:FactSet Partners.
*
* The version of the OpenAPI document: 2.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.factset.sdk.OpenFactSetPartnersDocuments.models;
import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.factset.sdk.OpenFactSetPartnersDocuments.JSON;
/**
* Returns Diseases Response
*/
@ApiModel(description = "Returns Diseases Response")
@JsonPropertyOrder({
DiseasesFiles.JSON_PROPERTY_FILE_NAME,
DiseasesFiles.JSON_PROPERTY_CLINICAL_TRIAL_ID,
DiseasesFiles.JSON_PROPERTY_DISEASE_AREA,
DiseasesFiles.JSON_PROPERTY_SUB_THERAPY_AREA,
DiseasesFiles.JSON_PROPERTY_THERAPY_AREA,
DiseasesFiles.JSON_PROPERTY_URL
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class DiseasesFiles implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_FILE_NAME = "fileName";
private String fileName;
public static final String JSON_PROPERTY_CLINICAL_TRIAL_ID = "clinicalTrialId";
private String clinicalTrialId;
public static final String JSON_PROPERTY_DISEASE_AREA = "diseaseArea";
private String diseaseArea;
public static final String JSON_PROPERTY_SUB_THERAPY_AREA = "subTherapyArea";
private String subTherapyArea;
public static final String JSON_PROPERTY_THERAPY_AREA = "therapyArea";
private String therapyArea;
public static final String JSON_PROPERTY_URL = "url";
private String url;
public DiseasesFiles() {
}
public DiseasesFiles fileName(String fileName) {
this.fileName = fileName;
return this;
}
/**
* The filename of the trial data.
* @return fileName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "NCT00695292_016.json", value = "The filename of the trial data.")
@JsonProperty(JSON_PROPERTY_FILE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFileName() {
return fileName;
}
@JsonProperty(JSON_PROPERTY_FILE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFileName(String fileName) {
this.fileName = fileName;
}
public DiseasesFiles clinicalTrialId(String clinicalTrialId) {
this.clinicalTrialId = clinicalTrialId;
return this;
}
/**
* Specifies Ozmosi unique ID for each historical version of a trial.
* @return clinicalTrialId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "NCT00695292_016", value = "Specifies Ozmosi unique ID for each historical version of a trial.")
@JsonProperty(JSON_PROPERTY_CLINICAL_TRIAL_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClinicalTrialId() {
return clinicalTrialId;
}
@JsonProperty(JSON_PROPERTY_CLINICAL_TRIAL_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClinicalTrialId(String clinicalTrialId) {
this.clinicalTrialId = clinicalTrialId;
}
public DiseasesFiles diseaseArea(String diseaseArea) {
this.diseaseArea = diseaseArea;
return this;
}
/**
* Defines the cleaned disease name.
* @return diseaseArea
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Small Cell Lung Cancer", value = "Defines the cleaned disease name.")
@JsonProperty(JSON_PROPERTY_DISEASE_AREA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDiseaseArea() {
return diseaseArea;
}
@JsonProperty(JSON_PROPERTY_DISEASE_AREA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDiseaseArea(String diseaseArea) {
this.diseaseArea = diseaseArea;
}
public DiseasesFiles subTherapyArea(String subTherapyArea) {
this.subTherapyArea = subTherapyArea;
return this;
}
/**
* The parent Sub Therapy Area of the diseases.
* @return subTherapyArea
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Oncology Solid Tumor", value = "The parent Sub Therapy Area of the diseases.")
@JsonProperty(JSON_PROPERTY_SUB_THERAPY_AREA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSubTherapyArea() {
return subTherapyArea;
}
@JsonProperty(JSON_PROPERTY_SUB_THERAPY_AREA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSubTherapyArea(String subTherapyArea) {
this.subTherapyArea = subTherapyArea;
}
public DiseasesFiles therapyArea(String therapyArea) {
this.therapyArea = therapyArea;
return this;
}
/**
* The parent Therapy Area of the diseases.
* @return therapyArea
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Oncology", value = "The parent Therapy Area of the diseases.")
@JsonProperty(JSON_PROPERTY_THERAPY_AREA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTherapyArea() {
return therapyArea;
}
@JsonProperty(JSON_PROPERTY_THERAPY_AREA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTherapyArea(String therapyArea) {
this.therapyArea = therapyArea;
}
public DiseasesFiles url(String url) {
this.url = url;
return this;
}
/**
* Download link for the clinical trials provided by the Ozmosi feed.
* @return url
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://fdss3-unstructured-data-delivery-ozmosi-prod.s3.amazonaws.com/ozmosi_v2/NCT00695292_016.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6B6XG7VEYODKETS6%2F20221017%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221017T133245Z&X-Amz-Expires=1800&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjED0aCXVzLWVhc3QtMSJIMEYCIQDzGmRWCkwvfl8WKsZ3rektfXyQa551ht8wkggj29qufwIhALaFsXrpyISV%2B6A3hASCdStEUtlzUEaBL9Bs0%2BSP3wUaKu4CCBYQARoMOTY2MjgyMTE2NDI1IgxkKPBJ4cINLlvTEkIqywKmD%2BMhpGDpCzI8LfS13Rvs%2FnCQ5S5khGdpMUk8j0kQ4%2F6xoX7SYyXjkn8VFk2OSJkfPpu6XBADJ3H6BmuJvAM5ovraQqQXjx8iuB7LPgYAHoIJNvZDivb8HV%2BmBSwbEoOyCIslX%2FFrlYNU6KmfpvKUZqJRPmpSVdb%2F2%2BwG6rw3WHO6qBxWjwPga2b9U7DvU0LCke0myB8cRhdimWuONNendFNuwm9KnvhrUbszsLT4dIxufiYQarCqQvx0FuMG21%2FPTKWXbpvHbSSG663qqBi2xYmIP%2BmvQ9JvZMkWN%2FOtVhkDqT8YcyaaLshDVv0xDvzdsP6h4YYjDohaABooNIuP1OVJ9fzzUe4F4ZlP5eZDAKKCPOU%2FfG9UitWHxm3feQDe460sVVbiGow7is85fhQsoeHQEfqqLifPXwxo2s72bwaxd2ZJOTYh7ra7MJeTtZoGOp0BJqQMDoOIol1WSTKBI02ne6rUGKfvR6ksj%2BjEQR9OURvMj843tnJketh6IUBNG%2Be0q7Y0YcV2AAKj1Q7nloa%2B6LoRFOyvKwy4SAfNh%2F1KGM8%2F%2FitZfxzOAwI%2BtlEPKuHWL3OWAyusy6VSXaw4PYtJrS9lual9O%2Brz3kK2au4JZnkeZH3KJsIefE4tJ2GcL%2FT3IOt7htI%2BGRZZDGNCHQ%3D%3D&X-Amz-Signature=ae7e50f5ea7017e217d940e9cc719ebb33c6ee086153094638de498cacf64001", value = "Download link for the clinical trials provided by the Ozmosi feed.")
@JsonProperty(JSON_PROPERTY_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUrl() {
return url;
}
@JsonProperty(JSON_PROPERTY_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUrl(String url) {
this.url = url;
}
/**
* Return true if this DiseasesFiles object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DiseasesFiles diseasesFiles = (DiseasesFiles) o;
return Objects.equals(this.fileName, diseasesFiles.fileName) &&
Objects.equals(this.clinicalTrialId, diseasesFiles.clinicalTrialId) &&
Objects.equals(this.diseaseArea, diseasesFiles.diseaseArea) &&
Objects.equals(this.subTherapyArea, diseasesFiles.subTherapyArea) &&
Objects.equals(this.therapyArea, diseasesFiles.therapyArea) &&
Objects.equals(this.url, diseasesFiles.url);
}
@Override
public int hashCode() {
return Objects.hash(fileName, clinicalTrialId, diseaseArea, subTherapyArea, therapyArea, url);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DiseasesFiles {\n");
sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n");
sb.append(" clinicalTrialId: ").append(toIndentedString(clinicalTrialId)).append("\n");
sb.append(" diseaseArea: ").append(toIndentedString(diseaseArea)).append("\n");
sb.append(" subTherapyArea: ").append(toIndentedString(subTherapyArea)).append("\n");
sb.append(" therapyArea: ").append(toIndentedString(therapyArea)).append("\n");
sb.append(" url: ").append(toIndentedString(url)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}