pharmaobservatory 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +118 -7
- data/docs/ApiV1WhoamiGet200Response.md +13 -1
- data/docs/ApiV1WhoamiGet200ResponseLimits.md +32 -0
- data/docs/ApiV1WhoamiGet200ResponseQuota.md +20 -0
- data/docs/ApiV1WhoamiGet200ResponseQuotaBuckets.md +28 -0
- data/docs/ApiV1WhoamiGet200ResponseQuotaBucketsRequestsPerMinute.md +28 -0
- data/docs/BiomarkerAssayEvidenceResponse.md +58 -0
- data/docs/{BiomarkerCdxAssertionsResponseBuild.md → BiomarkerAssayEvidenceResponseBuild.md} +2 -2
- data/docs/{BiomarkerCdxAssertionsResponseFreshness.md → BiomarkerAssayEvidenceResponseFreshness.md} +2 -2
- data/docs/{BiomarkerCdxAssertionsResponseScope.md → BiomarkerAssayEvidenceResponseScope.md} +2 -2
- data/docs/BiomarkerAssayEvidenceRow.md +68 -0
- data/docs/BiomarkerAssayWhitespaceResponse.md +58 -0
- data/docs/BiomarkerAssayWhitespaceRow.md +66 -0
- data/docs/BiomarkerBqpAssertionsResponse.md +3 -3
- data/docs/BiomarkerCdxAssertionsResponse.md +3 -3
- data/docs/BiomarkerEvidenceResponse.md +3 -3
- data/docs/BiomarkerLiteratureResponse.md +3 -3
- data/docs/BiomarkerPublishingCompaniesResponse.md +3 -3
- data/docs/BiomarkerPublishingCompaniesRow.md +9 -1
- data/docs/BiomarkerRelationsResponse.md +3 -3
- data/docs/BiomarkerSampleCoverageResponse.md +3 -3
- data/docs/BiomarkerSamplePrevalenceResponse.md +3 -3
- data/docs/BiomarkerValidationResponse.md +3 -3
- data/docs/BiomarkerVariantMentionsResponse.md +3 -3
- data/docs/BiomarkersApi.md +160 -0
- data/docs/BiomarkersRecord.md +2 -2
- data/docs/BiomarkersResponse.md +3 -3
- data/docs/BiomarkersRow.md +2 -0
- data/docs/CellLinesRecord.md +2 -2
- data/docs/CellLinesResponse.md +3 -3
- data/docs/CompaniesApi.md +246 -0
- data/docs/CompaniesRecord.md +2 -2
- data/docs/CompaniesResponse.md +3 -3
- data/docs/CompaniesRow.md +1 -1
- data/docs/CompanyAssetsResponse.md +3 -3
- data/docs/CompanyFundingEventsResponse.md +3 -3
- data/docs/CompanyFundingEventsRow.md +1 -1
- data/docs/CompanyFundingSummaryResponse.md +3 -3
- data/docs/CompanyMembersResponse.md +3 -3
- data/docs/CompanyProgramsResponse.md +3 -3
- data/docs/CompanyTargetsResponse.md +3 -3
- data/docs/CompanyTargetsRow.md +5 -1
- data/docs/ConditionAdverseEventsResponse.md +3 -3
- data/docs/ConditionBurdenResponse.md +3 -3
- data/docs/ConditionDeliveryResponse.md +3 -3
- data/docs/ConditionDrugsResponse.md +3 -3
- data/docs/ConditionPrevalenceResponse.md +3 -3
- data/docs/ConditionPrevalenceRow.md +1 -1
- data/docs/ConditionPublicationsResponse.md +3 -3
- data/docs/ConditionRecruitmentByPhaseResponse.md +58 -0
- data/docs/ConditionRecruitmentByPhaseRow.md +50 -0
- data/docs/ConditionRecruitmentDurationResponse.md +58 -0
- data/docs/ConditionRecruitmentDurationRow.md +86 -0
- data/docs/ConditionSitesResponse.md +3 -3
- data/docs/ConditionTrialStartForecastResponse.md +58 -0
- data/docs/ConditionTrialStartForecastRow.md +70 -0
- data/docs/ConditionTrialsResponse.md +3 -3
- data/docs/ConditionTrialsRow.md +4 -2
- data/docs/ConditionsApi.md +240 -0
- data/docs/ConditionsRecord.md +2 -2
- data/docs/ConditionsRecordAttributes.md +3 -1
- data/docs/ConditionsResponse.md +3 -3
- data/docs/DrugPatentCliffResponse.md +3 -3
- data/docs/InstitutionalHoldingsResponse.md +3 -3
- data/docs/InstitutionalHoldingsRow.md +7 -1
- data/docs/InvestorFundsResponse.md +58 -0
- data/docs/InvestorFundsRow.md +24 -0
- data/docs/InvestorPortfolioResponse.md +58 -0
- data/docs/InvestorPortfolioRow.md +42 -0
- data/docs/InvestorPrivateFundsResponse.md +58 -0
- data/docs/InvestorPrivateFundsRow.md +44 -0
- data/docs/InvestorsApi.md +633 -0
- data/docs/InvestorsRecord.md +38 -0
- data/docs/InvestorsResponse.md +58 -0
- data/docs/InvestorsRow.md +54 -0
- data/docs/LegalEntitiesApi.md +240 -0
- data/docs/LegalEntitiesRecord.md +2 -2
- data/docs/LegalEntitiesResponse.md +3 -3
- data/docs/LegalEntitiesRow.md +1 -1
- data/docs/ManagersApi.md +233 -0
- data/docs/ManagersRecord.md +38 -0
- data/docs/ManagersResponse.md +58 -0
- data/docs/ManagersRow.md +46 -0
- data/docs/OrgDisclosuresResponse.md +58 -0
- data/docs/OrgDisclosuresRow.md +56 -0
- data/docs/OrgRelationshipsResponse.md +58 -0
- data/docs/OrgRelationshipsRow.md +68 -0
- data/docs/OwnershipPositionsResponse.md +3 -3
- data/docs/OwnershipPositionsRow.md +16 -14
- data/docs/PdufaDatesResponse.md +3 -3
- data/docs/SiteBedsYearlyResponse.md +3 -3
- data/docs/SiteCroTrialsResponse.md +3 -3
- data/docs/SiteHospitalsResponse.md +3 -3
- data/docs/SiteInvestigatorsResponse.md +3 -3
- data/docs/SiteTrialConditionsResponse.md +3 -3
- data/docs/SiteTrialDrugsResponse.md +3 -3
- data/docs/SiteTrialsResponse.md +3 -3
- data/docs/SiteTrialsRow.md +3 -1
- data/docs/SitesRecord.md +2 -2
- data/docs/SitesResponse.md +3 -3
- data/docs/SponsorRecruitmentByPhaseResponse.md +3 -3
- data/docs/SponsorRecruitmentDurationResponse.md +3 -3
- data/docs/SponsorTrialStartForecastResponse.md +3 -3
- data/docs/SponsorTrialsResponse.md +3 -3
- data/docs/SponsorTrialsRow.md +4 -2
- data/docs/SupplierCapabilityEsgResponse.md +58 -0
- data/docs/SupplierCapabilityEsgRow.md +64 -0
- data/docs/SupplierServicesResponse.md +58 -0
- data/docs/SupplierServicesRow.md +30 -0
- data/docs/SupplierSitesResponse.md +58 -0
- data/docs/SupplierSitesRow.md +42 -0
- data/docs/SuppliersApi.md +313 -0
- data/docs/SuppliersRecord.md +38 -0
- data/docs/SuppliersResponse.md +58 -0
- data/docs/SuppliersRow.md +76 -0
- data/docs/TargetAssociationsResponse.md +58 -0
- data/docs/TargetAssociationsRow.md +26 -0
- data/docs/TargetCrowdingResponse.md +58 -0
- data/docs/TargetCrowdingRow.md +30 -0
- data/docs/TargetDrugsResponse.md +58 -0
- data/docs/TargetDrugsRow.md +38 -0
- data/docs/TargetEvidenceResponse.md +58 -0
- data/docs/TargetEvidenceRow.md +52 -0
- data/docs/TargetPatentMentionsResponse.md +58 -0
- data/docs/TargetPatentMentionsRow.md +34 -0
- data/docs/TargetProgramsResponse.md +58 -0
- data/docs/TargetProgramsRow.md +58 -0
- data/docs/TargetPublicationsResponse.md +58 -0
- data/docs/TargetPublicationsRow.md +32 -0
- data/docs/TargetRegulatoryPrecedentResponse.md +58 -0
- data/docs/TargetRegulatoryPrecedentRow.md +38 -0
- data/docs/TargetTrialsResponse.md +58 -0
- data/docs/TargetTrialsRow.md +46 -0
- data/docs/TargetsApi.md +1033 -0
- data/docs/TargetsRecord.md +38 -0
- data/docs/TargetsResponse.md +58 -0
- data/docs/TargetsRow.md +68 -0
- data/docs/TrialAdverseEventsResponse.md +3 -3
- data/docs/TrialChangesResponse.md +3 -3
- data/docs/TrialDeliveryResponse.md +3 -3
- data/docs/TrialDeliveryRow.md +7 -5
- data/docs/TrialDemographicsResponse.md +3 -3
- data/docs/TrialDrugClassesResponse.md +58 -0
- data/docs/TrialDrugClassesRow.md +28 -0
- data/docs/TrialDrugsResponse.md +3 -3
- data/docs/TrialEnrollmentHistoryResponse.md +3 -3
- data/docs/TrialEnrollmentRateResponse.md +3 -3
- data/docs/TrialEnrollmentRateRow.md +5 -3
- data/docs/TrialExtractedEndpointsResponse.md +3 -3
- data/docs/TrialKolsResponse.md +58 -0
- data/docs/TrialKolsRow.md +32 -0
- data/docs/TrialOutcomeMeasuresResponse.md +3 -3
- data/docs/TrialResearchPaymentsResponse.md +58 -0
- data/docs/TrialResearchPaymentsRow.md +44 -0
- data/docs/TrialSiteHistoryResponse.md +58 -0
- data/docs/TrialSiteHistoryRow.md +50 -0
- data/docs/TrialSitesResponse.md +3 -3
- data/docs/TrialsApi.md +320 -0
- data/docs/TrialsRecord.md +2 -2
- data/docs/TrialsResponse.md +3 -3
- data/docs/TrialsRow.md +3 -3
- data/lib/pharmaobservatory/api/biomarkers_api.rb +168 -0
- data/lib/pharmaobservatory/api/companies_api.rb +273 -0
- data/lib/pharmaobservatory/api/conditions_api.rb +252 -0
- data/lib/pharmaobservatory/api/investors_api.rb +665 -0
- data/lib/pharmaobservatory/api/legal_entities_api.rb +252 -0
- data/lib/pharmaobservatory/api/managers_api.rb +245 -0
- data/lib/pharmaobservatory/api/suppliers_api.rb +329 -0
- data/lib/pharmaobservatory/api/targets_api.rb +1085 -0
- data/lib/pharmaobservatory/api/trials_api.rb +336 -0
- data/lib/pharmaobservatory/models/api_v1_whoami_get200_response.rb +62 -4
- data/lib/pharmaobservatory/models/api_v1_whoami_get200_response_limits.rb +419 -0
- data/lib/pharmaobservatory/models/api_v1_whoami_get200_response_quota.rb +263 -0
- data/lib/pharmaobservatory/models/api_v1_whoami_get200_response_quota_buckets.rb +367 -0
- data/lib/pharmaobservatory/models/api_v1_whoami_get200_response_quota_buckets_requests_per_minute.rb +367 -0
- data/lib/pharmaobservatory/models/biomarker_assay_evidence_response.rb +478 -0
- data/lib/pharmaobservatory/models/{biomarker_cdx_assertions_response_build.rb → biomarker_assay_evidence_response_build.rb} +3 -3
- data/lib/pharmaobservatory/models/{biomarker_cdx_assertions_response_freshness.rb → biomarker_assay_evidence_response_freshness.rb} +3 -3
- data/lib/pharmaobservatory/models/{biomarker_cdx_assertions_response_scope.rb → biomarker_assay_evidence_response_scope.rb} +3 -3
- data/lib/pharmaobservatory/models/biomarker_assay_evidence_row.rb +506 -0
- data/lib/pharmaobservatory/models/biomarker_assay_whitespace_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_assay_whitespace_row.rb +499 -0
- data/lib/pharmaobservatory/models/biomarker_bqp_assertions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_cdx_assertions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_evidence_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_literature_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_publishing_companies_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_publishing_companies_row.rb +49 -5
- data/lib/pharmaobservatory/models/biomarker_relations_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_sample_coverage_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_sample_prevalence_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_validation_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_variant_mentions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarkers_record.rb +2 -2
- data/lib/pharmaobservatory/models/biomarkers_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarkers_row.rb +12 -1
- data/lib/pharmaobservatory/models/cell_lines_record.rb +2 -2
- data/lib/pharmaobservatory/models/cell_lines_response.rb +3 -3
- data/lib/pharmaobservatory/models/companies_record.rb +2 -2
- data/lib/pharmaobservatory/models/companies_response.rb +3 -3
- data/lib/pharmaobservatory/models/companies_row.rb +1 -1
- data/lib/pharmaobservatory/models/company_assets_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_funding_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_funding_events_row.rb +1 -1
- data/lib/pharmaobservatory/models/company_funding_summary_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_members_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_programs_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_targets_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_targets_row.rb +27 -5
- data/lib/pharmaobservatory/models/condition_adverse_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_burden_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_delivery_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_prevalence_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_prevalence_row.rb +1 -1
- data/lib/pharmaobservatory/models/condition_publications_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_recruitment_by_phase_response.rb +478 -0
- data/lib/pharmaobservatory/models/condition_recruitment_by_phase_row.rb +399 -0
- data/lib/pharmaobservatory/models/condition_recruitment_duration_response.rb +478 -0
- data/lib/pharmaobservatory/models/condition_recruitment_duration_row.rb +597 -0
- data/lib/pharmaobservatory/models/condition_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_trial_start_forecast_response.rb +478 -0
- data/lib/pharmaobservatory/models/condition_trial_start_forecast_row.rb +509 -0
- data/lib/pharmaobservatory/models/condition_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_trials_row.rb +14 -3
- data/lib/pharmaobservatory/models/conditions_record.rb +2 -2
- data/lib/pharmaobservatory/models/conditions_record_attributes.rb +13 -4
- data/lib/pharmaobservatory/models/conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_patent_cliff_response.rb +3 -3
- data/lib/pharmaobservatory/models/institutional_holdings_response.rb +3 -3
- data/lib/pharmaobservatory/models/institutional_holdings_row.rb +35 -2
- data/lib/pharmaobservatory/models/investor_funds_response.rb +478 -0
- data/lib/pharmaobservatory/models/investor_funds_row.rb +256 -0
- data/lib/pharmaobservatory/models/investor_portfolio_response.rb +478 -0
- data/lib/pharmaobservatory/models/investor_portfolio_row.rb +357 -0
- data/lib/pharmaobservatory/models/investor_private_funds_response.rb +478 -0
- data/lib/pharmaobservatory/models/investor_private_funds_row.rb +366 -0
- data/lib/pharmaobservatory/models/investors_record.rb +385 -0
- data/lib/pharmaobservatory/models/investors_response.rb +478 -0
- data/lib/pharmaobservatory/models/investors_row.rb +421 -0
- data/lib/pharmaobservatory/models/legal_entities_record.rb +2 -2
- data/lib/pharmaobservatory/models/legal_entities_response.rb +3 -3
- data/lib/pharmaobservatory/models/legal_entities_row.rb +1 -1
- data/lib/pharmaobservatory/models/managers_record.rb +385 -0
- data/lib/pharmaobservatory/models/managers_response.rb +478 -0
- data/lib/pharmaobservatory/models/managers_row.rb +377 -0
- data/lib/pharmaobservatory/models/org_disclosures_response.rb +478 -0
- data/lib/pharmaobservatory/models/org_disclosures_row.rb +432 -0
- data/lib/pharmaobservatory/models/org_relationships_response.rb +478 -0
- data/lib/pharmaobservatory/models/org_relationships_row.rb +498 -0
- data/lib/pharmaobservatory/models/ownership_positions_response.rb +3 -3
- data/lib/pharmaobservatory/models/ownership_positions_row.rb +26 -15
- data/lib/pharmaobservatory/models/pdufa_dates_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_beds_yearly_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_cro_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_hospitals_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_investigators_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trial_conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trial_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trials_row.rb +13 -2
- data/lib/pharmaobservatory/models/sites_record.rb +2 -2
- data/lib/pharmaobservatory/models/sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_recruitment_by_phase_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_recruitment_duration_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trial_start_forecast_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trials_row.rb +14 -3
- data/lib/pharmaobservatory/models/supplier_capability_esg_response.rb +478 -0
- data/lib/pharmaobservatory/models/supplier_capability_esg_row.rb +480 -0
- data/lib/pharmaobservatory/models/supplier_services_response.rb +478 -0
- data/lib/pharmaobservatory/models/supplier_services_row.rb +289 -0
- data/lib/pharmaobservatory/models/supplier_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/supplier_sites_row.rb +357 -0
- data/lib/pharmaobservatory/models/suppliers_record.rb +385 -0
- data/lib/pharmaobservatory/models/suppliers_response.rb +478 -0
- data/lib/pharmaobservatory/models/suppliers_row.rb +544 -0
- data/lib/pharmaobservatory/models/target_associations_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_associations_row.rb +267 -0
- data/lib/pharmaobservatory/models/target_crowding_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_crowding_row.rb +289 -0
- data/lib/pharmaobservatory/models/target_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_drugs_row.rb +335 -0
- data/lib/pharmaobservatory/models/target_evidence_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_evidence_row.rb +410 -0
- data/lib/pharmaobservatory/models/target_patent_mentions_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_patent_mentions_row.rb +311 -0
- data/lib/pharmaobservatory/models/target_programs_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_programs_row.rb +447 -0
- data/lib/pharmaobservatory/models/target_publications_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_publications_row.rb +300 -0
- data/lib/pharmaobservatory/models/target_regulatory_precedent_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_regulatory_precedent_row.rb +333 -0
- data/lib/pharmaobservatory/models/target_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_trials_row.rb +377 -0
- data/lib/pharmaobservatory/models/targets_record.rb +385 -0
- data/lib/pharmaobservatory/models/targets_response.rb +478 -0
- data/lib/pharmaobservatory/models/targets_row.rb +498 -0
- data/lib/pharmaobservatory/models/trial_adverse_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_changes_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_delivery_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_delivery_row.rb +22 -11
- data/lib/pharmaobservatory/models/trial_demographics_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_drug_classes_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_drug_classes_row.rb +278 -0
- data/lib/pharmaobservatory/models/trial_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_enrollment_history_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_enrollment_rate_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_enrollment_rate_row.rb +15 -4
- data/lib/pharmaobservatory/models/trial_extracted_endpoints_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_kols_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_kols_row.rb +302 -0
- data/lib/pharmaobservatory/models/trial_outcome_measures_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_research_payments_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_research_payments_row.rb +366 -0
- data/lib/pharmaobservatory/models/trial_site_history_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_site_history_row.rb +401 -0
- data/lib/pharmaobservatory/models/trial_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/trials_record.rb +2 -2
- data/lib/pharmaobservatory/models/trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/trials_row.rb +3 -3
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +75 -3
- metadata +152 -8
|
@@ -0,0 +1,1085 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pharma Observatory Public REST API
|
|
3
|
+
|
|
4
|
+
#Read-only REST API over the Pharma Observatory biomedical data platform. Reference: https://pharmaobservatory.com/api-reference
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module PharmaObservatory
|
|
16
|
+
class TargetsApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Biomarker evidence
|
|
23
|
+
# @param id [String]
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
26
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
27
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
28
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
29
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
30
|
+
# @return [BiomarkerEvidenceResponse]
|
|
31
|
+
def targets_biomarker_evidence(id, opts = {})
|
|
32
|
+
data, _status_code, _headers = targets_biomarker_evidence_with_http_info(id, opts)
|
|
33
|
+
data
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Biomarker evidence
|
|
37
|
+
# @param id [String]
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
40
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
41
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
42
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
43
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
44
|
+
# @return [Array<(BiomarkerEvidenceResponse, Integer, Hash)>] BiomarkerEvidenceResponse data, response status code and response headers
|
|
45
|
+
def targets_biomarker_evidence_with_http_info(id, opts = {})
|
|
46
|
+
if @api_client.config.debugging
|
|
47
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_biomarker_evidence ...'
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'id' is set
|
|
50
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
51
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_biomarker_evidence"
|
|
52
|
+
end
|
|
53
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
54
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_biomarker_evidence, must be smaller than or equal to 500.'
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
58
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_biomarker_evidence, must be greater than or equal to 1.'
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# resource path
|
|
62
|
+
local_var_path = '/api/v1/targets/{id}/biomarker_evidence'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
63
|
+
|
|
64
|
+
# query parameters
|
|
65
|
+
query_params = opts[:query_params] || {}
|
|
66
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
67
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
68
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
69
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
70
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
71
|
+
|
|
72
|
+
# header parameters
|
|
73
|
+
header_params = opts[:header_params] || {}
|
|
74
|
+
# HTTP header 'Accept' (if needed)
|
|
75
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
76
|
+
|
|
77
|
+
# form parameters
|
|
78
|
+
form_params = opts[:form_params] || {}
|
|
79
|
+
|
|
80
|
+
# http body (model)
|
|
81
|
+
post_body = opts[:debug_body]
|
|
82
|
+
|
|
83
|
+
# return_type
|
|
84
|
+
return_type = opts[:debug_return_type] || 'BiomarkerEvidenceResponse'
|
|
85
|
+
|
|
86
|
+
# auth_names
|
|
87
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
88
|
+
|
|
89
|
+
new_options = opts.merge(
|
|
90
|
+
:operation => :"TargetsApi.targets_biomarker_evidence",
|
|
91
|
+
:header_params => header_params,
|
|
92
|
+
:query_params => query_params,
|
|
93
|
+
:form_params => form_params,
|
|
94
|
+
:body => post_body,
|
|
95
|
+
:auth_names => auth_names,
|
|
96
|
+
:return_type => return_type
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
100
|
+
if @api_client.config.debugging
|
|
101
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_biomarker_evidence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
102
|
+
end
|
|
103
|
+
return data, status_code, headers
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Targets a company pursues
|
|
107
|
+
# @param id [String]
|
|
108
|
+
# @param [Hash] opts the optional parameters
|
|
109
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
110
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
111
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
112
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
113
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
114
|
+
# @return [CompanyTargetsResponse]
|
|
115
|
+
def targets_company_targets(id, opts = {})
|
|
116
|
+
data, _status_code, _headers = targets_company_targets_with_http_info(id, opts)
|
|
117
|
+
data
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Targets a company pursues
|
|
121
|
+
# @param id [String]
|
|
122
|
+
# @param [Hash] opts the optional parameters
|
|
123
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
124
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
125
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
126
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
127
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
128
|
+
# @return [Array<(CompanyTargetsResponse, Integer, Hash)>] CompanyTargetsResponse data, response status code and response headers
|
|
129
|
+
def targets_company_targets_with_http_info(id, opts = {})
|
|
130
|
+
if @api_client.config.debugging
|
|
131
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_company_targets ...'
|
|
132
|
+
end
|
|
133
|
+
# verify the required parameter 'id' is set
|
|
134
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
135
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_company_targets"
|
|
136
|
+
end
|
|
137
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
138
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_company_targets, must be smaller than or equal to 500.'
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
142
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_company_targets, must be greater than or equal to 1.'
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# resource path
|
|
146
|
+
local_var_path = '/api/v1/targets/{id}/company_targets'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
147
|
+
|
|
148
|
+
# query parameters
|
|
149
|
+
query_params = opts[:query_params] || {}
|
|
150
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
151
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
152
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
153
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
154
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
155
|
+
|
|
156
|
+
# header parameters
|
|
157
|
+
header_params = opts[:header_params] || {}
|
|
158
|
+
# HTTP header 'Accept' (if needed)
|
|
159
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
160
|
+
|
|
161
|
+
# form parameters
|
|
162
|
+
form_params = opts[:form_params] || {}
|
|
163
|
+
|
|
164
|
+
# http body (model)
|
|
165
|
+
post_body = opts[:debug_body]
|
|
166
|
+
|
|
167
|
+
# return_type
|
|
168
|
+
return_type = opts[:debug_return_type] || 'CompanyTargetsResponse'
|
|
169
|
+
|
|
170
|
+
# auth_names
|
|
171
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
172
|
+
|
|
173
|
+
new_options = opts.merge(
|
|
174
|
+
:operation => :"TargetsApi.targets_company_targets",
|
|
175
|
+
:header_params => header_params,
|
|
176
|
+
:query_params => query_params,
|
|
177
|
+
:form_params => form_params,
|
|
178
|
+
:body => post_body,
|
|
179
|
+
:auth_names => auth_names,
|
|
180
|
+
:return_type => return_type
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
184
|
+
if @api_client.config.debugging
|
|
185
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_company_targets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
186
|
+
end
|
|
187
|
+
return data, status_code, headers
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
# One target
|
|
191
|
+
# @param id [String]
|
|
192
|
+
# @param [Hash] opts the optional parameters
|
|
193
|
+
# @return [TargetsRecord]
|
|
194
|
+
def targets_get(id, opts = {})
|
|
195
|
+
data, _status_code, _headers = targets_get_with_http_info(id, opts)
|
|
196
|
+
data
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
# One target
|
|
200
|
+
# @param id [String]
|
|
201
|
+
# @param [Hash] opts the optional parameters
|
|
202
|
+
# @return [Array<(TargetsRecord, Integer, Hash)>] TargetsRecord data, response status code and response headers
|
|
203
|
+
def targets_get_with_http_info(id, opts = {})
|
|
204
|
+
if @api_client.config.debugging
|
|
205
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_get ...'
|
|
206
|
+
end
|
|
207
|
+
# verify the required parameter 'id' is set
|
|
208
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
209
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_get"
|
|
210
|
+
end
|
|
211
|
+
# resource path
|
|
212
|
+
local_var_path = '/api/v1/targets/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
213
|
+
|
|
214
|
+
# query parameters
|
|
215
|
+
query_params = opts[:query_params] || {}
|
|
216
|
+
|
|
217
|
+
# header parameters
|
|
218
|
+
header_params = opts[:header_params] || {}
|
|
219
|
+
# HTTP header 'Accept' (if needed)
|
|
220
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
221
|
+
|
|
222
|
+
# form parameters
|
|
223
|
+
form_params = opts[:form_params] || {}
|
|
224
|
+
|
|
225
|
+
# http body (model)
|
|
226
|
+
post_body = opts[:debug_body]
|
|
227
|
+
|
|
228
|
+
# return_type
|
|
229
|
+
return_type = opts[:debug_return_type] || 'TargetsRecord'
|
|
230
|
+
|
|
231
|
+
# auth_names
|
|
232
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
233
|
+
|
|
234
|
+
new_options = opts.merge(
|
|
235
|
+
:operation => :"TargetsApi.targets_get",
|
|
236
|
+
:header_params => header_params,
|
|
237
|
+
:query_params => query_params,
|
|
238
|
+
:form_params => form_params,
|
|
239
|
+
:body => post_body,
|
|
240
|
+
:auth_names => auth_names,
|
|
241
|
+
:return_type => return_type
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
245
|
+
if @api_client.config.debugging
|
|
246
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
247
|
+
end
|
|
248
|
+
return data, status_code, headers
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# List targets
|
|
252
|
+
# @param [Hash] opts the optional parameters
|
|
253
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
254
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
255
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
256
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
257
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
258
|
+
# @return [TargetsResponse]
|
|
259
|
+
def targets_list(opts = {})
|
|
260
|
+
data, _status_code, _headers = targets_list_with_http_info(opts)
|
|
261
|
+
data
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# List targets
|
|
265
|
+
# @param [Hash] opts the optional parameters
|
|
266
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
267
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
268
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
269
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
270
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
271
|
+
# @return [Array<(TargetsResponse, Integer, Hash)>] TargetsResponse data, response status code and response headers
|
|
272
|
+
def targets_list_with_http_info(opts = {})
|
|
273
|
+
if @api_client.config.debugging
|
|
274
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_list ...'
|
|
275
|
+
end
|
|
276
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
277
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_list, must be smaller than or equal to 500.'
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
281
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_list, must be greater than or equal to 1.'
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# resource path
|
|
285
|
+
local_var_path = '/api/v1/targets'
|
|
286
|
+
|
|
287
|
+
# query parameters
|
|
288
|
+
query_params = opts[:query_params] || {}
|
|
289
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
290
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
291
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
292
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
293
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
294
|
+
|
|
295
|
+
# header parameters
|
|
296
|
+
header_params = opts[:header_params] || {}
|
|
297
|
+
# HTTP header 'Accept' (if needed)
|
|
298
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
299
|
+
|
|
300
|
+
# form parameters
|
|
301
|
+
form_params = opts[:form_params] || {}
|
|
302
|
+
|
|
303
|
+
# http body (model)
|
|
304
|
+
post_body = opts[:debug_body]
|
|
305
|
+
|
|
306
|
+
# return_type
|
|
307
|
+
return_type = opts[:debug_return_type] || 'TargetsResponse'
|
|
308
|
+
|
|
309
|
+
# auth_names
|
|
310
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
311
|
+
|
|
312
|
+
new_options = opts.merge(
|
|
313
|
+
:operation => :"TargetsApi.targets_list",
|
|
314
|
+
:header_params => header_params,
|
|
315
|
+
:query_params => query_params,
|
|
316
|
+
:form_params => form_params,
|
|
317
|
+
:body => post_body,
|
|
318
|
+
:auth_names => auth_names,
|
|
319
|
+
:return_type => return_type
|
|
320
|
+
)
|
|
321
|
+
|
|
322
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
323
|
+
if @api_client.config.debugging
|
|
324
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
325
|
+
end
|
|
326
|
+
return data, status_code, headers
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
# Target-disease associations by datasource
|
|
330
|
+
# @param id [String]
|
|
331
|
+
# @param [Hash] opts the optional parameters
|
|
332
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
333
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
334
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
335
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
336
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
337
|
+
# @return [TargetAssociationsResponse]
|
|
338
|
+
def targets_target_associations(id, opts = {})
|
|
339
|
+
data, _status_code, _headers = targets_target_associations_with_http_info(id, opts)
|
|
340
|
+
data
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
# Target-disease associations by datasource
|
|
344
|
+
# @param id [String]
|
|
345
|
+
# @param [Hash] opts the optional parameters
|
|
346
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
347
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
348
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
349
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
350
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
351
|
+
# @return [Array<(TargetAssociationsResponse, Integer, Hash)>] TargetAssociationsResponse data, response status code and response headers
|
|
352
|
+
def targets_target_associations_with_http_info(id, opts = {})
|
|
353
|
+
if @api_client.config.debugging
|
|
354
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_associations ...'
|
|
355
|
+
end
|
|
356
|
+
# verify the required parameter 'id' is set
|
|
357
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
358
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_associations"
|
|
359
|
+
end
|
|
360
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
361
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_associations, must be smaller than or equal to 500.'
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
365
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_associations, must be greater than or equal to 1.'
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
# resource path
|
|
369
|
+
local_var_path = '/api/v1/targets/{id}/target_associations'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
370
|
+
|
|
371
|
+
# query parameters
|
|
372
|
+
query_params = opts[:query_params] || {}
|
|
373
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
374
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
375
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
376
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
377
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
378
|
+
|
|
379
|
+
# header parameters
|
|
380
|
+
header_params = opts[:header_params] || {}
|
|
381
|
+
# HTTP header 'Accept' (if needed)
|
|
382
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
383
|
+
|
|
384
|
+
# form parameters
|
|
385
|
+
form_params = opts[:form_params] || {}
|
|
386
|
+
|
|
387
|
+
# http body (model)
|
|
388
|
+
post_body = opts[:debug_body]
|
|
389
|
+
|
|
390
|
+
# return_type
|
|
391
|
+
return_type = opts[:debug_return_type] || 'TargetAssociationsResponse'
|
|
392
|
+
|
|
393
|
+
# auth_names
|
|
394
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
395
|
+
|
|
396
|
+
new_options = opts.merge(
|
|
397
|
+
:operation => :"TargetsApi.targets_target_associations",
|
|
398
|
+
:header_params => header_params,
|
|
399
|
+
:query_params => query_params,
|
|
400
|
+
:form_params => form_params,
|
|
401
|
+
:body => post_body,
|
|
402
|
+
:auth_names => auth_names,
|
|
403
|
+
:return_type => return_type
|
|
404
|
+
)
|
|
405
|
+
|
|
406
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
407
|
+
if @api_client.config.debugging
|
|
408
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_associations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
409
|
+
end
|
|
410
|
+
return data, status_code, headers
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
# Target crowding by phase
|
|
414
|
+
# @param id [String]
|
|
415
|
+
# @param [Hash] opts the optional parameters
|
|
416
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
417
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
418
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
419
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
420
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
421
|
+
# @return [TargetCrowdingResponse]
|
|
422
|
+
def targets_target_crowding(id, opts = {})
|
|
423
|
+
data, _status_code, _headers = targets_target_crowding_with_http_info(id, opts)
|
|
424
|
+
data
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
# Target crowding by phase
|
|
428
|
+
# @param id [String]
|
|
429
|
+
# @param [Hash] opts the optional parameters
|
|
430
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
431
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
432
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
433
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
434
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
435
|
+
# @return [Array<(TargetCrowdingResponse, Integer, Hash)>] TargetCrowdingResponse data, response status code and response headers
|
|
436
|
+
def targets_target_crowding_with_http_info(id, opts = {})
|
|
437
|
+
if @api_client.config.debugging
|
|
438
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_crowding ...'
|
|
439
|
+
end
|
|
440
|
+
# verify the required parameter 'id' is set
|
|
441
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
442
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_crowding"
|
|
443
|
+
end
|
|
444
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
445
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_crowding, must be smaller than or equal to 500.'
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
449
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_crowding, must be greater than or equal to 1.'
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# resource path
|
|
453
|
+
local_var_path = '/api/v1/targets/{id}/target_crowding'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
454
|
+
|
|
455
|
+
# query parameters
|
|
456
|
+
query_params = opts[:query_params] || {}
|
|
457
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
458
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
459
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
460
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
461
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
462
|
+
|
|
463
|
+
# header parameters
|
|
464
|
+
header_params = opts[:header_params] || {}
|
|
465
|
+
# HTTP header 'Accept' (if needed)
|
|
466
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
467
|
+
|
|
468
|
+
# form parameters
|
|
469
|
+
form_params = opts[:form_params] || {}
|
|
470
|
+
|
|
471
|
+
# http body (model)
|
|
472
|
+
post_body = opts[:debug_body]
|
|
473
|
+
|
|
474
|
+
# return_type
|
|
475
|
+
return_type = opts[:debug_return_type] || 'TargetCrowdingResponse'
|
|
476
|
+
|
|
477
|
+
# auth_names
|
|
478
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
479
|
+
|
|
480
|
+
new_options = opts.merge(
|
|
481
|
+
:operation => :"TargetsApi.targets_target_crowding",
|
|
482
|
+
:header_params => header_params,
|
|
483
|
+
:query_params => query_params,
|
|
484
|
+
:form_params => form_params,
|
|
485
|
+
:body => post_body,
|
|
486
|
+
:auth_names => auth_names,
|
|
487
|
+
:return_type => return_type
|
|
488
|
+
)
|
|
489
|
+
|
|
490
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
491
|
+
if @api_client.config.debugging
|
|
492
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_crowding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
493
|
+
end
|
|
494
|
+
return data, status_code, headers
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# Drugs acting on a target
|
|
498
|
+
# @param id [String]
|
|
499
|
+
# @param [Hash] opts the optional parameters
|
|
500
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
501
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
502
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
503
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
504
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
505
|
+
# @return [TargetDrugsResponse]
|
|
506
|
+
def targets_target_drugs(id, opts = {})
|
|
507
|
+
data, _status_code, _headers = targets_target_drugs_with_http_info(id, opts)
|
|
508
|
+
data
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
# Drugs acting on a target
|
|
512
|
+
# @param id [String]
|
|
513
|
+
# @param [Hash] opts the optional parameters
|
|
514
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
515
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
516
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
517
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
518
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
519
|
+
# @return [Array<(TargetDrugsResponse, Integer, Hash)>] TargetDrugsResponse data, response status code and response headers
|
|
520
|
+
def targets_target_drugs_with_http_info(id, opts = {})
|
|
521
|
+
if @api_client.config.debugging
|
|
522
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_drugs ...'
|
|
523
|
+
end
|
|
524
|
+
# verify the required parameter 'id' is set
|
|
525
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
526
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_drugs"
|
|
527
|
+
end
|
|
528
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
529
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_drugs, must be smaller than or equal to 500.'
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
533
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_drugs, must be greater than or equal to 1.'
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
# resource path
|
|
537
|
+
local_var_path = '/api/v1/targets/{id}/target_drugs'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
538
|
+
|
|
539
|
+
# query parameters
|
|
540
|
+
query_params = opts[:query_params] || {}
|
|
541
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
542
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
543
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
544
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
545
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
546
|
+
|
|
547
|
+
# header parameters
|
|
548
|
+
header_params = opts[:header_params] || {}
|
|
549
|
+
# HTTP header 'Accept' (if needed)
|
|
550
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
551
|
+
|
|
552
|
+
# form parameters
|
|
553
|
+
form_params = opts[:form_params] || {}
|
|
554
|
+
|
|
555
|
+
# http body (model)
|
|
556
|
+
post_body = opts[:debug_body]
|
|
557
|
+
|
|
558
|
+
# return_type
|
|
559
|
+
return_type = opts[:debug_return_type] || 'TargetDrugsResponse'
|
|
560
|
+
|
|
561
|
+
# auth_names
|
|
562
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
563
|
+
|
|
564
|
+
new_options = opts.merge(
|
|
565
|
+
:operation => :"TargetsApi.targets_target_drugs",
|
|
566
|
+
:header_params => header_params,
|
|
567
|
+
:query_params => query_params,
|
|
568
|
+
:form_params => form_params,
|
|
569
|
+
:body => post_body,
|
|
570
|
+
:auth_names => auth_names,
|
|
571
|
+
:return_type => return_type
|
|
572
|
+
)
|
|
573
|
+
|
|
574
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
575
|
+
if @api_client.config.debugging
|
|
576
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_drugs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
577
|
+
end
|
|
578
|
+
return data, status_code, headers
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
# Target evidence
|
|
582
|
+
# @param id [String]
|
|
583
|
+
# @param [Hash] opts the optional parameters
|
|
584
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
585
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
586
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
587
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
588
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
589
|
+
# @return [TargetEvidenceResponse]
|
|
590
|
+
def targets_target_evidence(id, opts = {})
|
|
591
|
+
data, _status_code, _headers = targets_target_evidence_with_http_info(id, opts)
|
|
592
|
+
data
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
# Target evidence
|
|
596
|
+
# @param id [String]
|
|
597
|
+
# @param [Hash] opts the optional parameters
|
|
598
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
599
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
600
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
601
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
602
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
603
|
+
# @return [Array<(TargetEvidenceResponse, Integer, Hash)>] TargetEvidenceResponse data, response status code and response headers
|
|
604
|
+
def targets_target_evidence_with_http_info(id, opts = {})
|
|
605
|
+
if @api_client.config.debugging
|
|
606
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_evidence ...'
|
|
607
|
+
end
|
|
608
|
+
# verify the required parameter 'id' is set
|
|
609
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
610
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_evidence"
|
|
611
|
+
end
|
|
612
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
613
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_evidence, must be smaller than or equal to 500.'
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
617
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_evidence, must be greater than or equal to 1.'
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
# resource path
|
|
621
|
+
local_var_path = '/api/v1/targets/{id}/target_evidence'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
622
|
+
|
|
623
|
+
# query parameters
|
|
624
|
+
query_params = opts[:query_params] || {}
|
|
625
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
626
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
627
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
628
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
629
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
630
|
+
|
|
631
|
+
# header parameters
|
|
632
|
+
header_params = opts[:header_params] || {}
|
|
633
|
+
# HTTP header 'Accept' (if needed)
|
|
634
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
635
|
+
|
|
636
|
+
# form parameters
|
|
637
|
+
form_params = opts[:form_params] || {}
|
|
638
|
+
|
|
639
|
+
# http body (model)
|
|
640
|
+
post_body = opts[:debug_body]
|
|
641
|
+
|
|
642
|
+
# return_type
|
|
643
|
+
return_type = opts[:debug_return_type] || 'TargetEvidenceResponse'
|
|
644
|
+
|
|
645
|
+
# auth_names
|
|
646
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
647
|
+
|
|
648
|
+
new_options = opts.merge(
|
|
649
|
+
:operation => :"TargetsApi.targets_target_evidence",
|
|
650
|
+
:header_params => header_params,
|
|
651
|
+
:query_params => query_params,
|
|
652
|
+
:form_params => form_params,
|
|
653
|
+
:body => post_body,
|
|
654
|
+
:auth_names => auth_names,
|
|
655
|
+
:return_type => return_type
|
|
656
|
+
)
|
|
657
|
+
|
|
658
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
659
|
+
if @api_client.config.debugging
|
|
660
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_evidence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
661
|
+
end
|
|
662
|
+
return data, status_code, headers
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
# Target patent mentions
|
|
666
|
+
# @param id [String]
|
|
667
|
+
# @param [Hash] opts the optional parameters
|
|
668
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
669
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
670
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
671
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
672
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
673
|
+
# @return [TargetPatentMentionsResponse]
|
|
674
|
+
def targets_target_patent_mentions(id, opts = {})
|
|
675
|
+
data, _status_code, _headers = targets_target_patent_mentions_with_http_info(id, opts)
|
|
676
|
+
data
|
|
677
|
+
end
|
|
678
|
+
|
|
679
|
+
# Target patent mentions
|
|
680
|
+
# @param id [String]
|
|
681
|
+
# @param [Hash] opts the optional parameters
|
|
682
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
683
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
684
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
685
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
686
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
687
|
+
# @return [Array<(TargetPatentMentionsResponse, Integer, Hash)>] TargetPatentMentionsResponse data, response status code and response headers
|
|
688
|
+
def targets_target_patent_mentions_with_http_info(id, opts = {})
|
|
689
|
+
if @api_client.config.debugging
|
|
690
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_patent_mentions ...'
|
|
691
|
+
end
|
|
692
|
+
# verify the required parameter 'id' is set
|
|
693
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
694
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_patent_mentions"
|
|
695
|
+
end
|
|
696
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
697
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_patent_mentions, must be smaller than or equal to 500.'
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
701
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_patent_mentions, must be greater than or equal to 1.'
|
|
702
|
+
end
|
|
703
|
+
|
|
704
|
+
# resource path
|
|
705
|
+
local_var_path = '/api/v1/targets/{id}/target_patent_mentions'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
706
|
+
|
|
707
|
+
# query parameters
|
|
708
|
+
query_params = opts[:query_params] || {}
|
|
709
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
710
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
711
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
712
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
713
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
714
|
+
|
|
715
|
+
# header parameters
|
|
716
|
+
header_params = opts[:header_params] || {}
|
|
717
|
+
# HTTP header 'Accept' (if needed)
|
|
718
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
719
|
+
|
|
720
|
+
# form parameters
|
|
721
|
+
form_params = opts[:form_params] || {}
|
|
722
|
+
|
|
723
|
+
# http body (model)
|
|
724
|
+
post_body = opts[:debug_body]
|
|
725
|
+
|
|
726
|
+
# return_type
|
|
727
|
+
return_type = opts[:debug_return_type] || 'TargetPatentMentionsResponse'
|
|
728
|
+
|
|
729
|
+
# auth_names
|
|
730
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
731
|
+
|
|
732
|
+
new_options = opts.merge(
|
|
733
|
+
:operation => :"TargetsApi.targets_target_patent_mentions",
|
|
734
|
+
:header_params => header_params,
|
|
735
|
+
:query_params => query_params,
|
|
736
|
+
:form_params => form_params,
|
|
737
|
+
:body => post_body,
|
|
738
|
+
:auth_names => auth_names,
|
|
739
|
+
:return_type => return_type
|
|
740
|
+
)
|
|
741
|
+
|
|
742
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
743
|
+
if @api_client.config.debugging
|
|
744
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_patent_mentions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
745
|
+
end
|
|
746
|
+
return data, status_code, headers
|
|
747
|
+
end
|
|
748
|
+
|
|
749
|
+
# Target development programs
|
|
750
|
+
# @param id [String]
|
|
751
|
+
# @param [Hash] opts the optional parameters
|
|
752
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
753
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
754
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
755
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
756
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
757
|
+
# @return [TargetProgramsResponse]
|
|
758
|
+
def targets_target_programs(id, opts = {})
|
|
759
|
+
data, _status_code, _headers = targets_target_programs_with_http_info(id, opts)
|
|
760
|
+
data
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
# Target development programs
|
|
764
|
+
# @param id [String]
|
|
765
|
+
# @param [Hash] opts the optional parameters
|
|
766
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
767
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
768
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
769
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
770
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
771
|
+
# @return [Array<(TargetProgramsResponse, Integer, Hash)>] TargetProgramsResponse data, response status code and response headers
|
|
772
|
+
def targets_target_programs_with_http_info(id, opts = {})
|
|
773
|
+
if @api_client.config.debugging
|
|
774
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_programs ...'
|
|
775
|
+
end
|
|
776
|
+
# verify the required parameter 'id' is set
|
|
777
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
778
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_programs"
|
|
779
|
+
end
|
|
780
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
781
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_programs, must be smaller than or equal to 500.'
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
785
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_programs, must be greater than or equal to 1.'
|
|
786
|
+
end
|
|
787
|
+
|
|
788
|
+
# resource path
|
|
789
|
+
local_var_path = '/api/v1/targets/{id}/target_programs'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
790
|
+
|
|
791
|
+
# query parameters
|
|
792
|
+
query_params = opts[:query_params] || {}
|
|
793
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
794
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
795
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
796
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
797
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
798
|
+
|
|
799
|
+
# header parameters
|
|
800
|
+
header_params = opts[:header_params] || {}
|
|
801
|
+
# HTTP header 'Accept' (if needed)
|
|
802
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
803
|
+
|
|
804
|
+
# form parameters
|
|
805
|
+
form_params = opts[:form_params] || {}
|
|
806
|
+
|
|
807
|
+
# http body (model)
|
|
808
|
+
post_body = opts[:debug_body]
|
|
809
|
+
|
|
810
|
+
# return_type
|
|
811
|
+
return_type = opts[:debug_return_type] || 'TargetProgramsResponse'
|
|
812
|
+
|
|
813
|
+
# auth_names
|
|
814
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
815
|
+
|
|
816
|
+
new_options = opts.merge(
|
|
817
|
+
:operation => :"TargetsApi.targets_target_programs",
|
|
818
|
+
:header_params => header_params,
|
|
819
|
+
:query_params => query_params,
|
|
820
|
+
:form_params => form_params,
|
|
821
|
+
:body => post_body,
|
|
822
|
+
:auth_names => auth_names,
|
|
823
|
+
:return_type => return_type
|
|
824
|
+
)
|
|
825
|
+
|
|
826
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
827
|
+
if @api_client.config.debugging
|
|
828
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_programs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
829
|
+
end
|
|
830
|
+
return data, status_code, headers
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# Target publications
|
|
834
|
+
# @param id [String]
|
|
835
|
+
# @param [Hash] opts the optional parameters
|
|
836
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
837
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
838
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
839
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
840
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
841
|
+
# @return [TargetPublicationsResponse]
|
|
842
|
+
def targets_target_publications(id, opts = {})
|
|
843
|
+
data, _status_code, _headers = targets_target_publications_with_http_info(id, opts)
|
|
844
|
+
data
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
# Target publications
|
|
848
|
+
# @param id [String]
|
|
849
|
+
# @param [Hash] opts the optional parameters
|
|
850
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
851
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
852
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
853
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
854
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
855
|
+
# @return [Array<(TargetPublicationsResponse, Integer, Hash)>] TargetPublicationsResponse data, response status code and response headers
|
|
856
|
+
def targets_target_publications_with_http_info(id, opts = {})
|
|
857
|
+
if @api_client.config.debugging
|
|
858
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_publications ...'
|
|
859
|
+
end
|
|
860
|
+
# verify the required parameter 'id' is set
|
|
861
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
862
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_publications"
|
|
863
|
+
end
|
|
864
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
865
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_publications, must be smaller than or equal to 500.'
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
869
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_publications, must be greater than or equal to 1.'
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# resource path
|
|
873
|
+
local_var_path = '/api/v1/targets/{id}/target_publications'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
874
|
+
|
|
875
|
+
# query parameters
|
|
876
|
+
query_params = opts[:query_params] || {}
|
|
877
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
878
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
879
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
880
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
881
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
882
|
+
|
|
883
|
+
# header parameters
|
|
884
|
+
header_params = opts[:header_params] || {}
|
|
885
|
+
# HTTP header 'Accept' (if needed)
|
|
886
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
887
|
+
|
|
888
|
+
# form parameters
|
|
889
|
+
form_params = opts[:form_params] || {}
|
|
890
|
+
|
|
891
|
+
# http body (model)
|
|
892
|
+
post_body = opts[:debug_body]
|
|
893
|
+
|
|
894
|
+
# return_type
|
|
895
|
+
return_type = opts[:debug_return_type] || 'TargetPublicationsResponse'
|
|
896
|
+
|
|
897
|
+
# auth_names
|
|
898
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
899
|
+
|
|
900
|
+
new_options = opts.merge(
|
|
901
|
+
:operation => :"TargetsApi.targets_target_publications",
|
|
902
|
+
:header_params => header_params,
|
|
903
|
+
:query_params => query_params,
|
|
904
|
+
:form_params => form_params,
|
|
905
|
+
:body => post_body,
|
|
906
|
+
:auth_names => auth_names,
|
|
907
|
+
:return_type => return_type
|
|
908
|
+
)
|
|
909
|
+
|
|
910
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
911
|
+
if @api_client.config.debugging
|
|
912
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_publications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
913
|
+
end
|
|
914
|
+
return data, status_code, headers
|
|
915
|
+
end
|
|
916
|
+
|
|
917
|
+
# Target regulatory precedent
|
|
918
|
+
# @param id [String]
|
|
919
|
+
# @param [Hash] opts the optional parameters
|
|
920
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
921
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
922
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
923
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
924
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
925
|
+
# @return [TargetRegulatoryPrecedentResponse]
|
|
926
|
+
def targets_target_regulatory_precedent(id, opts = {})
|
|
927
|
+
data, _status_code, _headers = targets_target_regulatory_precedent_with_http_info(id, opts)
|
|
928
|
+
data
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
# Target regulatory precedent
|
|
932
|
+
# @param id [String]
|
|
933
|
+
# @param [Hash] opts the optional parameters
|
|
934
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
935
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
936
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
937
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
938
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
939
|
+
# @return [Array<(TargetRegulatoryPrecedentResponse, Integer, Hash)>] TargetRegulatoryPrecedentResponse data, response status code and response headers
|
|
940
|
+
def targets_target_regulatory_precedent_with_http_info(id, opts = {})
|
|
941
|
+
if @api_client.config.debugging
|
|
942
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_regulatory_precedent ...'
|
|
943
|
+
end
|
|
944
|
+
# verify the required parameter 'id' is set
|
|
945
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
946
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_regulatory_precedent"
|
|
947
|
+
end
|
|
948
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
949
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_regulatory_precedent, must be smaller than or equal to 500.'
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
953
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_regulatory_precedent, must be greater than or equal to 1.'
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
# resource path
|
|
957
|
+
local_var_path = '/api/v1/targets/{id}/target_regulatory_precedent'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
958
|
+
|
|
959
|
+
# query parameters
|
|
960
|
+
query_params = opts[:query_params] || {}
|
|
961
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
962
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
963
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
964
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
965
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
966
|
+
|
|
967
|
+
# header parameters
|
|
968
|
+
header_params = opts[:header_params] || {}
|
|
969
|
+
# HTTP header 'Accept' (if needed)
|
|
970
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
971
|
+
|
|
972
|
+
# form parameters
|
|
973
|
+
form_params = opts[:form_params] || {}
|
|
974
|
+
|
|
975
|
+
# http body (model)
|
|
976
|
+
post_body = opts[:debug_body]
|
|
977
|
+
|
|
978
|
+
# return_type
|
|
979
|
+
return_type = opts[:debug_return_type] || 'TargetRegulatoryPrecedentResponse'
|
|
980
|
+
|
|
981
|
+
# auth_names
|
|
982
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
983
|
+
|
|
984
|
+
new_options = opts.merge(
|
|
985
|
+
:operation => :"TargetsApi.targets_target_regulatory_precedent",
|
|
986
|
+
:header_params => header_params,
|
|
987
|
+
:query_params => query_params,
|
|
988
|
+
:form_params => form_params,
|
|
989
|
+
:body => post_body,
|
|
990
|
+
:auth_names => auth_names,
|
|
991
|
+
:return_type => return_type
|
|
992
|
+
)
|
|
993
|
+
|
|
994
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
995
|
+
if @api_client.config.debugging
|
|
996
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_regulatory_precedent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
997
|
+
end
|
|
998
|
+
return data, status_code, headers
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
# Trials targeting a target
|
|
1002
|
+
# @param id [String]
|
|
1003
|
+
# @param [Hash] opts the optional parameters
|
|
1004
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1005
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1006
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1007
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1008
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1009
|
+
# @return [TargetTrialsResponse]
|
|
1010
|
+
def targets_target_trials(id, opts = {})
|
|
1011
|
+
data, _status_code, _headers = targets_target_trials_with_http_info(id, opts)
|
|
1012
|
+
data
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
# Trials targeting a target
|
|
1016
|
+
# @param id [String]
|
|
1017
|
+
# @param [Hash] opts the optional parameters
|
|
1018
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1019
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1020
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1021
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1022
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1023
|
+
# @return [Array<(TargetTrialsResponse, Integer, Hash)>] TargetTrialsResponse data, response status code and response headers
|
|
1024
|
+
def targets_target_trials_with_http_info(id, opts = {})
|
|
1025
|
+
if @api_client.config.debugging
|
|
1026
|
+
@api_client.config.logger.debug 'Calling API: TargetsApi.targets_target_trials ...'
|
|
1027
|
+
end
|
|
1028
|
+
# verify the required parameter 'id' is set
|
|
1029
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1030
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TargetsApi.targets_target_trials"
|
|
1031
|
+
end
|
|
1032
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1033
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_trials, must be smaller than or equal to 500.'
|
|
1034
|
+
end
|
|
1035
|
+
|
|
1036
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1037
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TargetsApi.targets_target_trials, must be greater than or equal to 1.'
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1040
|
+
# resource path
|
|
1041
|
+
local_var_path = '/api/v1/targets/{id}/target_trials'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1042
|
+
|
|
1043
|
+
# query parameters
|
|
1044
|
+
query_params = opts[:query_params] || {}
|
|
1045
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1046
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1047
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1048
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1049
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1050
|
+
|
|
1051
|
+
# header parameters
|
|
1052
|
+
header_params = opts[:header_params] || {}
|
|
1053
|
+
# HTTP header 'Accept' (if needed)
|
|
1054
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1055
|
+
|
|
1056
|
+
# form parameters
|
|
1057
|
+
form_params = opts[:form_params] || {}
|
|
1058
|
+
|
|
1059
|
+
# http body (model)
|
|
1060
|
+
post_body = opts[:debug_body]
|
|
1061
|
+
|
|
1062
|
+
# return_type
|
|
1063
|
+
return_type = opts[:debug_return_type] || 'TargetTrialsResponse'
|
|
1064
|
+
|
|
1065
|
+
# auth_names
|
|
1066
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1067
|
+
|
|
1068
|
+
new_options = opts.merge(
|
|
1069
|
+
:operation => :"TargetsApi.targets_target_trials",
|
|
1070
|
+
:header_params => header_params,
|
|
1071
|
+
:query_params => query_params,
|
|
1072
|
+
:form_params => form_params,
|
|
1073
|
+
:body => post_body,
|
|
1074
|
+
:auth_names => auth_names,
|
|
1075
|
+
:return_type => return_type
|
|
1076
|
+
)
|
|
1077
|
+
|
|
1078
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1079
|
+
if @api_client.config.debugging
|
|
1080
|
+
@api_client.config.logger.debug "API called: TargetsApi#targets_target_trials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1081
|
+
end
|
|
1082
|
+
return data, status_code, headers
|
|
1083
|
+
end
|
|
1084
|
+
end
|
|
1085
|
+
end
|