All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.factset.sdk.OpenFactSetPartnersDocuments.models.PrimaryOutcomeFiles Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
/*
 * 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;


/**
 * Reurns PrimaryOutcomee Response
 */
@ApiModel(description = "Reurns PrimaryOutcomee Response")
@JsonPropertyOrder({
  PrimaryOutcomeFiles.JSON_PROPERTY_FILE_NAME,
  PrimaryOutcomeFiles.JSON_PROPERTY_CLINICAL_TRIAL_ID,
  PrimaryOutcomeFiles.JSON_PROPERTY_PRIMARY_OUTCOME_MEASURE,
  PrimaryOutcomeFiles.JSON_PROPERTY_PRIMARY_OUTCOME_DESC,
  PrimaryOutcomeFiles.JSON_PROPERTY_PRIMARY_OUTCOME_TIME_FRAME,
  PrimaryOutcomeFiles.JSON_PROPERTY_URL
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class PrimaryOutcomeFiles 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_PRIMARY_OUTCOME_MEASURE = "primaryOutcomeMeasure";
  private String primaryOutcomeMeasure;

  public static final String JSON_PROPERTY_PRIMARY_OUTCOME_DESC = "primaryOutcomeDesc";
  private String primaryOutcomeDesc;

  public static final String JSON_PROPERTY_PRIMARY_OUTCOME_TIME_FRAME = "primaryOutcomeTimeFrame";
  private String primaryOutcomeTimeFrame;

  public static final String JSON_PROPERTY_URL = "url";
  private String url;

  public PrimaryOutcomeFiles() { 
  }

  public PrimaryOutcomeFiles fileName(String fileName) {
    this.fileName = fileName;
    return this;
  }

   /**
   * The filename of the trial data
   * @return fileName
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "NCT03001219_013.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 PrimaryOutcomeFiles 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 = "NCT03001219_013", 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 PrimaryOutcomeFiles primaryOutcomeMeasure(String primaryOutcomeMeasure) {
    this.primaryOutcomeMeasure = primaryOutcomeMeasure;
    return this;
  }

   /**
   * It specifies the description of each primary outcome measure (or for observational studies, specific key measurement[s] or observation[s] used to describe patterns of diseases or traits or associations with exposures, risk factors or treatment)
   * @return primaryOutcomeMeasure
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "Percentage of Participants Achieving an American College of Rheumatology (ACR) 50 Response at Week 12", value = "It specifies the description of each primary outcome measure (or for observational studies, specific key measurement[s] or observation[s] used to describe patterns of diseases or traits or associations with exposures, risk factors or treatment)")
  @JsonProperty(JSON_PROPERTY_PRIMARY_OUTCOME_MEASURE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getPrimaryOutcomeMeasure() {
    return primaryOutcomeMeasure;
  }


  @JsonProperty(JSON_PROPERTY_PRIMARY_OUTCOME_MEASURE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setPrimaryOutcomeMeasure(String primaryOutcomeMeasure) {
    this.primaryOutcomeMeasure = primaryOutcomeMeasure;
  }


  public PrimaryOutcomeFiles primaryOutcomeDesc(String primaryOutcomeDesc) {
    this.primaryOutcomeDesc = primaryOutcomeDesc;
    return this;
  }

   /**
   * It describes the metric used to characterize the specific primary outcome measure, if not included in the primary outcome measure title
   * @return primaryOutcomeDesc
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "Week 12", value = "It describes the metric used to characterize the specific primary outcome measure, if not included in the primary outcome measure title")
  @JsonProperty(JSON_PROPERTY_PRIMARY_OUTCOME_DESC)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getPrimaryOutcomeDesc() {
    return primaryOutcomeDesc;
  }


  @JsonProperty(JSON_PROPERTY_PRIMARY_OUTCOME_DESC)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setPrimaryOutcomeDesc(String primaryOutcomeDesc) {
    this.primaryOutcomeDesc = primaryOutcomeDesc;
  }


  public PrimaryOutcomeFiles primaryOutcomeTimeFrame(String primaryOutcomeTimeFrame) {
    this.primaryOutcomeTimeFrame = primaryOutcomeTimeFrame;
    return this;
  }

   /**
   * Time point(s) at which the measurement is assessed for the specific metric used
   * @return primaryOutcomeTimeFrame
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "Up to 6 months", value = "Time point(s) at which the measurement is assessed for the specific metric used")
  @JsonProperty(JSON_PROPERTY_PRIMARY_OUTCOME_TIME_FRAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getPrimaryOutcomeTimeFrame() {
    return primaryOutcomeTimeFrame;
  }


  @JsonProperty(JSON_PROPERTY_PRIMARY_OUTCOME_TIME_FRAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setPrimaryOutcomeTimeFrame(String primaryOutcomeTimeFrame) {
    this.primaryOutcomeTimeFrame = primaryOutcomeTimeFrame;
  }


  public PrimaryOutcomeFiles 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/NCT03000257_005.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6B6XG7VEYODKETS6%2F20221017%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221017T131857Z&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=ede7eb8c7601b6207ec6f85a0f9cb0ae16628d40e495d78f119991f04309d169", 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 PrimaryOutcomeFiles object is equal to o.
   */
  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    PrimaryOutcomeFiles primaryOutcomeFiles = (PrimaryOutcomeFiles) o;
    return Objects.equals(this.fileName, primaryOutcomeFiles.fileName) &&
        Objects.equals(this.clinicalTrialId, primaryOutcomeFiles.clinicalTrialId) &&
        Objects.equals(this.primaryOutcomeMeasure, primaryOutcomeFiles.primaryOutcomeMeasure) &&
        Objects.equals(this.primaryOutcomeDesc, primaryOutcomeFiles.primaryOutcomeDesc) &&
        Objects.equals(this.primaryOutcomeTimeFrame, primaryOutcomeFiles.primaryOutcomeTimeFrame) &&
        Objects.equals(this.url, primaryOutcomeFiles.url);
  }

  @Override
  public int hashCode() {
    return Objects.hash(fileName, clinicalTrialId, primaryOutcomeMeasure, primaryOutcomeDesc, primaryOutcomeTimeFrame, url);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class PrimaryOutcomeFiles {\n");
    sb.append("    fileName: ").append(toIndentedString(fileName)).append("\n");
    sb.append("    clinicalTrialId: ").append(toIndentedString(clinicalTrialId)).append("\n");
    sb.append("    primaryOutcomeMeasure: ").append(toIndentedString(primaryOutcomeMeasure)).append("\n");
    sb.append("    primaryOutcomeDesc: ").append(toIndentedString(primaryOutcomeDesc)).append("\n");
    sb.append("    primaryOutcomeTimeFrame: ").append(toIndentedString(primaryOutcomeTimeFrame)).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    ");
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy