From dd4c1a8ca6e41409063c16d6623a54c9dbad5103 Mon Sep 17 00:00:00 2001 From: Graham Rhodes <1964861+grahamar@users.noreply.github.com> Date: Tue, 29 Oct 2019 12:50:30 +0000 Subject: [PATCH] feat: Introduce clustering and machine translation *Breaking changes are included* --- Aylien.NewsApi.nuspec | 32 - Aylien.NewsApi.sln | 20 +- LICENSE | 201 - README.md | 148 +- build.sh | 43 - docs/Author.md | 10 +- docs/Autocomplete.md | 6 +- docs/Autocompletes.md | 6 +- docs/Category.md | 14 +- docs/CategoryLinks.md | 8 +- docs/Cluster.md | 19 + docs/Clusters.md | 15 + docs/Coverages.md | 13 +- docs/DefaultApi.md | 3121 ++-- docs/Entities.md | 8 +- docs/Entity.md | 12 +- docs/EntityLinks.md | 6 +- docs/Error.md | 10 +- docs/ErrorLinks.md | 6 +- docs/Errors.md | 6 +- docs/HistogramInterval.md | 10 +- docs/Histograms.md | 14 +- docs/Location.md | 10 +- docs/Media.md | 14 +- docs/Rank.md | 10 +- docs/Rankings.md | 6 +- docs/RelatedStories.md | 11 +- docs/RepresentativeStory.md | 16 + docs/Scope.md | 10 +- docs/Sentiment.md | 8 +- docs/Sentiments.md | 10 +- docs/ShareCount.md | 10 +- docs/ShareCounts.md | 6 +- docs/Source.md | 22 +- docs/Stories.md | 9 +- docs/Story.md | 42 +- docs/StoryCluster.md | 14 +- docs/StoryLinks.md | 10 +- docs/StoryTranslations.md | 13 + docs/StoryTranslationsEn.md | 15 + docs/Summary.md | 6 +- docs/TimeSeries.md | 10 +- docs/TimeSeriesList.md | 12 +- docs/Trend.md | 8 +- docs/Trends.md | 8 +- .../Aylien.NewsApi/Api/DefaultApi.cs | 12584 ++++++++-------- src/Aylien.NewsApi/Aylien.NewsApi.csproj | 54 + .../Aylien.NewsApi/Client/ApiClient.cs | 195 +- .../Aylien.NewsApi/Client/ApiException.cs | 26 +- .../Aylien.NewsApi/Client/ApiResponse.cs | 26 +- src/Aylien.NewsApi/Client/Configuration.cs | 446 + src/Aylien.NewsApi/Client/ExceptionFactory.cs | 24 + .../Client/GlobalConfiguration.cs | 34 + .../Aylien.NewsApi/Client/IApiAccessor.cs | 28 +- .../Client/IReadableConfiguration.cs | 94 + .../Client/OpenAPIDateConverter.cs | 30 + .../Aylien.NewsApi/Model/Author.cs | 117 +- .../Aylien.NewsApi/Model/Autocomplete.cs | 86 +- .../Aylien.NewsApi/Model/Autocompletes.cs | 72 +- .../Aylien.NewsApi/Model/Category.cs | 189 +- .../Aylien.NewsApi/Model/CategoryLinks.cs | 102 +- src/Aylien.NewsApi/Model/Cluster.cs | 213 + src/Aylien.NewsApi/Model/Clusters.cs | 148 + src/Aylien.NewsApi/Model/Coverages.cs | 182 + .../Aylien.NewsApi/Model/Entities.cs | 104 +- src/Aylien.NewsApi/Model/Entity.cs | 182 + .../Aylien.NewsApi/Model/EntityLinks.cs | 73 +- .../csharp => }/Aylien.NewsApi/Model/Error.cs | 166 +- .../Aylien.NewsApi/Model/ErrorLinks.cs | 73 +- .../Aylien.NewsApi/Model/Errors.cs | 72 +- .../Aylien.NewsApi/Model/HistogramInterval.cs | 90 +- .../Aylien.NewsApi/Model/Histograms.cs | 168 +- .../Aylien.NewsApi/Model/Location.cs | 119 +- .../csharp => }/Aylien.NewsApi/Model/Media.cs | 290 +- .../csharp => }/Aylien.NewsApi/Model/Rank.cs | 117 +- .../Aylien.NewsApi/Model/Rankings.cs | 72 +- src/Aylien.NewsApi/Model/RelatedStories.cs | 165 + .../Model/RepresentativeStory.cs | 164 + .../csharp => }/Aylien.NewsApi/Model/Scope.cs | 154 +- .../Aylien.NewsApi/Model/Sentiment.cs | 118 +- src/Aylien.NewsApi/Model/Sentiments.cs | 128 + .../Aylien.NewsApi/Model/ShareCount.cs | 90 +- .../Aylien.NewsApi/Model/ShareCounts.cs | 108 +- .../Aylien.NewsApi/Model/Source.cs | 302 +- src/Aylien.NewsApi/Model/Stories.cs | 131 + src/Aylien.NewsApi/Model/Story.cs | 467 + .../Aylien.NewsApi/Model/StoryCluster.cs | 147 +- .../Aylien.NewsApi/Model/StoryLinks.cs | 144 +- src/Aylien.NewsApi/Model/StoryTranslations.cs | 112 + .../Model/StoryTranslationsEn.cs | 147 + .../Aylien.NewsApi/Model/Summary.cs | 72 +- .../Aylien.NewsApi/Model/TimeSeries.cs | 104 +- .../Aylien.NewsApi/Model/TimeSeriesList.cs | 147 +- .../csharp => }/Aylien.NewsApi/Model/Trend.cs | 102 +- .../Aylien.NewsApi/Model/Trends.cs | 103 +- src/Aylien.NewsApi/Properties/AssemblyInfo.cs | 32 + src/Aylien.NewsApi/project.json | 12 + .../Aylien.NewsApi/Aylien.NewsApi.csproj | 78 - .../Aylien.NewsApi/Client/Configuration.cs | 342 - .../Aylien.NewsApi/Client/ExceptionFactory.cs | 32 - .../csharp/Aylien.NewsApi/Model/Coverages.cs | 210 - .../csharp/Aylien.NewsApi/Model/Entity.cs | 206 - .../Aylien.NewsApi/Model/RelatedStories.cs | 194 - .../csharp/Aylien.NewsApi/Model/Sentiments.cs | 146 - .../csharp/Aylien.NewsApi/Model/Stories.cs | 162 - src/main/csharp/Aylien.NewsApi/Model/Story.cs | 434 - .../Aylien.NewsApi/Properties/AssemblyInfo.cs | 53 - .../csharp/Aylien.NewsApi/packages.config | 5 - 108 files changed, 12329 insertions(+), 12666 deletions(-) delete mode 100644 Aylien.NewsApi.nuspec delete mode 100644 LICENSE delete mode 100644 build.sh create mode 100644 docs/Cluster.md create mode 100644 docs/Clusters.md create mode 100644 docs/RepresentativeStory.md create mode 100644 docs/StoryTranslations.md create mode 100644 docs/StoryTranslationsEn.md rename src/{main/csharp => }/Aylien.NewsApi/Api/DefaultApi.cs (51%) create mode 100644 src/Aylien.NewsApi/Aylien.NewsApi.csproj rename src/{main/csharp => }/Aylien.NewsApi/Client/ApiClient.cs (70%) rename src/{main/csharp => }/Aylien.NewsApi/Client/ApiException.cs (73%) rename src/{main/csharp => }/Aylien.NewsApi/Client/ApiResponse.cs (68%) create mode 100644 src/Aylien.NewsApi/Client/Configuration.cs create mode 100644 src/Aylien.NewsApi/Client/ExceptionFactory.cs create mode 100644 src/Aylien.NewsApi/Client/GlobalConfiguration.cs rename src/{main/csharp => }/Aylien.NewsApi/Client/IApiAccessor.cs (58%) create mode 100644 src/Aylien.NewsApi/Client/IReadableConfiguration.cs create mode 100644 src/Aylien.NewsApi/Client/OpenAPIDateConverter.cs rename src/{main/csharp => }/Aylien.NewsApi/Model/Author.cs (53%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Autocomplete.cs (55%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Autocompletes.cs (55%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Category.cs (52%) rename src/{main/csharp => }/Aylien.NewsApi/Model/CategoryLinks.cs (55%) create mode 100644 src/Aylien.NewsApi/Model/Cluster.cs create mode 100644 src/Aylien.NewsApi/Model/Clusters.cs create mode 100644 src/Aylien.NewsApi/Model/Coverages.cs rename src/{main/csharp => }/Aylien.NewsApi/Model/Entities.cs (56%) create mode 100644 src/Aylien.NewsApi/Model/Entity.cs rename src/{main/csharp => }/Aylien.NewsApi/Model/EntityLinks.cs (53%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Error.cs (51%) rename src/{main/csharp => }/Aylien.NewsApi/Model/ErrorLinks.cs (53%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Errors.cs (53%) rename src/{main/csharp => }/Aylien.NewsApi/Model/HistogramInterval.cs (53%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Histograms.cs (51%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Location.cs (54%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Media.cs (55%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Rank.cs (52%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Rankings.cs (54%) create mode 100644 src/Aylien.NewsApi/Model/RelatedStories.cs create mode 100644 src/Aylien.NewsApi/Model/RepresentativeStory.cs rename src/{main/csharp => }/Aylien.NewsApi/Model/Scope.cs (55%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Sentiment.cs (50%) create mode 100644 src/Aylien.NewsApi/Model/Sentiments.cs rename src/{main/csharp => }/Aylien.NewsApi/Model/ShareCount.cs (51%) rename src/{main/csharp => }/Aylien.NewsApi/Model/ShareCounts.cs (55%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Source.cs (53%) create mode 100644 src/Aylien.NewsApi/Model/Stories.cs create mode 100644 src/Aylien.NewsApi/Model/Story.cs rename src/{main/csharp => }/Aylien.NewsApi/Model/StoryCluster.cs (53%) rename src/{main/csharp => }/Aylien.NewsApi/Model/StoryLinks.cs (52%) create mode 100644 src/Aylien.NewsApi/Model/StoryTranslations.cs create mode 100644 src/Aylien.NewsApi/Model/StoryTranslationsEn.cs rename src/{main/csharp => }/Aylien.NewsApi/Model/Summary.cs (55%) rename src/{main/csharp => }/Aylien.NewsApi/Model/TimeSeries.cs (52%) rename src/{main/csharp => }/Aylien.NewsApi/Model/TimeSeriesList.cs (52%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Trend.cs (52%) rename src/{main/csharp => }/Aylien.NewsApi/Model/Trends.cs (54%) create mode 100644 src/Aylien.NewsApi/Properties/AssemblyInfo.cs create mode 100644 src/Aylien.NewsApi/project.json delete mode 100644 src/main/csharp/Aylien.NewsApi/Aylien.NewsApi.csproj delete mode 100644 src/main/csharp/Aylien.NewsApi/Client/Configuration.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/Client/ExceptionFactory.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/Model/Coverages.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/Model/Entity.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/Model/RelatedStories.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/Model/Sentiments.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/Model/Stories.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/Model/Story.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/Properties/AssemblyInfo.cs delete mode 100644 src/main/csharp/Aylien.NewsApi/packages.config diff --git a/Aylien.NewsApi.nuspec b/Aylien.NewsApi.nuspec deleted file mode 100644 index ffc5b83..0000000 --- a/Aylien.NewsApi.nuspec +++ /dev/null @@ -1,32 +0,0 @@ - - - - 2.0.0 - Aylien.NewsApi - Aylien.NewsApi - Aylien News API library for .NET - Aylien Inc., Hamed Ramezanian Nik - Aylien Inc. - https://github.com/AYLIEN/aylien_newsapi_csharp/blob/master/LICENSE - https://newsapi.aylien.com/ - true - Copyright AYLIEN Inc. 2017 - See GitHub for details of commits since previous version. - Aylien News API - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Aylien.NewsApi.sln b/Aylien.NewsApi.sln index 0eaed93..ad4160a 100644 --- a/Aylien.NewsApi.sln +++ b/Aylien.NewsApi.sln @@ -1,8 +1,8 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Express 2013 for Windows Desktop -VisualStudioVersion = 12.0.31101.0 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aylien.NewsApi", "src\main\csharp\Aylien.NewsApi\Aylien.NewsApi.csproj", "{C9AB4D14-F827-4E0E-B7B5-48AC4E4855AC}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aylien.NewsApi", "src\Aylien.NewsApi\Aylien.NewsApi.csproj", "{26CEEA81-E9A7-4904-BEBC-A3DBBF11F1A3}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -10,12 +10,16 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C9AB4D14-F827-4E0E-B7B5-48AC4E4855AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C9AB4D14-F827-4E0E-B7B5-48AC4E4855AC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C9AB4D14-F827-4E0E-B7B5-48AC4E4855AC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C9AB4D14-F827-4E0E-B7B5-48AC4E4855AC}.Release|Any CPU.Build.0 = Release|Any CPU + {26CEEA81-E9A7-4904-BEBC-A3DBBF11F1A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {26CEEA81-E9A7-4904-BEBC-A3DBBF11F1A3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {26CEEA81-E9A7-4904-BEBC-A3DBBF11F1A3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {26CEEA81-E9A7-4904-BEBC-A3DBBF11F1A3}.Release|Any CPU.Build.0 = Release|Any CPU + {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU + {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU + {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection -EndGlobal +EndGlobal \ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 8dada3e..0000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/README.md b/README.md index b6f41bf..4306356 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,150 @@ -# AYLIEN News API +# AYLIEN News API - C# SDK -AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. +The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. Sign up at [https://newsapi.aylien.com/](https://newsapi.aylien.com/). For more documentation see [https://newsapi.aylien.com/docs/](https://newsapi.aylien.com/docs/). -## Bug Reports -If you've got a bug report, please contact us at support@aylien.com. +## Frameworks supported +- .NET 4.0 or later +- Windows Phone 7.1 (Mango) + +## Dependencies +- [FubarCoder](https://www.nuget.org/packages/FubarCoder.RestSharp.Portable.HttpClient) - 4.0.8 or later +- [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) - 12.0.2 or later + +The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages: +``` +Install-Package FubarCoder.RestSharp.Portable.HttpClient +Install-Package Newtonsoft.Json +``` + +NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742) + +## Installation +Run the following command to generate the DLL +- [Mac/Linux] `/bin/sh build.sh` +- [Windows] `build.bat` + +Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces: +```csharp +using Aylien.NewsApi.Api; +using Aylien.NewsApi.Client; +using Aylien.NewsApi.Model; +``` + +## Getting Started + +```csharp +using System; +using Aylien.NewsApi.Api; +using Aylien.NewsApi.Client; +using Aylien.NewsApi.Model; +using System.Collections.Generic; + +namespace GettingStartedExample +{ + class Program + { + static void Main(string[] args) + { + // Configure API key authorization: app_id + var apiId = System.Environment.GetEnvironmentVariable("X-AYLIEN-NewsAPI-Application-ID"); + Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-ID", apiId); + + // Configure API key authorization: app_key + var apiKey = System.Environment.GetEnvironmentVariable("X-AYLIEN-NewsAPI-Application-Key"); + Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-Key", apiKey); + + var apiInstance = new DefaultApi(); + + try + { + // List stories + Stories storiesResponse = apiInstance.ListStories( + title: "trump", + publishedAtStart: "NOW-7DAYS", + publishedAtEnd: "NOW", + language: new List { "en" }, + notLanguage: new List { "it", "es" }, + entitiesBodyLinksDbpedia: new List { + "http://dbpedia.org/resource/Donald_Trump", + "http://dbpedia.org/resource/Hillary_Rodham_Clinton" + }, + sortBy: "social_shares_count.facebook" + ); + + foreach (var story in storiesResponse._Stories) + { + Console.WriteLine(story.Title + " / " + story.Source.Name); + } + } + catch (Exception e) + { + Console.WriteLine("Exception when calling DefaultApi.ListStories: " + e.Message); + } + } + } +} +``` + +## Documentation for API Endpoints + +All URIs are relative to *https://api.aylien.com/news* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**ListAutocompletes**](docs/DefaultApi.md#listautocompletes) | **GET** /autocompletes | List autocompletes +*DefaultApi* | [**ListClusters**](docs/DefaultApi.md#listclusters) | **GET** /clusters | List Clusters +*DefaultApi* | [**ListCoverages**](docs/DefaultApi.md#listcoverages) | **GET** /coverages | List coverages +*DefaultApi* | [**ListHistograms**](docs/DefaultApi.md#listhistograms) | **GET** /histograms | List histograms +*DefaultApi* | [**ListRelatedStories**](docs/DefaultApi.md#listrelatedstories) | **GET** /related_stories | List related stories +*DefaultApi* | [**ListStories**](docs/DefaultApi.md#liststories) | **GET** /stories | List Stories +*DefaultApi* | [**ListTimeSeries**](docs/DefaultApi.md#listtimeseries) | **GET** /time_series | List time series +*DefaultApi* | [**ListTrends**](docs/DefaultApi.md#listtrends) | **GET** /trends | List trends + + + +## Documentation for Models + + - [Model.Author](docs/Author.md) + - [Model.Autocomplete](docs/Autocomplete.md) + - [Model.Autocompletes](docs/Autocompletes.md) + - [Model.Category](docs/Category.md) + - [Model.CategoryLinks](docs/CategoryLinks.md) + - [Model.Cluster](docs/Cluster.md) + - [Model.Clusters](docs/Clusters.md) + - [Model.Coverages](docs/Coverages.md) + - [Model.Entities](docs/Entities.md) + - [Model.Entity](docs/Entity.md) + - [Model.EntityLinks](docs/EntityLinks.md) + - [Model.Error](docs/Error.md) + - [Model.ErrorLinks](docs/ErrorLinks.md) + - [Model.Errors](docs/Errors.md) + - [Model.HistogramInterval](docs/HistogramInterval.md) + - [Model.Histograms](docs/Histograms.md) + - [Model.Location](docs/Location.md) + - [Model.Media](docs/Media.md) + - [Model.Rank](docs/Rank.md) + - [Model.Rankings](docs/Rankings.md) + - [Model.RelatedStories](docs/RelatedStories.md) + - [Model.RepresentativeStory](docs/RepresentativeStory.md) + - [Model.Scope](docs/Scope.md) + - [Model.Sentiment](docs/Sentiment.md) + - [Model.Sentiments](docs/Sentiments.md) + - [Model.ShareCount](docs/ShareCount.md) + - [Model.ShareCounts](docs/ShareCounts.md) + - [Model.Source](docs/Source.md) + - [Model.Stories](docs/Stories.md) + - [Model.Story](docs/Story.md) + - [Model.StoryCluster](docs/StoryCluster.md) + - [Model.StoryLinks](docs/StoryLinks.md) + - [Model.StoryTranslations](docs/StoryTranslations.md) + - [Model.StoryTranslationsEn](docs/StoryTranslationsEn.md) + - [Model.Summary](docs/Summary.md) + - [Model.TimeSeries](docs/TimeSeries.md) + - [Model.TimeSeriesList](docs/TimeSeriesList.md) + - [Model.Trend](docs/Trend.md) + - [Model.Trends](docs/Trends.md) + diff --git a/build.sh b/build.sh deleted file mode 100644 index d8837c9..0000000 --- a/build.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2017 Aylien, Inc. All Rights Reserved. - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# http://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -frameworkVersion=net45 -netfx=${frameworkVersion#net} - -wget -nc https://nuget.org/nuget.exe; -cert-sync --import --sync -mono nuget.exe install ./src/main/csharp/Aylien.NewsApi/packages.config -o vendor; -mkdir -p bin; - -mkdir bin/${frameworkVersion} - -# Rename RestSharp net4 to net40 -if [ ! -d "vendor/RestSharp.105.2.3/lib/${frameworkVersion}" ]; then - mv "vendor/RestSharp.105.2.3/lib/net4" "vendor/RestSharp.105.2.3/lib/${frameworkVersion}" -fi - -cp vendor/Newtonsoft.Json.8.0.3/lib/${frameworkVersion}/Newtonsoft.Json.dll bin/${frameworkVersion}/Newtonsoft.Json.dll; -cp vendor/RestSharp.105.2.3/lib/${frameworkVersion}/RestSharp.dll bin/${frameworkVersion}/RestSharp.dll; - -mcs -sdk:${netfx} -r:bin/${frameworkVersion}/Newtonsoft.Json.dll,\ -bin/${frameworkVersion}/RestSharp.dll,\ -System.ComponentModel.DataAnnotations.dll,\ -System.Runtime.Serialization.dll \ --target:library \ --out:bin/${frameworkVersion}/Aylien.NewsApi.dll \ --recurse:'src/*.cs' \ --doc:bin/${frameworkVersion}/Aylien.NewsApi.xml \ --platform:anycpu \ No newline at end of file diff --git a/docs/Author.md b/docs/Author.md index 79570d7..df313e9 100644 --- a/docs/Author.md +++ b/docs/Author.md @@ -1,11 +1,15 @@ + # Aylien.NewsApi.Model.Author + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **long?** | A unique identification for the author | [optional] -**Name** | **string** | The extracted author full name | [optional] **AvatarUrl** | **string** | A URL which points to the author avatar | [optional] +**Id** | **long** | A unique identification for the author | [optional] +**Name** | **string** | The extracted author full name | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Autocomplete.md b/docs/Autocomplete.md index e37ea90..8b7f766 100644 --- a/docs/Autocomplete.md +++ b/docs/Autocomplete.md @@ -1,4 +1,6 @@ + # Aylien.NewsApi.Model.Autocomplete + ## Properties Name | Type | Description | Notes @@ -6,5 +8,7 @@ Name | Type | Description | Notes **Id** | **string** | ID of the autocomplete | [optional] **Text** | **string** | Text of the autocomplete | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Autocompletes.md b/docs/Autocompletes.md index 6bb1135..1cccdcb 100644 --- a/docs/Autocompletes.md +++ b/docs/Autocompletes.md @@ -1,9 +1,13 @@ + # Aylien.NewsApi.Model.Autocompletes + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_Autocompletes** | [**List<Autocomplete>**](Autocomplete.md) | An array of autocompletes | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Category.md b/docs/Category.md index 213c088..23d0aab 100644 --- a/docs/Category.md +++ b/docs/Category.md @@ -1,14 +1,18 @@ + # Aylien.NewsApi.Model.Category + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Confident** | **bool** | It defines whether the extracted category is confident or not | [optional] **Id** | **string** | The ID of the category | [optional] +**Level** | **int** | The level of the category | [optional] +**Links** | [**CategoryLinks**](CategoryLinks.md) | | [optional] +**Score** | **double** | The score of the category | [optional] **Taxonomy** | **string** | The taxonomy of the category | [optional] -**Level** | **int?** | The level of the category | [optional] -**Score** | **double?** | The score of the category | [optional] -**Confident** | **bool?** | It defines whether the extracted category is confident or not | [optional] -**Links** | [**CategoryLinks**](CategoryLinks.md) | Related links for the category | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/CategoryLinks.md b/docs/CategoryLinks.md index 0cee533..dab6b20 100644 --- a/docs/CategoryLinks.md +++ b/docs/CategoryLinks.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.CategoryLinks + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Self** | **string** | A URL pointing to the category | [optional] **Parent** | **string** | A URL pointing to the parent category | [optional] +**Self** | **string** | A URL pointing to the category | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Cluster.md b/docs/Cluster.md new file mode 100644 index 0000000..425b6f3 --- /dev/null +++ b/docs/Cluster.md @@ -0,0 +1,19 @@ + +# Aylien.NewsApi.Model.Cluster + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EarliestStory** | **DateTime** | Publication date of the earliest story in cluster | [optional] +**Id** | **long** | ID of the cluster which is a unique identification | [optional] +**LatestStory** | **DateTime** | Publication date of the latest story in cluster | [optional] +**Location** | [**Location**](Location.md) | | [optional] +**RepresentativeStory** | [**RepresentativeStory**](RepresentativeStory.md) | | [optional] +**StoryCount** | **int** | Number of stories associated with the cluster | [optional] +**Time** | **DateTime** | Time of the event | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) + diff --git a/docs/Clusters.md b/docs/Clusters.md new file mode 100644 index 0000000..0640f7f --- /dev/null +++ b/docs/Clusters.md @@ -0,0 +1,15 @@ + +# Aylien.NewsApi.Model.Clusters + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ClusterCount** | **long** | The total number of clusters | [optional] +**_Clusters** | [**List<Cluster>**](Cluster.md) | An array of clusters | [optional] +**NextPageCursor** | **string** | The next page cursor | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) + diff --git a/docs/Coverages.md b/docs/Coverages.md index 5e903e0..ff5a86e 100644 --- a/docs/Coverages.md +++ b/docs/Coverages.md @@ -1,14 +1,17 @@ + # Aylien.NewsApi.Model.Coverages + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**StoryTitle** | **string** | The input story title | [optional] +**_Coverages** | [**List<Story>**](Story.md) | An array of coverages for the input story | [optional] **StoryBody** | **string** | The input story body | [optional] -**StoryPublishedAt** | **DateTime?** | The input story published date | [optional] **StoryLanguage** | **string** | The input story language | [optional] -**_Coverages** | [**List<Story>**](Story.md) | An array of coverages for the input story | [optional] -**Clusters** | [**List<StoryCluster>**](StoryCluster.md) | An array of clusters | [optional] +**StoryPublishedAt** | **DateTime** | The input story published date | [optional] +**StoryTitle** | **string** | The input story title | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index d9981d8..f4e605c 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -1,29 +1,32 @@ # Aylien.NewsApi.Api.DefaultApi -All URIs are relative to *https://api.newsapi.aylien.com/api/v1* +All URIs are relative to *https://api.aylien.com/news* Method | HTTP request | Description ------------- | ------------- | ------------- [**ListAutocompletes**](DefaultApi.md#listautocompletes) | **GET** /autocompletes | List autocompletes -[**ListCoverages**](DefaultApi.md#listcoverages) | **POST** /coverages | List coverages +[**ListClusters**](DefaultApi.md#listclusters) | **GET** /clusters | List Clusters +[**ListCoverages**](DefaultApi.md#listcoverages) | **GET** /coverages | List coverages [**ListHistograms**](DefaultApi.md#listhistograms) | **GET** /histograms | List histograms -[**ListRelatedStories**](DefaultApi.md#listrelatedstories) | **POST** /related_stories | List related stories +[**ListRelatedStories**](DefaultApi.md#listrelatedstories) | **GET** /related_stories | List related stories [**ListStories**](DefaultApi.md#liststories) | **GET** /stories | List Stories [**ListTimeSeries**](DefaultApi.md#listtimeseries) | **GET** /time_series | List time series [**ListTrends**](DefaultApi.md#listtrends) | **GET** /trends | List trends - -# **ListAutocompletes** + +## ListAutocompletes + > Autocompletes ListAutocompletes (string type, string term, string language = null, int? perPage = null) List autocompletes -This endpoint is used for getting list of autocompletes by providing a specific term and type. +The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. ### Example + ```csharp -using System; +using System.Collections.Generic; using System.Diagnostics; using Aylien.NewsApi.Api; using Aylien.NewsApi.Client; @@ -33,35 +36,35 @@ namespace Example { public class ListAutocompletesExample { - static void Main(string[] args) + public static void Main() { + Configuration.Default.BasePath = "https://api.aylien.com/news"; // Configure API key authorization: app_id - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-ID", "YOUR_APP_ID"); - + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-ID", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-ID", "Bearer"); // Configure API key authorization: app_key - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-Key", "YOUR_APP_KEY"); - - var apiInstance = new DefaultApi(); + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-Key", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-Key", "Bearer"); - var type = type_example; - var term = term_example; - var language = language_example; - var perPage = 56; + var apiInstance = new DefaultApi(Configuration.Default); + var type = source_names; // string | This parameter is used for defining the type of autocompletes. + var term = News; // string | This parameter is used for finding autocomplete objects that contain the specified value. + var language = language_example; // string | This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) (default to en) + var perPage = 56; // int? | This parameter is used for specifying number of items in each page. (optional) (default to 3) try { // List autocompletes - Autocompletes result = apiInstance.ListAutocompletes( - type: type, - term: term, - language: language, - perPage: perPage - ); + Autocompletes result = apiInstance.ListAutocompletes(type, term, language, perPage); Debug.WriteLine(result); } - catch (Exception e) + catch (ApiException e) { Debug.Print("Exception when calling DefaultApi.ListAutocompletes: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); } } } @@ -70,12 +73,13 @@ namespace Example ### Parameters + Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **type** | **string**| This parameter is used for defining the type of autocompletes. | [enum: source_names, source_domains, entity_types, dbpedia_resources] - **term** | **string**| This parameter is used for finding autocomplete objects that contain the specified value. | - **language** | **string**| This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [default to en] [enum: en, de, fr, it, es, pt] - **perPage** | **int?**| This parameter is used for specifying number of items in each page. | [optional] [default to 3] + **type** | **string**| This parameter is used for defining the type of autocompletes. | + **term** | **string**| This parameter is used for finding autocomplete objects that contain the specified value. | + **language** | **string**| This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [default to en] + **perPage** | **int?**| This parameter is used for specifying number of items in each page. | [optional] [default to 3] ### Return type @@ -83,26 +87,152 @@ Name | Type | Description | Notes ### Authorization -[app_key](../README.md#app_key), [app_id](../README.md#app_id) +[app_id](../README.md#app_id), [app_key](../README.md#app_key) ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json, text/xml +- **Content-Type**: Not defined +- **Accept**: application/json, text/xml + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | An object including an array of autocompletes | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **401** | Unauthorized | - | +| **404** | Not Found | - | +| **422** | Unprocessable Entity | - | +| **492** | Too Many Requests | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **500** | Internal Server Error | - | + +[[Back to top]](#) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListClusters + +> Clusters ListClusters (List id = null, List notId = null, int? storyCountMin = null, int? storyCountMax = null, string timeStart = null, string timeEnd = null, string earliestStoryStart = null, string earliestStoryEnd = null, string latestStoryStart = null, string latestStoryEnd = null, List locationCountry = null, List notLocationCountry = null) + +List Clusters + +The clusters endpoint is used to return clusters based on parameters you set in your query. + +### Example + +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Aylien.NewsApi.Api; +using Aylien.NewsApi.Client; +using Aylien.NewsApi.Model; + +namespace Example +{ + public class ListClustersExample + { + public static void Main() + { + Configuration.Default.BasePath = "https://api.aylien.com/news"; + // Configure API key authorization: app_id + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-ID", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-ID", "Bearer"); + // Configure API key authorization: app_key + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-Key", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-Key", "Bearer"); + + var apiInstance = new DefaultApi(Configuration.Default); + var id = new List(); // List | This parameter is used for finding clusters by cluster id. (optional) + var notId = new List(); // List | This parameter is used for excluding clusters by cluster id. (optional) + var storyCountMin = 56; // int? | This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + var storyCountMax = 56; // int? | This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + var timeStart = timeStart_example; // string | This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var timeEnd = timeEnd_example; // string | This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var earliestStoryStart = earliestStoryStart_example; // string | This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var earliestStoryEnd = earliestStoryEnd_example; // string | This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var latestStoryStart = latestStoryStart_example; // string | This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var latestStoryEnd = latestStoryEnd_example; // string | This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var locationCountry = new List(); // List | This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notLocationCountry = new List(); // List | This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + + try + { + // List Clusters + Clusters result = apiInstance.ListClusters(id, notId, storyCountMin, storyCountMax, timeStart, timeEnd, earliestStoryStart, earliestStoryEnd, latestStoryStart, latestStoryEnd, locationCountry, notLocationCountry); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling DefaultApi.ListClusters: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ListCoverages** -> Coverages ListCoverages (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null) +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**List<long>**](long.md)| This parameter is used for finding clusters by cluster id. | [optional] + **notId** | [**List<long>**](long.md)| This parameter is used for excluding clusters by cluster id. | [optional] + **storyCountMin** | **int?**| This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. | [optional] + **storyCountMax** | **int?**| This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. | [optional] + **timeStart** | **string**| This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **timeEnd** | **string**| This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **earliestStoryStart** | **string**| This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **earliestStoryEnd** | **string**| This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **latestStoryStart** | **string**| This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **latestStoryEnd** | **string**| This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **locationCountry** | [**List<string>**](string.md)| This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notLocationCountry** | [**List<string>**](string.md)| This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + +### Return type + +[**Clusters**](Clusters.md) + +### Authorization + +[app_id](../README.md#app_id), [app_key](../README.md#app_key) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, text/xml + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | An object including an array of clusters | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **401** | Unauthorized | - | +| **404** | Not Found | - | +| **422** | Unprocessable Entity | - | +| **492** | Too Many Requests | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **500** | Internal Server Error | - | + +[[Back to top]](#) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListCoverages + +> Coverages ListCoverages (List id = null, List notId = null, string title = null, string body = null, string text = null, string translationsEnTitle = null, string translationsEnBody = null, string translationsEnText = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, List clusters = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null) List coverages -This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. +The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. ### Example + ```csharp -using System; +using System.Collections.Generic; using System.Diagnostics; using Aylien.NewsApi.Api; using Aylien.NewsApi.Client; @@ -112,207 +242,123 @@ namespace Example { public class ListCoveragesExample { - static void Main(string[] args) + public static void Main() { + Configuration.Default.BasePath = "https://api.aylien.com/news"; // Configure API key authorization: app_id - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-ID", "YOUR_APP_ID"); - + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-ID", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-ID", "Bearer"); // Configure API key authorization: app_key - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-Key", "YOUR_APP_KEY"); - - var apiInstance = new DefaultApi(); - - var id = new List(); - var notId = new List(); - var title = title_example; - var body = body_example; - var text = text_example; - var language = new List(); - var notLanguage = new List(); - var publishedAtStart = publishedAtStart_example; - var publishedAtEnd = publishedAtEnd_example; - var categoriesTaxonomy = categoriesTaxonomy_example; - var categoriesConfident = true; - var categoriesId = new List(); - var notCategoriesId = new List(); - var categoriesLevel = new List(); - var notCategoriesLevel = new List(); - var entitiesTitleText = new List(); - var notEntitiesTitleText = new List(); - var entitiesTitleType = new List(); - var notEntitiesTitleType = new List(); - var entitiesTitleLinksDbpedia = new List(); - var notEntitiesTitleLinksDbpedia = new List(); - var entitiesBodyText = new List(); - var notEntitiesBodyText = new List(); - var entitiesBodyType = new List(); - var notEntitiesBodyType = new List(); - var entitiesBodyLinksDbpedia = new List(); - var notEntitiesBodyLinksDbpedia = new List(); - var sentimentTitlePolarity = sentimentTitlePolarity_example; - var notSentimentTitlePolarity = notSentimentTitlePolarity_example; - var sentimentBodyPolarity = sentimentBodyPolarity_example; - var notSentimentBodyPolarity = notSentimentBodyPolarity_example; - var mediaImagesCountMin = 56; - var mediaImagesCountMax = 56; - var mediaImagesWidthMin = 56; - var mediaImagesWidthMax = 56; - var mediaImagesHeightMin = 56; - var mediaImagesHeightMax = 56; - var mediaImagesContentLengthMin = 56; - var mediaImagesContentLengthMax = 56; - var mediaImagesFormat = new List(); - var notMediaImagesFormat = new List(); - var mediaVideosCountMin = 56; - var mediaVideosCountMax = 56; - var authorId = new List(); - var notAuthorId = new List(); - var authorName = authorName_example; - var notAuthorName = notAuthorName_example; - var sourceId = new List(); - var notSourceId = new List(); - var sourceName = new List(); - var notSourceName = new List(); - var sourceDomain = new List(); - var notSourceDomain = new List(); - var sourceLocationsCountry = new List(); - var notSourceLocationsCountry = new List(); - var sourceLocationsState = new List(); - var notSourceLocationsState = new List(); - var sourceLocationsCity = new List(); - var notSourceLocationsCity = new List(); - var sourceScopesCountry = new List(); - var notSourceScopesCountry = new List(); - var sourceScopesState = new List(); - var notSourceScopesState = new List(); - var sourceScopesCity = new List(); - var notSourceScopesCity = new List(); - var sourceScopesLevel = new List(); - var notSourceScopesLevel = new List(); - var sourceLinksInCountMin = 56; - var sourceLinksInCountMax = 56; - var sourceRankingsAlexaRankMin = 56; - var sourceRankingsAlexaRankMax = 56; - var sourceRankingsAlexaCountry = new List(); - var socialSharesCountFacebookMin = 56; - var socialSharesCountFacebookMax = 56; - var socialSharesCountGooglePlusMin = 56; - var socialSharesCountGooglePlusMax = 56; - var socialSharesCountLinkedinMin = 56; - var socialSharesCountLinkedinMax = 56; - var socialSharesCountRedditMin = 56; - var socialSharesCountRedditMax = 56; - var cluster = true; - var clusterAlgorithm = clusterAlgorithm_example; - var _return = new List(); - var storyId = 789; - var storyUrl = storyUrl_example; - var storyTitle = storyTitle_example; - var storyBody = storyBody_example; - var storyPublishedAt = 2013-10-20T19:20:30+01:00; - var storyLanguage = storyLanguage_example; - var perPage = 56; + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-Key", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-Key", "Bearer"); + + var apiInstance = new DefaultApi(Configuration.Default); + var id = new List(); // List | This parameter is used for finding stories by story id. (optional) + var notId = new List(); // List | This parameter is used for excluding stories by story id. (optional) + var title = title_example; // string | This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var body = body_example; // string | This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var text = text_example; // string | This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnTitle = translationsEnTitle_example; // string | This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnBody = translationsEnBody_example; // string | This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnText = translationsEnText_example; // string | This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var language = language_example; // List | This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var notLanguage = language_example; // List | This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var publishedAtStart = publishedAtStart_example; // string | This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var publishedAtEnd = publishedAtEnd_example; // string | This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var categoriesTaxonomy = categoriesTaxonomy_example; // string | This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesConfident = true; // bool? | This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) (default to true) + var categoriesId = new List(); // List | This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesId = new List(); // List | This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesLevel = new List(); // List | This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesLevel = new List(); // List | This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var entitiesTitleText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var sentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for finding stories whose title sentiment is the specified value. (optional) + var notSentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + var sentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for finding stories whose body sentiment is the specified value. (optional) + var notSentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + var mediaImagesCountMin = 56; // int? | This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + var mediaImagesCountMax = 56; // int? | This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + var mediaImagesWidthMin = 56; // int? | This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + var mediaImagesWidthMax = 56; // int? | This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + var mediaImagesHeightMin = 56; // int? | This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + var mediaImagesHeightMax = 56; // int? | This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + var mediaImagesContentLengthMin = 56; // int? | This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + var mediaImagesContentLengthMax = 56; // int? | This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + var mediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for finding stories whose images format are the specified value. (optional) + var notMediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for excluding stories whose images format are the specified value. (optional) + var mediaVideosCountMin = 56; // int? | This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + var mediaVideosCountMax = 56; // int? | This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + var authorId = new List(); // List | This parameter is used for finding stories whose author id is the specified value. (optional) + var notAuthorId = new List(); // List | This parameter is used for excluding stories whose author id is the specified value. (optional) + var authorName = authorName_example; // string | This parameter is used for finding stories whose author full name contains the specified value. (optional) + var notAuthorName = authorName_example; // string | This parameter is used for excluding stories whose author full name contains the specified value. (optional) + var sourceId = new List(); // List | This parameter is used for finding stories whose source id is the specified value. (optional) + var notSourceId = new List(); // List | This parameter is used for excluding stories whose source id is the specified value. (optional) + var sourceName = new List(); // List | This parameter is used for finding stories whose source name contains the specified value. (optional) + var notSourceName = new List(); // List | This parameter is used for excluding stories whose source name contains the specified value. (optional) + var sourceDomain = new List(); // List | This parameter is used for finding stories whose source domain is the specified value. (optional) + var notSourceDomain = new List(); // List | This parameter is used for excluding stories whose source domain is the specified value. (optional) + var sourceLocationsCountry = new List(); // List | This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCountry = new List(); // List | This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsState = new List(); // List | This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsState = new List(); // List | This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsCity = new List(); // List | This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCity = new List(); // List | This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCountry = new List(); // List | This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCountry = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesState = new List(); // List | This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesState = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCity = new List(); // List | This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCity = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLinksInCountMin = 56; // int? | This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceLinksInCountMax = 56; // int? | This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceRankingsAlexaRankMin = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaRankMax = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaCountry = new List(); // List | This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var socialSharesCountFacebookMin = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountFacebookMax = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMin = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMax = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + var socialSharesCountLinkedinMin = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountLinkedinMax = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + var socialSharesCountRedditMin = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountRedditMax = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + var clusters = new List(); // List | This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) + var _return = _return_example; // List | This parameter is used for specifying return fields. (optional) + var storyId = 789; // long? | A story id (optional) + var storyUrl = storyUrl_example; // string | An article or webpage (optional) + var storyTitle = storyTitle_example; // string | Title of the article (optional) + var storyBody = storyBody_example; // string | Body of the article (optional) + var storyPublishedAt = 2013-10-20T19:20:30+01:00; // DateTime? | Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + var storyLanguage = storyLanguage_example; // string | This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) (default to auto) + var perPage = 56; // int? | This parameter is used for specifying number of items in each page. (optional) (default to 3) try { // List coverages - Coverages result = apiInstance.ListCoverages( - id: id, - notId: notId, - title: title, - body: body, - text: text, - language: language, - notLanguage: notLanguage, - publishedAtStart: publishedAtStart, - publishedAtEnd: publishedAtEnd, - categoriesTaxonomy: categoriesTaxonomy, - categoriesConfident: categoriesConfident, - categoriesId: categoriesId, - notCategoriesId: notCategoriesId, - categoriesLevel: categoriesLevel, - notCategoriesLevel: notCategoriesLevel, - entitiesTitleText: entitiesTitleText, - notEntitiesTitleText: notEntitiesTitleText, - entitiesTitleType: entitiesTitleType, - notEntitiesTitleType: notEntitiesTitleType, - entitiesTitleLinksDbpedia: entitiesTitleLinksDbpedia, - notEntitiesTitleLinksDbpedia: notEntitiesTitleLinksDbpedia, - entitiesBodyText: entitiesBodyText, - notEntitiesBodyText: notEntitiesBodyText, - entitiesBodyType: entitiesBodyType, - notEntitiesBodyType: notEntitiesBodyType, - entitiesBodyLinksDbpedia: entitiesBodyLinksDbpedia, - notEntitiesBodyLinksDbpedia: notEntitiesBodyLinksDbpedia, - sentimentTitlePolarity: sentimentTitlePolarity, - notSentimentTitlePolarity: notSentimentTitlePolarity, - sentimentBodyPolarity: sentimentBodyPolarity, - notSentimentBodyPolarity: notSentimentBodyPolarity, - mediaImagesCountMin: mediaImagesCountMin, - mediaImagesCountMax: mediaImagesCountMax, - mediaImagesWidthMin: mediaImagesWidthMin, - mediaImagesWidthMax: mediaImagesWidthMax, - mediaImagesHeightMin: mediaImagesHeightMin, - mediaImagesHeightMax: mediaImagesHeightMax, - mediaImagesContentLengthMin: mediaImagesContentLengthMin, - mediaImagesContentLengthMax: mediaImagesContentLengthMax, - mediaImagesFormat: mediaImagesFormat, - notMediaImagesFormat: notMediaImagesFormat, - mediaVideosCountMin: mediaVideosCountMin, - mediaVideosCountMax: mediaVideosCountMax, - authorId: authorId, - notAuthorId: notAuthorId, - authorName: authorName, - notAuthorName: notAuthorName, - sourceId: sourceId, - notSourceId: notSourceId, - sourceName: sourceName, - notSourceName: notSourceName, - sourceDomain: sourceDomain, - notSourceDomain: notSourceDomain, - sourceLocationsCountry: sourceLocationsCountry, - notSourceLocationsCountry: notSourceLocationsCountry, - sourceLocationsState: sourceLocationsState, - notSourceLocationsState: notSourceLocationsState, - sourceLocationsCity: sourceLocationsCity, - notSourceLocationsCity: notSourceLocationsCity, - sourceScopesCountry: sourceScopesCountry, - notSourceScopesCountry: notSourceScopesCountry, - sourceScopesState: sourceScopesState, - notSourceScopesState: notSourceScopesState, - sourceScopesCity: sourceScopesCity, - notSourceScopesCity: notSourceScopesCity, - sourceScopesLevel: sourceScopesLevel, - notSourceScopesLevel: notSourceScopesLevel, - sourceLinksInCountMin: sourceLinksInCountMin, - sourceLinksInCountMax: sourceLinksInCountMax, - sourceRankingsAlexaRankMin: sourceRankingsAlexaRankMin, - sourceRankingsAlexaRankMax: sourceRankingsAlexaRankMax, - sourceRankingsAlexaCountry: sourceRankingsAlexaCountry, - socialSharesCountFacebookMin: socialSharesCountFacebookMin, - socialSharesCountFacebookMax: socialSharesCountFacebookMax, - socialSharesCountGooglePlusMin: socialSharesCountGooglePlusMin, - socialSharesCountGooglePlusMax: socialSharesCountGooglePlusMax, - socialSharesCountLinkedinMin: socialSharesCountLinkedinMin, - socialSharesCountLinkedinMax: socialSharesCountLinkedinMax, - socialSharesCountRedditMin: socialSharesCountRedditMin, - socialSharesCountRedditMax: socialSharesCountRedditMax, - cluster: cluster, - clusterAlgorithm: clusterAlgorithm, - _return: _return, - storyId: storyId, - storyUrl: storyUrl, - storyTitle: storyTitle, - storyBody: storyBody, - storyPublishedAt: storyPublishedAt, - storyLanguage: storyLanguage, - perPage: perPage - ); + Coverages result = apiInstance.ListCoverages(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, storyId, storyUrl, storyTitle, storyBody, storyPublishedAt, storyLanguage, perPage); Debug.WriteLine(result); } - catch (Exception e) + catch (ApiException e) { Debug.Print("Exception when calling DefaultApi.ListCoverages: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); } } } @@ -321,98 +367,101 @@ namespace Example ### Parameters + Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **List<long?>**| This parameter is used for finding stories by story id. | [optional] - **notId** | **List<long?>**| This parameter is used for excluding stories by story id. | [optional] - **title** | **string**| This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **body** | **string**| This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **text** | **string**| This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [enum: iab-qag, iptc-subjectcode] - **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] - **categoriesId** | **List<string>**| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesId** | **List<string>**| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **categoriesLevel** | **List<int?>**| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesLevel** | **List<int?>**| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **entitiesTitleText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] - **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] - **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] - **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] - **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] - **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] - **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] - **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] - **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] - **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] - **authorId** | **List<int?>**| This parameter is used for finding stories whose author id is the specified value. | [optional] - **notAuthorId** | **List<int?>**| This parameter is used for excluding stories whose author id is the specified value. | [optional] - **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] - **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] - **sourceId** | **List<int?>**| This parameter is used for finding stories whose source id is the specified value. | [optional] - **notSourceId** | **List<int?>**| This parameter is used for excluding stories whose source id is the specified value. | [optional] - **sourceName** | **List<string>**| This parameter is used for finding stories whose source name contains the specified value. | [optional] - **notSourceName** | **List<string>**| This parameter is used for excluding stories whose source name contains the specified value. | [optional] - **sourceDomain** | **List<string>**| This parameter is used for finding stories whose source domain is the specified value. | [optional] - **notSourceDomain** | **List<string>**| This parameter is used for excluding stories whose source domain is the specified value. | [optional] - **sourceLocationsCountry** | **List<string>**| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCountry** | **List<string>**| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsState** | **List<string>**| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsState** | **List<string>**| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsCity** | **List<string>**| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCity** | **List<string>**| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCountry** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCountry** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesState** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesState** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCity** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCity** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaCountry** | **List<string>**| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] - **cluster** | **bool?**| This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] [default to false] - **clusterAlgorithm** | **string**| This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] [default to lingo] [enum: stc, lingo, kmeans] - **_return** | **List<string>**| This parameter is used for specifying return fields. | [optional] [enum: id, title, body, summary, source, author, entities, keywords, hashtags, characters_count, words_count, sentences_count, paragraphs_count, categories, social_shares_count, media, sentiment, language, published_at, links] + **id** | [**List<long>**](long.md)| This parameter is used for finding stories by story id. | [optional] + **notId** | [**List<long>**](long.md)| This parameter is used for excluding stories by story id. | [optional] + **title** | **string**| This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **body** | **string**| This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **text** | **string**| This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnTitle** | **string**| This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnBody** | **string**| This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnText** | **string**| This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] + **categoriesId** | [**List<string>**](string.md)| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesId** | [**List<string>**](string.md)| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesLevel** | [**List<int>**](int.md)| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesLevel** | [**List<int>**](int.md)| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **entitiesTitleText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] + **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] + **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] + **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] + **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] + **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] + **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] + **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] + **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] + **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] + **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] + **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] + **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] + **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] + **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] + **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] + **authorId** | [**List<int>**](int.md)| This parameter is used for finding stories whose author id is the specified value. | [optional] + **notAuthorId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose author id is the specified value. | [optional] + **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] + **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] + **sourceId** | [**List<int>**](int.md)| This parameter is used for finding stories whose source id is the specified value. | [optional] + **notSourceId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose source id is the specified value. | [optional] + **sourceName** | [**List<string>**](string.md)| This parameter is used for finding stories whose source name contains the specified value. | [optional] + **notSourceName** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source name contains the specified value. | [optional] + **sourceDomain** | [**List<string>**](string.md)| This parameter is used for finding stories whose source domain is the specified value. | [optional] + **notSourceDomain** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source domain is the specified value. | [optional] + **sourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaCountry** | [**List<string>**](string.md)| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] + **clusters** | [**List<string>**](string.md)| This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] + **_return** | **List<string>**| This parameter is used for specifying return fields. | [optional] **storyId** | **long?**| A story id | [optional] **storyUrl** | **string**| An article or webpage | [optional] **storyTitle** | **string**| Title of the article | [optional] **storyBody** | **string**| Body of the article | [optional] - **storyPublishedAt** | **DateTime?**| Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). | [optional] - **storyLanguage** | **string**| This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [default to auto] [enum: auto, en, de, fr, it, es, pt] - **perPage** | **int?**| This parameter is used for specifying number of items in each page. | [optional] [default to 3] + **storyPublishedAt** | **DateTime?**| Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). | [optional] + **storyLanguage** | **string**| This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [default to auto] + **perPage** | **int?**| This parameter is used for specifying number of items in each page. | [optional] [default to 3] ### Return type @@ -420,26 +469,41 @@ Name | Type | Description | Notes ### Authorization -[app_key](../README.md#app_key), [app_id](../README.md#app_id) +[app_id](../README.md#app_id), [app_key](../README.md#app_key) ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json, text/xml +- **Content-Type**: Not defined +- **Accept**: application/json, text/xml + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | An object including an array of coverages | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **401** | Unauthorized | - | +| **404** | Not Found | - | +| **422** | Unprocessable Entity | - | +| **492** | Too Many Requests | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **500** | Internal Server Error | - | -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +[[Back to top]](#) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) - -# **ListHistograms** -> Histograms ListHistograms (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null) + +## ListHistograms + +> Histograms ListHistograms (List id = null, List notId = null, string title = null, string body = null, string text = null, string translationsEnTitle = null, string translationsEnBody = null, string translationsEnText = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null) List histograms -This endpoint is used for getting histograms based on the `field` parameter passed to the API. +For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. ### Example + ```csharp -using System; +using System.Collections.Generic; using System.Diagnostics; using Aylien.NewsApi.Api; using Aylien.NewsApi.Client; @@ -449,195 +513,118 @@ namespace Example { public class ListHistogramsExample { - static void Main(string[] args) + public static void Main() { + Configuration.Default.BasePath = "https://api.aylien.com/news"; // Configure API key authorization: app_id - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-ID", "YOUR_APP_ID"); - + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-ID", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-ID", "Bearer"); // Configure API key authorization: app_key - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-Key", "YOUR_APP_KEY"); - - var apiInstance = new DefaultApi(); - - var id = new List(); - var notId = new List(); - var title = title_example; - var body = body_example; - var text = text_example; - var language = new List(); - var notLanguage = new List(); - var publishedAtStart = publishedAtStart_example; - var publishedAtEnd = publishedAtEnd_example; - var categoriesTaxonomy = categoriesTaxonomy_example; - var categoriesConfident = true; - var categoriesId = new List(); - var notCategoriesId = new List(); - var categoriesLevel = new List(); - var notCategoriesLevel = new List(); - var entitiesTitleText = new List(); - var notEntitiesTitleText = new List(); - var entitiesTitleType = new List(); - var notEntitiesTitleType = new List(); - var entitiesTitleLinksDbpedia = new List(); - var notEntitiesTitleLinksDbpedia = new List(); - var entitiesBodyText = new List(); - var notEntitiesBodyText = new List(); - var entitiesBodyType = new List(); - var notEntitiesBodyType = new List(); - var entitiesBodyLinksDbpedia = new List(); - var notEntitiesBodyLinksDbpedia = new List(); - var sentimentTitlePolarity = sentimentTitlePolarity_example; - var notSentimentTitlePolarity = notSentimentTitlePolarity_example; - var sentimentBodyPolarity = sentimentBodyPolarity_example; - var notSentimentBodyPolarity = notSentimentBodyPolarity_example; - var mediaImagesCountMin = 56; - var mediaImagesCountMax = 56; - var mediaImagesWidthMin = 56; - var mediaImagesWidthMax = 56; - var mediaImagesHeightMin = 56; - var mediaImagesHeightMax = 56; - var mediaImagesContentLengthMin = 56; - var mediaImagesContentLengthMax = 56; - var mediaImagesFormat = new List(); - var notMediaImagesFormat = new List(); - var mediaVideosCountMin = 56; - var mediaVideosCountMax = 56; - var authorId = new List(); - var notAuthorId = new List(); - var authorName = authorName_example; - var notAuthorName = notAuthorName_example; - var sourceId = new List(); - var notSourceId = new List(); - var sourceName = new List(); - var notSourceName = new List(); - var sourceDomain = new List(); - var notSourceDomain = new List(); - var sourceLocationsCountry = new List(); - var notSourceLocationsCountry = new List(); - var sourceLocationsState = new List(); - var notSourceLocationsState = new List(); - var sourceLocationsCity = new List(); - var notSourceLocationsCity = new List(); - var sourceScopesCountry = new List(); - var notSourceScopesCountry = new List(); - var sourceScopesState = new List(); - var notSourceScopesState = new List(); - var sourceScopesCity = new List(); - var notSourceScopesCity = new List(); - var sourceScopesLevel = new List(); - var notSourceScopesLevel = new List(); - var sourceLinksInCountMin = 56; - var sourceLinksInCountMax = 56; - var sourceRankingsAlexaRankMin = 56; - var sourceRankingsAlexaRankMax = 56; - var sourceRankingsAlexaCountry = new List(); - var socialSharesCountFacebookMin = 56; - var socialSharesCountFacebookMax = 56; - var socialSharesCountGooglePlusMin = 56; - var socialSharesCountGooglePlusMax = 56; - var socialSharesCountLinkedinMin = 56; - var socialSharesCountLinkedinMax = 56; - var socialSharesCountRedditMin = 56; - var socialSharesCountRedditMax = 56; - var intervalStart = 56; - var intervalEnd = 56; - var intervalWidth = 56; - var field = field_example; + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-Key", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-Key", "Bearer"); + + var apiInstance = new DefaultApi(Configuration.Default); + var id = new List(); // List | This parameter is used for finding stories by story id. (optional) + var notId = new List(); // List | This parameter is used for excluding stories by story id. (optional) + var title = title_example; // string | This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var body = body_example; // string | This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var text = text_example; // string | This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnTitle = translationsEnTitle_example; // string | This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnBody = translationsEnBody_example; // string | This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnText = translationsEnText_example; // string | This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var language = language_example; // List | This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var notLanguage = language_example; // List | This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var publishedAtStart = publishedAtStart_example; // string | This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var publishedAtEnd = publishedAtEnd_example; // string | This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var categoriesTaxonomy = categoriesTaxonomy_example; // string | This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesConfident = true; // bool? | This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) (default to true) + var categoriesId = new List(); // List | This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesId = new List(); // List | This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesLevel = new List(); // List | This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesLevel = new List(); // List | This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var entitiesTitleText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var sentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for finding stories whose title sentiment is the specified value. (optional) + var notSentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + var sentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for finding stories whose body sentiment is the specified value. (optional) + var notSentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + var mediaImagesCountMin = 56; // int? | This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + var mediaImagesCountMax = 56; // int? | This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + var mediaImagesWidthMin = 56; // int? | This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + var mediaImagesWidthMax = 56; // int? | This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + var mediaImagesHeightMin = 56; // int? | This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + var mediaImagesHeightMax = 56; // int? | This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + var mediaImagesContentLengthMin = 56; // int? | This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + var mediaImagesContentLengthMax = 56; // int? | This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + var mediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for finding stories whose images format are the specified value. (optional) + var notMediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for excluding stories whose images format are the specified value. (optional) + var mediaVideosCountMin = 56; // int? | This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + var mediaVideosCountMax = 56; // int? | This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + var authorId = new List(); // List | This parameter is used for finding stories whose author id is the specified value. (optional) + var notAuthorId = new List(); // List | This parameter is used for excluding stories whose author id is the specified value. (optional) + var authorName = authorName_example; // string | This parameter is used for finding stories whose author full name contains the specified value. (optional) + var notAuthorName = authorName_example; // string | This parameter is used for excluding stories whose author full name contains the specified value. (optional) + var sourceId = new List(); // List | This parameter is used for finding stories whose source id is the specified value. (optional) + var notSourceId = new List(); // List | This parameter is used for excluding stories whose source id is the specified value. (optional) + var sourceName = new List(); // List | This parameter is used for finding stories whose source name contains the specified value. (optional) + var notSourceName = new List(); // List | This parameter is used for excluding stories whose source name contains the specified value. (optional) + var sourceDomain = new List(); // List | This parameter is used for finding stories whose source domain is the specified value. (optional) + var notSourceDomain = new List(); // List | This parameter is used for excluding stories whose source domain is the specified value. (optional) + var sourceLocationsCountry = new List(); // List | This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCountry = new List(); // List | This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsState = new List(); // List | This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsState = new List(); // List | This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsCity = new List(); // List | This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCity = new List(); // List | This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCountry = new List(); // List | This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCountry = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesState = new List(); // List | This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesState = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCity = new List(); // List | This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCity = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLinksInCountMin = 56; // int? | This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceLinksInCountMax = 56; // int? | This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceRankingsAlexaRankMin = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaRankMax = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaCountry = new List(); // List | This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var socialSharesCountFacebookMin = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountFacebookMax = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMin = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMax = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + var socialSharesCountLinkedinMin = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountLinkedinMax = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + var socialSharesCountRedditMin = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountRedditMax = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + var intervalStart = 56; // int? | This parameter is used for setting the start data point of histogram intervals. (optional) + var intervalEnd = 56; // int? | This parameter is used for setting the end data point of histogram intervals. (optional) + var intervalWidth = 56; // int? | This parameter is used for setting the width of histogram intervals. (optional) + var field = field_example; // string | This parameter is used for specifying the y-axis variable for the histogram. (optional) (default to social_shares_count) try { // List histograms - Histograms result = apiInstance.ListHistograms( - id: id, - notId: notId, - title: title, - body: body, - text: text, - language: language, - notLanguage: notLanguage, - publishedAtStart: publishedAtStart, - publishedAtEnd: publishedAtEnd, - categoriesTaxonomy: categoriesTaxonomy, - categoriesConfident: categoriesConfident, - categoriesId: categoriesId, - notCategoriesId: notCategoriesId, - categoriesLevel: categoriesLevel, - notCategoriesLevel: notCategoriesLevel, - entitiesTitleText: entitiesTitleText, - notEntitiesTitleText: notEntitiesTitleText, - entitiesTitleType: entitiesTitleType, - notEntitiesTitleType: notEntitiesTitleType, - entitiesTitleLinksDbpedia: entitiesTitleLinksDbpedia, - notEntitiesTitleLinksDbpedia: notEntitiesTitleLinksDbpedia, - entitiesBodyText: entitiesBodyText, - notEntitiesBodyText: notEntitiesBodyText, - entitiesBodyType: entitiesBodyType, - notEntitiesBodyType: notEntitiesBodyType, - entitiesBodyLinksDbpedia: entitiesBodyLinksDbpedia, - notEntitiesBodyLinksDbpedia: notEntitiesBodyLinksDbpedia, - sentimentTitlePolarity: sentimentTitlePolarity, - notSentimentTitlePolarity: notSentimentTitlePolarity, - sentimentBodyPolarity: sentimentBodyPolarity, - notSentimentBodyPolarity: notSentimentBodyPolarity, - mediaImagesCountMin: mediaImagesCountMin, - mediaImagesCountMax: mediaImagesCountMax, - mediaImagesWidthMin: mediaImagesWidthMin, - mediaImagesWidthMax: mediaImagesWidthMax, - mediaImagesHeightMin: mediaImagesHeightMin, - mediaImagesHeightMax: mediaImagesHeightMax, - mediaImagesContentLengthMin: mediaImagesContentLengthMin, - mediaImagesContentLengthMax: mediaImagesContentLengthMax, - mediaImagesFormat: mediaImagesFormat, - notMediaImagesFormat: notMediaImagesFormat, - mediaVideosCountMin: mediaVideosCountMin, - mediaVideosCountMax: mediaVideosCountMax, - authorId: authorId, - notAuthorId: notAuthorId, - authorName: authorName, - notAuthorName: notAuthorName, - sourceId: sourceId, - notSourceId: notSourceId, - sourceName: sourceName, - notSourceName: notSourceName, - sourceDomain: sourceDomain, - notSourceDomain: notSourceDomain, - sourceLocationsCountry: sourceLocationsCountry, - notSourceLocationsCountry: notSourceLocationsCountry, - sourceLocationsState: sourceLocationsState, - notSourceLocationsState: notSourceLocationsState, - sourceLocationsCity: sourceLocationsCity, - notSourceLocationsCity: notSourceLocationsCity, - sourceScopesCountry: sourceScopesCountry, - notSourceScopesCountry: notSourceScopesCountry, - sourceScopesState: sourceScopesState, - notSourceScopesState: notSourceScopesState, - sourceScopesCity: sourceScopesCity, - notSourceScopesCity: notSourceScopesCity, - sourceScopesLevel: sourceScopesLevel, - notSourceScopesLevel: notSourceScopesLevel, - sourceLinksInCountMin: sourceLinksInCountMin, - sourceLinksInCountMax: sourceLinksInCountMax, - sourceRankingsAlexaRankMin: sourceRankingsAlexaRankMin, - sourceRankingsAlexaRankMax: sourceRankingsAlexaRankMax, - sourceRankingsAlexaCountry: sourceRankingsAlexaCountry, - socialSharesCountFacebookMin: socialSharesCountFacebookMin, - socialSharesCountFacebookMax: socialSharesCountFacebookMax, - socialSharesCountGooglePlusMin: socialSharesCountGooglePlusMin, - socialSharesCountGooglePlusMax: socialSharesCountGooglePlusMax, - socialSharesCountLinkedinMin: socialSharesCountLinkedinMin, - socialSharesCountLinkedinMax: socialSharesCountLinkedinMax, - socialSharesCountRedditMin: socialSharesCountRedditMin, - socialSharesCountRedditMax: socialSharesCountRedditMax, - intervalStart: intervalStart, - intervalEnd: intervalEnd, - intervalWidth: intervalWidth, - field: field - ); + Histograms result = apiInstance.ListHistograms(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, intervalStart, intervalEnd, intervalWidth, field); Debug.WriteLine(result); } - catch (Exception e) + catch (ApiException e) { Debug.Print("Exception when calling DefaultApi.ListHistograms: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); } } } @@ -646,92 +633,96 @@ namespace Example ### Parameters + Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **List<long?>**| This parameter is used for finding stories by story id. | [optional] - **notId** | **List<long?>**| This parameter is used for excluding stories by story id. | [optional] - **title** | **string**| This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **body** | **string**| This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **text** | **string**| This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [enum: iab-qag, iptc-subjectcode] - **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] - **categoriesId** | **List<string>**| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesId** | **List<string>**| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **categoriesLevel** | **List<int?>**| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesLevel** | **List<int?>**| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **entitiesTitleText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] - **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] - **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] - **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] - **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] - **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] - **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] - **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] - **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] - **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] - **authorId** | **List<int?>**| This parameter is used for finding stories whose author id is the specified value. | [optional] - **notAuthorId** | **List<int?>**| This parameter is used for excluding stories whose author id is the specified value. | [optional] - **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] - **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] - **sourceId** | **List<int?>**| This parameter is used for finding stories whose source id is the specified value. | [optional] - **notSourceId** | **List<int?>**| This parameter is used for excluding stories whose source id is the specified value. | [optional] - **sourceName** | **List<string>**| This parameter is used for finding stories whose source name contains the specified value. | [optional] - **notSourceName** | **List<string>**| This parameter is used for excluding stories whose source name contains the specified value. | [optional] - **sourceDomain** | **List<string>**| This parameter is used for finding stories whose source domain is the specified value. | [optional] - **notSourceDomain** | **List<string>**| This parameter is used for excluding stories whose source domain is the specified value. | [optional] - **sourceLocationsCountry** | **List<string>**| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCountry** | **List<string>**| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsState** | **List<string>**| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsState** | **List<string>**| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsCity** | **List<string>**| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCity** | **List<string>**| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCountry** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCountry** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesState** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesState** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCity** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCity** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaCountry** | **List<string>**| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] - **intervalStart** | **int?**| This parameter is used for setting the start data point of histogram intervals. | [optional] - **intervalEnd** | **int?**| This parameter is used for setting the end data point of histogram intervals. | [optional] - **intervalWidth** | **int?**| This parameter is used for setting the width of histogram intervals. | [optional] - **field** | **string**| This parameter is used for specifying the y-axis variable for the histogram. | [optional] [default to social_shares_count] [enum: social_shares_count, social_shares_count.facebook, social_shares_count.linkedin, social_shares_count.reddit, social_shares_count.google_plus, characters_count, words_count, sentences_count, paragraphs_count, media.images.count, media.videos.count, source.links_in_count, source.rankings.alexa.rank, source.rankings.alexa.rank.AF, source.rankings.alexa.rank.AX, source.rankings.alexa.rank.AL, source.rankings.alexa.rank.DZ, source.rankings.alexa.rank.AS, source.rankings.alexa.rank.AD, source.rankings.alexa.rank.AO, source.rankings.alexa.rank.AI, source.rankings.alexa.rank.AQ, source.rankings.alexa.rank.AG, source.rankings.alexa.rank.AR, source.rankings.alexa.rank.AM, source.rankings.alexa.rank.AW, source.rankings.alexa.rank.AU, source.rankings.alexa.rank.AT, source.rankings.alexa.rank.AZ, source.rankings.alexa.rank.BS, source.rankings.alexa.rank.BH, source.rankings.alexa.rank.BD, source.rankings.alexa.rank.BB, source.rankings.alexa.rank.BY, source.rankings.alexa.rank.BE, source.rankings.alexa.rank.BZ, source.rankings.alexa.rank.BJ, source.rankings.alexa.rank.BM, source.rankings.alexa.rank.BT, source.rankings.alexa.rank.BO, source.rankings.alexa.rank.BQ, source.rankings.alexa.rank.BA, source.rankings.alexa.rank.BW, source.rankings.alexa.rank.BV, source.rankings.alexa.rank.BR, source.rankings.alexa.rank.IO, source.rankings.alexa.rank.BN, source.rankings.alexa.rank.BG, source.rankings.alexa.rank.BF, source.rankings.alexa.rank.BI, source.rankings.alexa.rank.KH, source.rankings.alexa.rank.CM, source.rankings.alexa.rank.CA, source.rankings.alexa.rank.CV, source.rankings.alexa.rank.KY, source.rankings.alexa.rank.CF, source.rankings.alexa.rank.TD, source.rankings.alexa.rank.CL, source.rankings.alexa.rank.CN, source.rankings.alexa.rank.CX, source.rankings.alexa.rank.CC, source.rankings.alexa.rank.CO, source.rankings.alexa.rank.KM, source.rankings.alexa.rank.CG, source.rankings.alexa.rank.CD, source.rankings.alexa.rank.CK, source.rankings.alexa.rank.CR, source.rankings.alexa.rank.CI, source.rankings.alexa.rank.HR, source.rankings.alexa.rank.CU, source.rankings.alexa.rank.CW, source.rankings.alexa.rank.CY, source.rankings.alexa.rank.CZ, source.rankings.alexa.rank.DK, source.rankings.alexa.rank.DJ, source.rankings.alexa.rank.DM, source.rankings.alexa.rank.DO, source.rankings.alexa.rank.EC, source.rankings.alexa.rank.EG, source.rankings.alexa.rank.SV, source.rankings.alexa.rank.GQ, source.rankings.alexa.rank.ER, source.rankings.alexa.rank.EE, source.rankings.alexa.rank.ET, source.rankings.alexa.rank.FK, source.rankings.alexa.rank.FO, source.rankings.alexa.rank.FJ, source.rankings.alexa.rank.FI, source.rankings.alexa.rank.FR, source.rankings.alexa.rank.GF, source.rankings.alexa.rank.PF, source.rankings.alexa.rank.TF, source.rankings.alexa.rank.GA, source.rankings.alexa.rank.GM, source.rankings.alexa.rank.GE, source.rankings.alexa.rank.DE, source.rankings.alexa.rank.GH, source.rankings.alexa.rank.GI, source.rankings.alexa.rank.GR, source.rankings.alexa.rank.GL, source.rankings.alexa.rank.GD, source.rankings.alexa.rank.GP, source.rankings.alexa.rank.GU, source.rankings.alexa.rank.GT, source.rankings.alexa.rank.GG, source.rankings.alexa.rank.GN, source.rankings.alexa.rank.GW, source.rankings.alexa.rank.GY, source.rankings.alexa.rank.HT, source.rankings.alexa.rank.HM, source.rankings.alexa.rank.VA, source.rankings.alexa.rank.HN, source.rankings.alexa.rank.HK, source.rankings.alexa.rank.HU, source.rankings.alexa.rank.IS, source.rankings.alexa.rank.IN, source.rankings.alexa.rank.ID, source.rankings.alexa.rank.IR, source.rankings.alexa.rank.IQ, source.rankings.alexa.rank.IE, source.rankings.alexa.rank.IM, source.rankings.alexa.rank.IL, source.rankings.alexa.rank.IT, source.rankings.alexa.rank.JM, source.rankings.alexa.rank.JP, source.rankings.alexa.rank.JE, source.rankings.alexa.rank.JO, source.rankings.alexa.rank.KZ, source.rankings.alexa.rank.KE, source.rankings.alexa.rank.KI, source.rankings.alexa.rank.KP, source.rankings.alexa.rank.KR, source.rankings.alexa.rank.KW, source.rankings.alexa.rank.KG, source.rankings.alexa.rank.LA, source.rankings.alexa.rank.LV, source.rankings.alexa.rank.LB, source.rankings.alexa.rank.LS, source.rankings.alexa.rank.LR, source.rankings.alexa.rank.LY, source.rankings.alexa.rank.LI, source.rankings.alexa.rank.LT, source.rankings.alexa.rank.LU, source.rankings.alexa.rank.MO, source.rankings.alexa.rank.MK, source.rankings.alexa.rank.MG, source.rankings.alexa.rank.MW, source.rankings.alexa.rank.MY, source.rankings.alexa.rank.MV, source.rankings.alexa.rank.ML, source.rankings.alexa.rank.MT, source.rankings.alexa.rank.MH, source.rankings.alexa.rank.MQ, source.rankings.alexa.rank.MR, source.rankings.alexa.rank.MU, source.rankings.alexa.rank.YT, source.rankings.alexa.rank.MX, source.rankings.alexa.rank.FM, source.rankings.alexa.rank.MD, source.rankings.alexa.rank.MC, source.rankings.alexa.rank.MN, source.rankings.alexa.rank.ME, source.rankings.alexa.rank.MS, source.rankings.alexa.rank.MA, source.rankings.alexa.rank.MZ, source.rankings.alexa.rank.MM, source.rankings.alexa.rank.NA, source.rankings.alexa.rank.NR, source.rankings.alexa.rank.NP, source.rankings.alexa.rank.NL, source.rankings.alexa.rank.NC, source.rankings.alexa.rank.NZ, source.rankings.alexa.rank.NI, source.rankings.alexa.rank.NE, source.rankings.alexa.rank.NG, source.rankings.alexa.rank.NU, source.rankings.alexa.rank.NF, source.rankings.alexa.rank.MP, source.rankings.alexa.rank.NO, source.rankings.alexa.rank.OM, source.rankings.alexa.rank.PK, source.rankings.alexa.rank.PW, source.rankings.alexa.rank.PS, source.rankings.alexa.rank.PA, source.rankings.alexa.rank.PG, source.rankings.alexa.rank.PY, source.rankings.alexa.rank.PE, source.rankings.alexa.rank.PH, source.rankings.alexa.rank.PN, source.rankings.alexa.rank.PL, source.rankings.alexa.rank.PT, source.rankings.alexa.rank.PR, source.rankings.alexa.rank.QA, source.rankings.alexa.rank.RE, source.rankings.alexa.rank.RO, source.rankings.alexa.rank.RU, source.rankings.alexa.rank.RW, source.rankings.alexa.rank.BL, source.rankings.alexa.rank.SH, source.rankings.alexa.rank.KN, source.rankings.alexa.rank.LC, source.rankings.alexa.rank.MF, source.rankings.alexa.rank.PM, source.rankings.alexa.rank.VC, source.rankings.alexa.rank.WS, source.rankings.alexa.rank.SM, source.rankings.alexa.rank.ST, source.rankings.alexa.rank.SA, source.rankings.alexa.rank.SN, source.rankings.alexa.rank.RS, source.rankings.alexa.rank.SC, source.rankings.alexa.rank.SL, source.rankings.alexa.rank.SG, source.rankings.alexa.rank.SX, source.rankings.alexa.rank.SK, source.rankings.alexa.rank.SI, source.rankings.alexa.rank.SB, source.rankings.alexa.rank.SO, source.rankings.alexa.rank.ZA, source.rankings.alexa.rank.GS, source.rankings.alexa.rank.SS, source.rankings.alexa.rank.ES, source.rankings.alexa.rank.LK, source.rankings.alexa.rank.SD, source.rankings.alexa.rank.SR, source.rankings.alexa.rank.SJ, source.rankings.alexa.rank.SZ, source.rankings.alexa.rank.SE, source.rankings.alexa.rank.CH, source.rankings.alexa.rank.SY, source.rankings.alexa.rank.TW, source.rankings.alexa.rank.TJ, source.rankings.alexa.rank.TZ, source.rankings.alexa.rank.TH, source.rankings.alexa.rank.TL, source.rankings.alexa.rank.TG, source.rankings.alexa.rank.TK, source.rankings.alexa.rank.TO, source.rankings.alexa.rank.TT, source.rankings.alexa.rank.TN, source.rankings.alexa.rank.TR, source.rankings.alexa.rank.TM, source.rankings.alexa.rank.TC, source.rankings.alexa.rank.TV, source.rankings.alexa.rank.UG, source.rankings.alexa.rank.UA, source.rankings.alexa.rank.AE, source.rankings.alexa.rank.GB, source.rankings.alexa.rank.US, source.rankings.alexa.rank.UM, source.rankings.alexa.rank.UY, source.rankings.alexa.rank.UZ, source.rankings.alexa.rank.VU, source.rankings.alexa.rank.VE, source.rankings.alexa.rank.VN, source.rankings.alexa.rank.VG, source.rankings.alexa.rank.VI, source.rankings.alexa.rank.WF, source.rankings.alexa.rank.EH, source.rankings.alexa.rank.YE, source.rankings.alexa.rank.ZM, source.rankings.alexa.rank.ZW] + **id** | [**List<long>**](long.md)| This parameter is used for finding stories by story id. | [optional] + **notId** | [**List<long>**](long.md)| This parameter is used for excluding stories by story id. | [optional] + **title** | **string**| This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **body** | **string**| This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **text** | **string**| This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnTitle** | **string**| This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnBody** | **string**| This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnText** | **string**| This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] + **categoriesId** | [**List<string>**](string.md)| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesId** | [**List<string>**](string.md)| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesLevel** | [**List<int>**](int.md)| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesLevel** | [**List<int>**](int.md)| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **entitiesTitleText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] + **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] + **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] + **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] + **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] + **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] + **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] + **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] + **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] + **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] + **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] + **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] + **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] + **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] + **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] + **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] + **authorId** | [**List<int>**](int.md)| This parameter is used for finding stories whose author id is the specified value. | [optional] + **notAuthorId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose author id is the specified value. | [optional] + **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] + **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] + **sourceId** | [**List<int>**](int.md)| This parameter is used for finding stories whose source id is the specified value. | [optional] + **notSourceId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose source id is the specified value. | [optional] + **sourceName** | [**List<string>**](string.md)| This parameter is used for finding stories whose source name contains the specified value. | [optional] + **notSourceName** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source name contains the specified value. | [optional] + **sourceDomain** | [**List<string>**](string.md)| This parameter is used for finding stories whose source domain is the specified value. | [optional] + **notSourceDomain** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source domain is the specified value. | [optional] + **sourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaCountry** | [**List<string>**](string.md)| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] + **intervalStart** | **int?**| This parameter is used for setting the start data point of histogram intervals. | [optional] + **intervalEnd** | **int?**| This parameter is used for setting the end data point of histogram intervals. | [optional] + **intervalWidth** | **int?**| This parameter is used for setting the width of histogram intervals. | [optional] + **field** | **string**| This parameter is used for specifying the y-axis variable for the histogram. | [optional] [default to social_shares_count] ### Return type @@ -739,26 +730,41 @@ Name | Type | Description | Notes ### Authorization -[app_key](../README.md#app_key), [app_id](../README.md#app_id) +[app_id](../README.md#app_id), [app_key](../README.md#app_key) ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json, text/xml +- **Content-Type**: Not defined +- **Accept**: application/json, text/xml + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | An object including an array of the histogram intervals | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **401** | Unauthorized | - | +| **404** | Not Found | - | +| **422** | Unprocessable Entity | - | +| **492** | Too Many Requests | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **500** | Internal Server Error | - | + +[[Back to top]](#) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +## ListRelatedStories - -# **ListRelatedStories** -> RelatedStories ListRelatedStories (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null) +> RelatedStories ListRelatedStories (List id = null, List notId = null, string title = null, string body = null, string text = null, string translationsEnTitle = null, string translationsEnBody = null, string translationsEnText = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, List clusters = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null) List related stories -This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. +This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. ### Example + ```csharp -using System; +using System.Collections.Generic; using System.Diagnostics; using Aylien.NewsApi.Api; using Aylien.NewsApi.Client; @@ -768,207 +774,123 @@ namespace Example { public class ListRelatedStoriesExample { - static void Main(string[] args) + public static void Main() { + Configuration.Default.BasePath = "https://api.aylien.com/news"; // Configure API key authorization: app_id - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-ID", "YOUR_APP_ID"); - + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-ID", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-ID", "Bearer"); // Configure API key authorization: app_key - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-Key", "YOUR_APP_KEY"); - - var apiInstance = new DefaultApi(); - - var id = new List(); - var notId = new List(); - var title = title_example; - var body = body_example; - var text = text_example; - var language = new List(); - var notLanguage = new List(); - var publishedAtStart = publishedAtStart_example; - var publishedAtEnd = publishedAtEnd_example; - var categoriesTaxonomy = categoriesTaxonomy_example; - var categoriesConfident = true; - var categoriesId = new List(); - var notCategoriesId = new List(); - var categoriesLevel = new List(); - var notCategoriesLevel = new List(); - var entitiesTitleText = new List(); - var notEntitiesTitleText = new List(); - var entitiesTitleType = new List(); - var notEntitiesTitleType = new List(); - var entitiesTitleLinksDbpedia = new List(); - var notEntitiesTitleLinksDbpedia = new List(); - var entitiesBodyText = new List(); - var notEntitiesBodyText = new List(); - var entitiesBodyType = new List(); - var notEntitiesBodyType = new List(); - var entitiesBodyLinksDbpedia = new List(); - var notEntitiesBodyLinksDbpedia = new List(); - var sentimentTitlePolarity = sentimentTitlePolarity_example; - var notSentimentTitlePolarity = notSentimentTitlePolarity_example; - var sentimentBodyPolarity = sentimentBodyPolarity_example; - var notSentimentBodyPolarity = notSentimentBodyPolarity_example; - var mediaImagesCountMin = 56; - var mediaImagesCountMax = 56; - var mediaImagesWidthMin = 56; - var mediaImagesWidthMax = 56; - var mediaImagesHeightMin = 56; - var mediaImagesHeightMax = 56; - var mediaImagesContentLengthMin = 56; - var mediaImagesContentLengthMax = 56; - var mediaImagesFormat = new List(); - var notMediaImagesFormat = new List(); - var mediaVideosCountMin = 56; - var mediaVideosCountMax = 56; - var authorId = new List(); - var notAuthorId = new List(); - var authorName = authorName_example; - var notAuthorName = notAuthorName_example; - var sourceId = new List(); - var notSourceId = new List(); - var sourceName = new List(); - var notSourceName = new List(); - var sourceDomain = new List(); - var notSourceDomain = new List(); - var sourceLocationsCountry = new List(); - var notSourceLocationsCountry = new List(); - var sourceLocationsState = new List(); - var notSourceLocationsState = new List(); - var sourceLocationsCity = new List(); - var notSourceLocationsCity = new List(); - var sourceScopesCountry = new List(); - var notSourceScopesCountry = new List(); - var sourceScopesState = new List(); - var notSourceScopesState = new List(); - var sourceScopesCity = new List(); - var notSourceScopesCity = new List(); - var sourceScopesLevel = new List(); - var notSourceScopesLevel = new List(); - var sourceLinksInCountMin = 56; - var sourceLinksInCountMax = 56; - var sourceRankingsAlexaRankMin = 56; - var sourceRankingsAlexaRankMax = 56; - var sourceRankingsAlexaCountry = new List(); - var socialSharesCountFacebookMin = 56; - var socialSharesCountFacebookMax = 56; - var socialSharesCountGooglePlusMin = 56; - var socialSharesCountGooglePlusMax = 56; - var socialSharesCountLinkedinMin = 56; - var socialSharesCountLinkedinMax = 56; - var socialSharesCountRedditMin = 56; - var socialSharesCountRedditMax = 56; - var cluster = true; - var clusterAlgorithm = clusterAlgorithm_example; - var _return = new List(); - var storyId = 789; - var storyUrl = storyUrl_example; - var storyTitle = storyTitle_example; - var storyBody = storyBody_example; - var boostBy = boostBy_example; - var storyLanguage = storyLanguage_example; - var perPage = 56; + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-Key", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-Key", "Bearer"); + + var apiInstance = new DefaultApi(Configuration.Default); + var id = new List(); // List | This parameter is used for finding stories by story id. (optional) + var notId = new List(); // List | This parameter is used for excluding stories by story id. (optional) + var title = title_example; // string | This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var body = body_example; // string | This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var text = text_example; // string | This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnTitle = translationsEnTitle_example; // string | This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnBody = translationsEnBody_example; // string | This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnText = translationsEnText_example; // string | This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var language = language_example; // List | This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var notLanguage = language_example; // List | This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var publishedAtStart = publishedAtStart_example; // string | This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var publishedAtEnd = publishedAtEnd_example; // string | This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var categoriesTaxonomy = categoriesTaxonomy_example; // string | This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesConfident = true; // bool? | This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) (default to true) + var categoriesId = new List(); // List | This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesId = new List(); // List | This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesLevel = new List(); // List | This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesLevel = new List(); // List | This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var entitiesTitleText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var sentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for finding stories whose title sentiment is the specified value. (optional) + var notSentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + var sentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for finding stories whose body sentiment is the specified value. (optional) + var notSentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + var mediaImagesCountMin = 56; // int? | This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + var mediaImagesCountMax = 56; // int? | This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + var mediaImagesWidthMin = 56; // int? | This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + var mediaImagesWidthMax = 56; // int? | This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + var mediaImagesHeightMin = 56; // int? | This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + var mediaImagesHeightMax = 56; // int? | This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + var mediaImagesContentLengthMin = 56; // int? | This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + var mediaImagesContentLengthMax = 56; // int? | This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + var mediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for finding stories whose images format are the specified value. (optional) + var notMediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for excluding stories whose images format are the specified value. (optional) + var mediaVideosCountMin = 56; // int? | This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + var mediaVideosCountMax = 56; // int? | This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + var authorId = new List(); // List | This parameter is used for finding stories whose author id is the specified value. (optional) + var notAuthorId = new List(); // List | This parameter is used for excluding stories whose author id is the specified value. (optional) + var authorName = authorName_example; // string | This parameter is used for finding stories whose author full name contains the specified value. (optional) + var notAuthorName = authorName_example; // string | This parameter is used for excluding stories whose author full name contains the specified value. (optional) + var sourceId = new List(); // List | This parameter is used for finding stories whose source id is the specified value. (optional) + var notSourceId = new List(); // List | This parameter is used for excluding stories whose source id is the specified value. (optional) + var sourceName = new List(); // List | This parameter is used for finding stories whose source name contains the specified value. (optional) + var notSourceName = new List(); // List | This parameter is used for excluding stories whose source name contains the specified value. (optional) + var sourceDomain = new List(); // List | This parameter is used for finding stories whose source domain is the specified value. (optional) + var notSourceDomain = new List(); // List | This parameter is used for excluding stories whose source domain is the specified value. (optional) + var sourceLocationsCountry = new List(); // List | This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCountry = new List(); // List | This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsState = new List(); // List | This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsState = new List(); // List | This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsCity = new List(); // List | This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCity = new List(); // List | This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCountry = new List(); // List | This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCountry = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesState = new List(); // List | This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesState = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCity = new List(); // List | This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCity = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLinksInCountMin = 56; // int? | This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceLinksInCountMax = 56; // int? | This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceRankingsAlexaRankMin = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaRankMax = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaCountry = new List(); // List | This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var socialSharesCountFacebookMin = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountFacebookMax = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMin = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMax = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + var socialSharesCountLinkedinMin = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountLinkedinMax = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + var socialSharesCountRedditMin = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountRedditMax = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + var clusters = new List(); // List | This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) + var _return = _return_example; // List | This parameter is used for specifying return fields. (optional) + var storyId = 789; // long? | A story id (optional) + var storyUrl = storyUrl_example; // string | An article or webpage (optional) + var storyTitle = storyTitle_example; // string | Title of the article (optional) + var storyBody = storyBody_example; // string | Body of the article (optional) + var boostBy = boostBy_example; // string | This parameter is used for boosting the result by the specified value. (optional) + var storyLanguage = storyLanguage_example; // string | This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) (default to auto) + var perPage = 56; // int? | This parameter is used for specifying number of items in each page. (optional) (default to 3) try { // List related stories - RelatedStories result = apiInstance.ListRelatedStories( - id: id, - notId: notId, - title: title, - body: body, - text: text, - language: language, - notLanguage: notLanguage, - publishedAtStart: publishedAtStart, - publishedAtEnd: publishedAtEnd, - categoriesTaxonomy: categoriesTaxonomy, - categoriesConfident: categoriesConfident, - categoriesId: categoriesId, - notCategoriesId: notCategoriesId, - categoriesLevel: categoriesLevel, - notCategoriesLevel: notCategoriesLevel, - entitiesTitleText: entitiesTitleText, - notEntitiesTitleText: notEntitiesTitleText, - entitiesTitleType: entitiesTitleType, - notEntitiesTitleType: notEntitiesTitleType, - entitiesTitleLinksDbpedia: entitiesTitleLinksDbpedia, - notEntitiesTitleLinksDbpedia: notEntitiesTitleLinksDbpedia, - entitiesBodyText: entitiesBodyText, - notEntitiesBodyText: notEntitiesBodyText, - entitiesBodyType: entitiesBodyType, - notEntitiesBodyType: notEntitiesBodyType, - entitiesBodyLinksDbpedia: entitiesBodyLinksDbpedia, - notEntitiesBodyLinksDbpedia: notEntitiesBodyLinksDbpedia, - sentimentTitlePolarity: sentimentTitlePolarity, - notSentimentTitlePolarity: notSentimentTitlePolarity, - sentimentBodyPolarity: sentimentBodyPolarity, - notSentimentBodyPolarity: notSentimentBodyPolarity, - mediaImagesCountMin: mediaImagesCountMin, - mediaImagesCountMax: mediaImagesCountMax, - mediaImagesWidthMin: mediaImagesWidthMin, - mediaImagesWidthMax: mediaImagesWidthMax, - mediaImagesHeightMin: mediaImagesHeightMin, - mediaImagesHeightMax: mediaImagesHeightMax, - mediaImagesContentLengthMin: mediaImagesContentLengthMin, - mediaImagesContentLengthMax: mediaImagesContentLengthMax, - mediaImagesFormat: mediaImagesFormat, - notMediaImagesFormat: notMediaImagesFormat, - mediaVideosCountMin: mediaVideosCountMin, - mediaVideosCountMax: mediaVideosCountMax, - authorId: authorId, - notAuthorId: notAuthorId, - authorName: authorName, - notAuthorName: notAuthorName, - sourceId: sourceId, - notSourceId: notSourceId, - sourceName: sourceName, - notSourceName: notSourceName, - sourceDomain: sourceDomain, - notSourceDomain: notSourceDomain, - sourceLocationsCountry: sourceLocationsCountry, - notSourceLocationsCountry: notSourceLocationsCountry, - sourceLocationsState: sourceLocationsState, - notSourceLocationsState: notSourceLocationsState, - sourceLocationsCity: sourceLocationsCity, - notSourceLocationsCity: notSourceLocationsCity, - sourceScopesCountry: sourceScopesCountry, - notSourceScopesCountry: notSourceScopesCountry, - sourceScopesState: sourceScopesState, - notSourceScopesState: notSourceScopesState, - sourceScopesCity: sourceScopesCity, - notSourceScopesCity: notSourceScopesCity, - sourceScopesLevel: sourceScopesLevel, - notSourceScopesLevel: notSourceScopesLevel, - sourceLinksInCountMin: sourceLinksInCountMin, - sourceLinksInCountMax: sourceLinksInCountMax, - sourceRankingsAlexaRankMin: sourceRankingsAlexaRankMin, - sourceRankingsAlexaRankMax: sourceRankingsAlexaRankMax, - sourceRankingsAlexaCountry: sourceRankingsAlexaCountry, - socialSharesCountFacebookMin: socialSharesCountFacebookMin, - socialSharesCountFacebookMax: socialSharesCountFacebookMax, - socialSharesCountGooglePlusMin: socialSharesCountGooglePlusMin, - socialSharesCountGooglePlusMax: socialSharesCountGooglePlusMax, - socialSharesCountLinkedinMin: socialSharesCountLinkedinMin, - socialSharesCountLinkedinMax: socialSharesCountLinkedinMax, - socialSharesCountRedditMin: socialSharesCountRedditMin, - socialSharesCountRedditMax: socialSharesCountRedditMax, - cluster: cluster, - clusterAlgorithm: clusterAlgorithm, - _return: _return, - storyId: storyId, - storyUrl: storyUrl, - storyTitle: storyTitle, - storyBody: storyBody, - boostBy: boostBy, - storyLanguage: storyLanguage, - perPage: perPage - ); + RelatedStories result = apiInstance.ListRelatedStories(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, storyId, storyUrl, storyTitle, storyBody, boostBy, storyLanguage, perPage); Debug.WriteLine(result); } - catch (Exception e) + catch (ApiException e) { Debug.Print("Exception when calling DefaultApi.ListRelatedStories: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); } } } @@ -977,98 +899,101 @@ namespace Example ### Parameters + Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **List<long?>**| This parameter is used for finding stories by story id. | [optional] - **notId** | **List<long?>**| This parameter is used for excluding stories by story id. | [optional] - **title** | **string**| This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **body** | **string**| This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **text** | **string**| This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [enum: iab-qag, iptc-subjectcode] - **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] - **categoriesId** | **List<string>**| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesId** | **List<string>**| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **categoriesLevel** | **List<int?>**| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesLevel** | **List<int?>**| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **entitiesTitleText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] - **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] - **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] - **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] - **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] - **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] - **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] - **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] - **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] - **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] - **authorId** | **List<int?>**| This parameter is used for finding stories whose author id is the specified value. | [optional] - **notAuthorId** | **List<int?>**| This parameter is used for excluding stories whose author id is the specified value. | [optional] - **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] - **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] - **sourceId** | **List<int?>**| This parameter is used for finding stories whose source id is the specified value. | [optional] - **notSourceId** | **List<int?>**| This parameter is used for excluding stories whose source id is the specified value. | [optional] - **sourceName** | **List<string>**| This parameter is used for finding stories whose source name contains the specified value. | [optional] - **notSourceName** | **List<string>**| This parameter is used for excluding stories whose source name contains the specified value. | [optional] - **sourceDomain** | **List<string>**| This parameter is used for finding stories whose source domain is the specified value. | [optional] - **notSourceDomain** | **List<string>**| This parameter is used for excluding stories whose source domain is the specified value. | [optional] - **sourceLocationsCountry** | **List<string>**| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCountry** | **List<string>**| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsState** | **List<string>**| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsState** | **List<string>**| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsCity** | **List<string>**| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCity** | **List<string>**| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCountry** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCountry** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesState** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesState** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCity** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCity** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaCountry** | **List<string>**| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] - **cluster** | **bool?**| This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] [default to false] - **clusterAlgorithm** | **string**| This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] [default to lingo] [enum: stc, lingo, kmeans] - **_return** | **List<string>**| This parameter is used for specifying return fields. | [optional] [enum: id, title, body, summary, source, author, entities, keywords, hashtags, characters_count, words_count, sentences_count, paragraphs_count, categories, social_shares_count, media, sentiment, language, published_at, links] + **id** | [**List<long>**](long.md)| This parameter is used for finding stories by story id. | [optional] + **notId** | [**List<long>**](long.md)| This parameter is used for excluding stories by story id. | [optional] + **title** | **string**| This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **body** | **string**| This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **text** | **string**| This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnTitle** | **string**| This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnBody** | **string**| This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnText** | **string**| This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] + **categoriesId** | [**List<string>**](string.md)| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesId** | [**List<string>**](string.md)| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesLevel** | [**List<int>**](int.md)| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesLevel** | [**List<int>**](int.md)| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **entitiesTitleText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] + **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] + **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] + **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] + **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] + **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] + **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] + **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] + **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] + **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] + **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] + **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] + **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] + **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] + **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] + **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] + **authorId** | [**List<int>**](int.md)| This parameter is used for finding stories whose author id is the specified value. | [optional] + **notAuthorId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose author id is the specified value. | [optional] + **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] + **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] + **sourceId** | [**List<int>**](int.md)| This parameter is used for finding stories whose source id is the specified value. | [optional] + **notSourceId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose source id is the specified value. | [optional] + **sourceName** | [**List<string>**](string.md)| This parameter is used for finding stories whose source name contains the specified value. | [optional] + **notSourceName** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source name contains the specified value. | [optional] + **sourceDomain** | [**List<string>**](string.md)| This parameter is used for finding stories whose source domain is the specified value. | [optional] + **notSourceDomain** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source domain is the specified value. | [optional] + **sourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaCountry** | [**List<string>**](string.md)| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] + **clusters** | [**List<string>**](string.md)| This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] + **_return** | **List<string>**| This parameter is used for specifying return fields. | [optional] **storyId** | **long?**| A story id | [optional] **storyUrl** | **string**| An article or webpage | [optional] **storyTitle** | **string**| Title of the article | [optional] **storyBody** | **string**| Body of the article | [optional] - **boostBy** | **string**| This parameter is used for boosting the result by the specified value. | [optional] [enum: recency, popularity] - **storyLanguage** | **string**| This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [default to auto] [enum: auto, en, de, fr, it, es, pt] - **perPage** | **int?**| This parameter is used for specifying number of items in each page. | [optional] [default to 3] + **boostBy** | **string**| This parameter is used for boosting the result by the specified value. | [optional] + **storyLanguage** | **string**| This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [default to auto] + **perPage** | **int?**| This parameter is used for specifying number of items in each page. | [optional] [default to 3] ### Return type @@ -1076,26 +1001,41 @@ Name | Type | Description | Notes ### Authorization -[app_key](../README.md#app_key), [app_id](../README.md#app_id) +[app_id](../README.md#app_id), [app_key](../README.md#app_key) ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json, text/xml +- **Content-Type**: Not defined +- **Accept**: application/json, text/xml + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | An object including an array of related stories | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **401** | Unauthorized | - | +| **404** | Not Found | - | +| **422** | Unprocessable Entity | - | +| **492** | Too Many Requests | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **500** | Internal Server Error | - | + +[[Back to top]](#) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +## ListStories - -# **ListStories** -> Stories ListStories (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null) +> Stories ListStories (List id = null, List notId = null, string title = null, string body = null, string text = null, string translationsEnTitle = null, string translationsEnBody = null, string translationsEnText = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, List clusters = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null) List Stories -This endpoint is used for getting a list of stories. +The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. ### Example + ```csharp -using System; +using System.Collections.Generic; using System.Diagnostics; using Aylien.NewsApi.Api; using Aylien.NewsApi.Client; @@ -1105,201 +1045,120 @@ namespace Example { public class ListStoriesExample { - static void Main(string[] args) + public static void Main() { + Configuration.Default.BasePath = "https://api.aylien.com/news"; // Configure API key authorization: app_id - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-ID", "YOUR_APP_ID"); - + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-ID", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-ID", "Bearer"); // Configure API key authorization: app_key - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-Key", "YOUR_APP_KEY"); - - var apiInstance = new DefaultApi(); - - var id = new List(); - var notId = new List(); - var title = title_example; - var body = body_example; - var text = text_example; - var language = new List(); - var notLanguage = new List(); - var publishedAtStart = publishedAtStart_example; - var publishedAtEnd = publishedAtEnd_example; - var categoriesTaxonomy = categoriesTaxonomy_example; - var categoriesConfident = true; - var categoriesId = new List(); - var notCategoriesId = new List(); - var categoriesLevel = new List(); - var notCategoriesLevel = new List(); - var entitiesTitleText = new List(); - var notEntitiesTitleText = new List(); - var entitiesTitleType = new List(); - var notEntitiesTitleType = new List(); - var entitiesTitleLinksDbpedia = new List(); - var notEntitiesTitleLinksDbpedia = new List(); - var entitiesBodyText = new List(); - var notEntitiesBodyText = new List(); - var entitiesBodyType = new List(); - var notEntitiesBodyType = new List(); - var entitiesBodyLinksDbpedia = new List(); - var notEntitiesBodyLinksDbpedia = new List(); - var sentimentTitlePolarity = sentimentTitlePolarity_example; - var notSentimentTitlePolarity = notSentimentTitlePolarity_example; - var sentimentBodyPolarity = sentimentBodyPolarity_example; - var notSentimentBodyPolarity = notSentimentBodyPolarity_example; - var mediaImagesCountMin = 56; - var mediaImagesCountMax = 56; - var mediaImagesWidthMin = 56; - var mediaImagesWidthMax = 56; - var mediaImagesHeightMin = 56; - var mediaImagesHeightMax = 56; - var mediaImagesContentLengthMin = 56; - var mediaImagesContentLengthMax = 56; - var mediaImagesFormat = new List(); - var notMediaImagesFormat = new List(); - var mediaVideosCountMin = 56; - var mediaVideosCountMax = 56; - var authorId = new List(); - var notAuthorId = new List(); - var authorName = authorName_example; - var notAuthorName = notAuthorName_example; - var sourceId = new List(); - var notSourceId = new List(); - var sourceName = new List(); - var notSourceName = new List(); - var sourceDomain = new List(); - var notSourceDomain = new List(); - var sourceLocationsCountry = new List(); - var notSourceLocationsCountry = new List(); - var sourceLocationsState = new List(); - var notSourceLocationsState = new List(); - var sourceLocationsCity = new List(); - var notSourceLocationsCity = new List(); - var sourceScopesCountry = new List(); - var notSourceScopesCountry = new List(); - var sourceScopesState = new List(); - var notSourceScopesState = new List(); - var sourceScopesCity = new List(); - var notSourceScopesCity = new List(); - var sourceScopesLevel = new List(); - var notSourceScopesLevel = new List(); - var sourceLinksInCountMin = 56; - var sourceLinksInCountMax = 56; - var sourceRankingsAlexaRankMin = 56; - var sourceRankingsAlexaRankMax = 56; - var sourceRankingsAlexaCountry = new List(); - var socialSharesCountFacebookMin = 56; - var socialSharesCountFacebookMax = 56; - var socialSharesCountGooglePlusMin = 56; - var socialSharesCountGooglePlusMax = 56; - var socialSharesCountLinkedinMin = 56; - var socialSharesCountLinkedinMax = 56; - var socialSharesCountRedditMin = 56; - var socialSharesCountRedditMax = 56; - var cluster = true; - var clusterAlgorithm = clusterAlgorithm_example; - var _return = new List(); - var sortBy = sortBy_example; - var sortDirection = sortDirection_example; - var cursor = cursor_example; - var perPage = 56; + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-Key", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-Key", "Bearer"); + + var apiInstance = new DefaultApi(Configuration.Default); + var id = new List(); // List | This parameter is used for finding stories by story id. (optional) + var notId = new List(); // List | This parameter is used for excluding stories by story id. (optional) + var title = title_example; // string | This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var body = body_example; // string | This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var text = text_example; // string | This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnTitle = translationsEnTitle_example; // string | This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnBody = translationsEnBody_example; // string | This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnText = translationsEnText_example; // string | This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var language = language_example; // List | This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var notLanguage = language_example; // List | This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var publishedAtStart = publishedAtStart_example; // string | This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var publishedAtEnd = publishedAtEnd_example; // string | This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var categoriesTaxonomy = categoriesTaxonomy_example; // string | This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesConfident = true; // bool? | This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) (default to true) + var categoriesId = new List(); // List | This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesId = new List(); // List | This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesLevel = new List(); // List | This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesLevel = new List(); // List | This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var entitiesTitleText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var sentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for finding stories whose title sentiment is the specified value. (optional) + var notSentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + var sentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for finding stories whose body sentiment is the specified value. (optional) + var notSentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + var mediaImagesCountMin = 56; // int? | This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + var mediaImagesCountMax = 56; // int? | This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + var mediaImagesWidthMin = 56; // int? | This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + var mediaImagesWidthMax = 56; // int? | This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + var mediaImagesHeightMin = 56; // int? | This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + var mediaImagesHeightMax = 56; // int? | This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + var mediaImagesContentLengthMin = 56; // int? | This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + var mediaImagesContentLengthMax = 56; // int? | This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + var mediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for finding stories whose images format are the specified value. (optional) + var notMediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for excluding stories whose images format are the specified value. (optional) + var mediaVideosCountMin = 56; // int? | This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + var mediaVideosCountMax = 56; // int? | This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + var authorId = new List(); // List | This parameter is used for finding stories whose author id is the specified value. (optional) + var notAuthorId = new List(); // List | This parameter is used for excluding stories whose author id is the specified value. (optional) + var authorName = authorName_example; // string | This parameter is used for finding stories whose author full name contains the specified value. (optional) + var notAuthorName = authorName_example; // string | This parameter is used for excluding stories whose author full name contains the specified value. (optional) + var sourceId = new List(); // List | This parameter is used for finding stories whose source id is the specified value. (optional) + var notSourceId = new List(); // List | This parameter is used for excluding stories whose source id is the specified value. (optional) + var sourceName = new List(); // List | This parameter is used for finding stories whose source name contains the specified value. (optional) + var notSourceName = new List(); // List | This parameter is used for excluding stories whose source name contains the specified value. (optional) + var sourceDomain = new List(); // List | This parameter is used for finding stories whose source domain is the specified value. (optional) + var notSourceDomain = new List(); // List | This parameter is used for excluding stories whose source domain is the specified value. (optional) + var sourceLocationsCountry = new List(); // List | This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCountry = new List(); // List | This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsState = new List(); // List | This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsState = new List(); // List | This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsCity = new List(); // List | This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCity = new List(); // List | This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCountry = new List(); // List | This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCountry = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesState = new List(); // List | This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesState = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCity = new List(); // List | This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCity = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLinksInCountMin = 56; // int? | This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceLinksInCountMax = 56; // int? | This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceRankingsAlexaRankMin = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaRankMax = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaCountry = new List(); // List | This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var socialSharesCountFacebookMin = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountFacebookMax = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMin = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMax = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + var socialSharesCountLinkedinMin = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountLinkedinMax = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + var socialSharesCountRedditMin = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountRedditMax = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + var clusters = new List(); // List | This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) + var _return = _return_example; // List | This parameter is used for specifying return fields. (optional) + var sortBy = sortBy_example; // string | This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional) (default to published_at) + var sortDirection = sortDirection_example; // string | This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional) (default to desc) + var cursor = cursor_example; // string | This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional) (default to "*") + var perPage = 56; // int? | This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional) (default to 10) try { // List Stories - Stories result = apiInstance.ListStories( - id: id, - notId: notId, - title: title, - body: body, - text: text, - language: language, - notLanguage: notLanguage, - publishedAtStart: publishedAtStart, - publishedAtEnd: publishedAtEnd, - categoriesTaxonomy: categoriesTaxonomy, - categoriesConfident: categoriesConfident, - categoriesId: categoriesId, - notCategoriesId: notCategoriesId, - categoriesLevel: categoriesLevel, - notCategoriesLevel: notCategoriesLevel, - entitiesTitleText: entitiesTitleText, - notEntitiesTitleText: notEntitiesTitleText, - entitiesTitleType: entitiesTitleType, - notEntitiesTitleType: notEntitiesTitleType, - entitiesTitleLinksDbpedia: entitiesTitleLinksDbpedia, - notEntitiesTitleLinksDbpedia: notEntitiesTitleLinksDbpedia, - entitiesBodyText: entitiesBodyText, - notEntitiesBodyText: notEntitiesBodyText, - entitiesBodyType: entitiesBodyType, - notEntitiesBodyType: notEntitiesBodyType, - entitiesBodyLinksDbpedia: entitiesBodyLinksDbpedia, - notEntitiesBodyLinksDbpedia: notEntitiesBodyLinksDbpedia, - sentimentTitlePolarity: sentimentTitlePolarity, - notSentimentTitlePolarity: notSentimentTitlePolarity, - sentimentBodyPolarity: sentimentBodyPolarity, - notSentimentBodyPolarity: notSentimentBodyPolarity, - mediaImagesCountMin: mediaImagesCountMin, - mediaImagesCountMax: mediaImagesCountMax, - mediaImagesWidthMin: mediaImagesWidthMin, - mediaImagesWidthMax: mediaImagesWidthMax, - mediaImagesHeightMin: mediaImagesHeightMin, - mediaImagesHeightMax: mediaImagesHeightMax, - mediaImagesContentLengthMin: mediaImagesContentLengthMin, - mediaImagesContentLengthMax: mediaImagesContentLengthMax, - mediaImagesFormat: mediaImagesFormat, - notMediaImagesFormat: notMediaImagesFormat, - mediaVideosCountMin: mediaVideosCountMin, - mediaVideosCountMax: mediaVideosCountMax, - authorId: authorId, - notAuthorId: notAuthorId, - authorName: authorName, - notAuthorName: notAuthorName, - sourceId: sourceId, - notSourceId: notSourceId, - sourceName: sourceName, - notSourceName: notSourceName, - sourceDomain: sourceDomain, - notSourceDomain: notSourceDomain, - sourceLocationsCountry: sourceLocationsCountry, - notSourceLocationsCountry: notSourceLocationsCountry, - sourceLocationsState: sourceLocationsState, - notSourceLocationsState: notSourceLocationsState, - sourceLocationsCity: sourceLocationsCity, - notSourceLocationsCity: notSourceLocationsCity, - sourceScopesCountry: sourceScopesCountry, - notSourceScopesCountry: notSourceScopesCountry, - sourceScopesState: sourceScopesState, - notSourceScopesState: notSourceScopesState, - sourceScopesCity: sourceScopesCity, - notSourceScopesCity: notSourceScopesCity, - sourceScopesLevel: sourceScopesLevel, - notSourceScopesLevel: notSourceScopesLevel, - sourceLinksInCountMin: sourceLinksInCountMin, - sourceLinksInCountMax: sourceLinksInCountMax, - sourceRankingsAlexaRankMin: sourceRankingsAlexaRankMin, - sourceRankingsAlexaRankMax: sourceRankingsAlexaRankMax, - sourceRankingsAlexaCountry: sourceRankingsAlexaCountry, - socialSharesCountFacebookMin: socialSharesCountFacebookMin, - socialSharesCountFacebookMax: socialSharesCountFacebookMax, - socialSharesCountGooglePlusMin: socialSharesCountGooglePlusMin, - socialSharesCountGooglePlusMax: socialSharesCountGooglePlusMax, - socialSharesCountLinkedinMin: socialSharesCountLinkedinMin, - socialSharesCountLinkedinMax: socialSharesCountLinkedinMax, - socialSharesCountRedditMin: socialSharesCountRedditMin, - socialSharesCountRedditMax: socialSharesCountRedditMax, - cluster: cluster, - clusterAlgorithm: clusterAlgorithm, - _return: _return, - sortBy: sortBy, - sortDirection: sortDirection, - cursor: cursor, - perPage: perPage - ); + Stories result = apiInstance.ListStories(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, sortBy, sortDirection, cursor, perPage); Debug.WriteLine(result); } - catch (Exception e) + catch (ApiException e) { Debug.Print("Exception when calling DefaultApi.ListStories: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); } } } @@ -1308,95 +1167,98 @@ namespace Example ### Parameters + Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **List<long?>**| This parameter is used for finding stories by story id. | [optional] - **notId** | **List<long?>**| This parameter is used for excluding stories by story id. | [optional] - **title** | **string**| This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **body** | **string**| This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **text** | **string**| This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [enum: iab-qag, iptc-subjectcode] - **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] - **categoriesId** | **List<string>**| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesId** | **List<string>**| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **categoriesLevel** | **List<int?>**| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesLevel** | **List<int?>**| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **entitiesTitleText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] - **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] - **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] - **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] - **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] - **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] - **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] - **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] - **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] - **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] - **authorId** | **List<int?>**| This parameter is used for finding stories whose author id is the specified value. | [optional] - **notAuthorId** | **List<int?>**| This parameter is used for excluding stories whose author id is the specified value. | [optional] - **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] - **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] - **sourceId** | **List<int?>**| This parameter is used for finding stories whose source id is the specified value. | [optional] - **notSourceId** | **List<int?>**| This parameter is used for excluding stories whose source id is the specified value. | [optional] - **sourceName** | **List<string>**| This parameter is used for finding stories whose source name contains the specified value. | [optional] - **notSourceName** | **List<string>**| This parameter is used for excluding stories whose source name contains the specified value. | [optional] - **sourceDomain** | **List<string>**| This parameter is used for finding stories whose source domain is the specified value. | [optional] - **notSourceDomain** | **List<string>**| This parameter is used for excluding stories whose source domain is the specified value. | [optional] - **sourceLocationsCountry** | **List<string>**| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCountry** | **List<string>**| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsState** | **List<string>**| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsState** | **List<string>**| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsCity** | **List<string>**| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCity** | **List<string>**| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCountry** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCountry** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesState** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesState** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCity** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCity** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaCountry** | **List<string>**| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] - **cluster** | **bool?**| This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] [default to false] - **clusterAlgorithm** | **string**| This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] [default to lingo] [enum: stc, lingo, kmeans] - **_return** | **List<string>**| This parameter is used for specifying return fields. | [optional] [enum: id, title, body, summary, source, author, entities, keywords, hashtags, characters_count, words_count, sentences_count, paragraphs_count, categories, social_shares_count, media, sentiment, language, published_at, links] - **sortBy** | **string**| This parameter is used for changing the order column of the results. | [optional] [default to published_at] [enum: relevance, recency, hotness, published_at, social_shares_count, social_shares_count.facebook, social_shares_count.linkedin, social_shares_count.google_plus, social_shares_count.reddit, media.images.count, media.videos.count, source.links_in_count, source.rankings.alexa.rank, source.rankings.alexa.rank.AF, source.rankings.alexa.rank.AX, source.rankings.alexa.rank.AL, source.rankings.alexa.rank.DZ, source.rankings.alexa.rank.AS, source.rankings.alexa.rank.AD, source.rankings.alexa.rank.AO, source.rankings.alexa.rank.AI, source.rankings.alexa.rank.AQ, source.rankings.alexa.rank.AG, source.rankings.alexa.rank.AR, source.rankings.alexa.rank.AM, source.rankings.alexa.rank.AW, source.rankings.alexa.rank.AU, source.rankings.alexa.rank.AT, source.rankings.alexa.rank.AZ, source.rankings.alexa.rank.BS, source.rankings.alexa.rank.BH, source.rankings.alexa.rank.BD, source.rankings.alexa.rank.BB, source.rankings.alexa.rank.BY, source.rankings.alexa.rank.BE, source.rankings.alexa.rank.BZ, source.rankings.alexa.rank.BJ, source.rankings.alexa.rank.BM, source.rankings.alexa.rank.BT, source.rankings.alexa.rank.BO, source.rankings.alexa.rank.BQ, source.rankings.alexa.rank.BA, source.rankings.alexa.rank.BW, source.rankings.alexa.rank.BV, source.rankings.alexa.rank.BR, source.rankings.alexa.rank.IO, source.rankings.alexa.rank.BN, source.rankings.alexa.rank.BG, source.rankings.alexa.rank.BF, source.rankings.alexa.rank.BI, source.rankings.alexa.rank.KH, source.rankings.alexa.rank.CM, source.rankings.alexa.rank.CA, source.rankings.alexa.rank.CV, source.rankings.alexa.rank.KY, source.rankings.alexa.rank.CF, source.rankings.alexa.rank.TD, source.rankings.alexa.rank.CL, source.rankings.alexa.rank.CN, source.rankings.alexa.rank.CX, source.rankings.alexa.rank.CC, source.rankings.alexa.rank.CO, source.rankings.alexa.rank.KM, source.rankings.alexa.rank.CG, source.rankings.alexa.rank.CD, source.rankings.alexa.rank.CK, source.rankings.alexa.rank.CR, source.rankings.alexa.rank.CI, source.rankings.alexa.rank.HR, source.rankings.alexa.rank.CU, source.rankings.alexa.rank.CW, source.rankings.alexa.rank.CY, source.rankings.alexa.rank.CZ, source.rankings.alexa.rank.DK, source.rankings.alexa.rank.DJ, source.rankings.alexa.rank.DM, source.rankings.alexa.rank.DO, source.rankings.alexa.rank.EC, source.rankings.alexa.rank.EG, source.rankings.alexa.rank.SV, source.rankings.alexa.rank.GQ, source.rankings.alexa.rank.ER, source.rankings.alexa.rank.EE, source.rankings.alexa.rank.ET, source.rankings.alexa.rank.FK, source.rankings.alexa.rank.FO, source.rankings.alexa.rank.FJ, source.rankings.alexa.rank.FI, source.rankings.alexa.rank.FR, source.rankings.alexa.rank.GF, source.rankings.alexa.rank.PF, source.rankings.alexa.rank.TF, source.rankings.alexa.rank.GA, source.rankings.alexa.rank.GM, source.rankings.alexa.rank.GE, source.rankings.alexa.rank.DE, source.rankings.alexa.rank.GH, source.rankings.alexa.rank.GI, source.rankings.alexa.rank.GR, source.rankings.alexa.rank.GL, source.rankings.alexa.rank.GD, source.rankings.alexa.rank.GP, source.rankings.alexa.rank.GU, source.rankings.alexa.rank.GT, source.rankings.alexa.rank.GG, source.rankings.alexa.rank.GN, source.rankings.alexa.rank.GW, source.rankings.alexa.rank.GY, source.rankings.alexa.rank.HT, source.rankings.alexa.rank.HM, source.rankings.alexa.rank.VA, source.rankings.alexa.rank.HN, source.rankings.alexa.rank.HK, source.rankings.alexa.rank.HU, source.rankings.alexa.rank.IS, source.rankings.alexa.rank.IN, source.rankings.alexa.rank.ID, source.rankings.alexa.rank.IR, source.rankings.alexa.rank.IQ, source.rankings.alexa.rank.IE, source.rankings.alexa.rank.IM, source.rankings.alexa.rank.IL, source.rankings.alexa.rank.IT, source.rankings.alexa.rank.JM, source.rankings.alexa.rank.JP, source.rankings.alexa.rank.JE, source.rankings.alexa.rank.JO, source.rankings.alexa.rank.KZ, source.rankings.alexa.rank.KE, source.rankings.alexa.rank.KI, source.rankings.alexa.rank.KP, source.rankings.alexa.rank.KR, source.rankings.alexa.rank.KW, source.rankings.alexa.rank.KG, source.rankings.alexa.rank.LA, source.rankings.alexa.rank.LV, source.rankings.alexa.rank.LB, source.rankings.alexa.rank.LS, source.rankings.alexa.rank.LR, source.rankings.alexa.rank.LY, source.rankings.alexa.rank.LI, source.rankings.alexa.rank.LT, source.rankings.alexa.rank.LU, source.rankings.alexa.rank.MO, source.rankings.alexa.rank.MK, source.rankings.alexa.rank.MG, source.rankings.alexa.rank.MW, source.rankings.alexa.rank.MY, source.rankings.alexa.rank.MV, source.rankings.alexa.rank.ML, source.rankings.alexa.rank.MT, source.rankings.alexa.rank.MH, source.rankings.alexa.rank.MQ, source.rankings.alexa.rank.MR, source.rankings.alexa.rank.MU, source.rankings.alexa.rank.YT, source.rankings.alexa.rank.MX, source.rankings.alexa.rank.FM, source.rankings.alexa.rank.MD, source.rankings.alexa.rank.MC, source.rankings.alexa.rank.MN, source.rankings.alexa.rank.ME, source.rankings.alexa.rank.MS, source.rankings.alexa.rank.MA, source.rankings.alexa.rank.MZ, source.rankings.alexa.rank.MM, source.rankings.alexa.rank.NA, source.rankings.alexa.rank.NR, source.rankings.alexa.rank.NP, source.rankings.alexa.rank.NL, source.rankings.alexa.rank.NC, source.rankings.alexa.rank.NZ, source.rankings.alexa.rank.NI, source.rankings.alexa.rank.NE, source.rankings.alexa.rank.NG, source.rankings.alexa.rank.NU, source.rankings.alexa.rank.NF, source.rankings.alexa.rank.MP, source.rankings.alexa.rank.NO, source.rankings.alexa.rank.OM, source.rankings.alexa.rank.PK, source.rankings.alexa.rank.PW, source.rankings.alexa.rank.PS, source.rankings.alexa.rank.PA, source.rankings.alexa.rank.PG, source.rankings.alexa.rank.PY, source.rankings.alexa.rank.PE, source.rankings.alexa.rank.PH, source.rankings.alexa.rank.PN, source.rankings.alexa.rank.PL, source.rankings.alexa.rank.PT, source.rankings.alexa.rank.PR, source.rankings.alexa.rank.QA, source.rankings.alexa.rank.RE, source.rankings.alexa.rank.RO, source.rankings.alexa.rank.RU, source.rankings.alexa.rank.RW, source.rankings.alexa.rank.BL, source.rankings.alexa.rank.SH, source.rankings.alexa.rank.KN, source.rankings.alexa.rank.LC, source.rankings.alexa.rank.MF, source.rankings.alexa.rank.PM, source.rankings.alexa.rank.VC, source.rankings.alexa.rank.WS, source.rankings.alexa.rank.SM, source.rankings.alexa.rank.ST, source.rankings.alexa.rank.SA, source.rankings.alexa.rank.SN, source.rankings.alexa.rank.RS, source.rankings.alexa.rank.SC, source.rankings.alexa.rank.SL, source.rankings.alexa.rank.SG, source.rankings.alexa.rank.SX, source.rankings.alexa.rank.SK, source.rankings.alexa.rank.SI, source.rankings.alexa.rank.SB, source.rankings.alexa.rank.SO, source.rankings.alexa.rank.ZA, source.rankings.alexa.rank.GS, source.rankings.alexa.rank.SS, source.rankings.alexa.rank.ES, source.rankings.alexa.rank.LK, source.rankings.alexa.rank.SD, source.rankings.alexa.rank.SR, source.rankings.alexa.rank.SJ, source.rankings.alexa.rank.SZ, source.rankings.alexa.rank.SE, source.rankings.alexa.rank.CH, source.rankings.alexa.rank.SY, source.rankings.alexa.rank.TW, source.rankings.alexa.rank.TJ, source.rankings.alexa.rank.TZ, source.rankings.alexa.rank.TH, source.rankings.alexa.rank.TL, source.rankings.alexa.rank.TG, source.rankings.alexa.rank.TK, source.rankings.alexa.rank.TO, source.rankings.alexa.rank.TT, source.rankings.alexa.rank.TN, source.rankings.alexa.rank.TR, source.rankings.alexa.rank.TM, source.rankings.alexa.rank.TC, source.rankings.alexa.rank.TV, source.rankings.alexa.rank.UG, source.rankings.alexa.rank.UA, source.rankings.alexa.rank.AE, source.rankings.alexa.rank.GB, source.rankings.alexa.rank.US, source.rankings.alexa.rank.UM, source.rankings.alexa.rank.UY, source.rankings.alexa.rank.UZ, source.rankings.alexa.rank.VU, source.rankings.alexa.rank.VE, source.rankings.alexa.rank.VN, source.rankings.alexa.rank.VG, source.rankings.alexa.rank.VI, source.rankings.alexa.rank.WF, source.rankings.alexa.rank.EH, source.rankings.alexa.rank.YE, source.rankings.alexa.rank.ZM, source.rankings.alexa.rank.ZW] - **sortDirection** | **string**| This parameter is used for changing the order direction of the result. | [optional] [default to desc] [enum: asc, desc] - **cursor** | **string**| This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). | [optional] [default to *] - **perPage** | **int?**| This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) | [optional] [default to 10] + **id** | [**List<long>**](long.md)| This parameter is used for finding stories by story id. | [optional] + **notId** | [**List<long>**](long.md)| This parameter is used for excluding stories by story id. | [optional] + **title** | **string**| This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **body** | **string**| This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **text** | **string**| This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnTitle** | **string**| This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnBody** | **string**| This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnText** | **string**| This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] + **categoriesId** | [**List<string>**](string.md)| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesId** | [**List<string>**](string.md)| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesLevel** | [**List<int>**](int.md)| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesLevel** | [**List<int>**](int.md)| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **entitiesTitleText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] + **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] + **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] + **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] + **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] + **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] + **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] + **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] + **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] + **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] + **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] + **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] + **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] + **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] + **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] + **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] + **authorId** | [**List<int>**](int.md)| This parameter is used for finding stories whose author id is the specified value. | [optional] + **notAuthorId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose author id is the specified value. | [optional] + **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] + **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] + **sourceId** | [**List<int>**](int.md)| This parameter is used for finding stories whose source id is the specified value. | [optional] + **notSourceId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose source id is the specified value. | [optional] + **sourceName** | [**List<string>**](string.md)| This parameter is used for finding stories whose source name contains the specified value. | [optional] + **notSourceName** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source name contains the specified value. | [optional] + **sourceDomain** | [**List<string>**](string.md)| This parameter is used for finding stories whose source domain is the specified value. | [optional] + **notSourceDomain** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source domain is the specified value. | [optional] + **sourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaCountry** | [**List<string>**](string.md)| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] + **clusters** | [**List<string>**](string.md)| This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). | [optional] + **_return** | **List<string>**| This parameter is used for specifying return fields. | [optional] + **sortBy** | **string**| This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). | [optional] [default to published_at] + **sortDirection** | **string**| This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). | [optional] [default to desc] + **cursor** | **string**| This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). | [optional] [default to "*"] + **perPage** | **int?**| This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) | [optional] [default to 10] ### Return type @@ -1404,26 +1266,41 @@ Name | Type | Description | Notes ### Authorization -[app_key](../README.md#app_key), [app_id](../README.md#app_id) +[app_id](../README.md#app_id), [app_key](../README.md#app_key) ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json, text/xml +- **Content-Type**: Not defined +- **Accept**: application/json, text/xml + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | An object including an array of stories | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **401** | Unauthorized | - | +| **404** | Not Found | - | +| **422** | Unprocessable Entity | - | +| **492** | Too Many Requests | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **500** | Internal Server Error | - | + +[[Back to top]](#) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ListTimeSeries** -> TimeSeriesList ListTimeSeries (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null) +## ListTimeSeries + +> TimeSeriesList ListTimeSeries (List id = null, List notId = null, string title = null, string body = null, string text = null, string translationsEnTitle = null, string translationsEnBody = null, string translationsEnText = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null) List time series -This endpoint is used for getting time series by stories. +The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. ### Example + ```csharp -using System; +using System.Collections.Generic; using System.Diagnostics; using Aylien.NewsApi.Api; using Aylien.NewsApi.Client; @@ -1433,189 +1310,115 @@ namespace Example { public class ListTimeSeriesExample { - static void Main(string[] args) + public static void Main() { + Configuration.Default.BasePath = "https://api.aylien.com/news"; // Configure API key authorization: app_id - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-ID", "YOUR_APP_ID"); - + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-ID", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-ID", "Bearer"); // Configure API key authorization: app_key - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-Key", "YOUR_APP_KEY"); - - var apiInstance = new DefaultApi(); - - var id = new List(); - var notId = new List(); - var title = title_example; - var body = body_example; - var text = text_example; - var language = new List(); - var notLanguage = new List(); - var categoriesTaxonomy = categoriesTaxonomy_example; - var categoriesConfident = true; - var categoriesId = new List(); - var notCategoriesId = new List(); - var categoriesLevel = new List(); - var notCategoriesLevel = new List(); - var entitiesTitleText = new List(); - var notEntitiesTitleText = new List(); - var entitiesTitleType = new List(); - var notEntitiesTitleType = new List(); - var entitiesTitleLinksDbpedia = new List(); - var notEntitiesTitleLinksDbpedia = new List(); - var entitiesBodyText = new List(); - var notEntitiesBodyText = new List(); - var entitiesBodyType = new List(); - var notEntitiesBodyType = new List(); - var entitiesBodyLinksDbpedia = new List(); - var notEntitiesBodyLinksDbpedia = new List(); - var sentimentTitlePolarity = sentimentTitlePolarity_example; - var notSentimentTitlePolarity = notSentimentTitlePolarity_example; - var sentimentBodyPolarity = sentimentBodyPolarity_example; - var notSentimentBodyPolarity = notSentimentBodyPolarity_example; - var mediaImagesCountMin = 56; - var mediaImagesCountMax = 56; - var mediaImagesWidthMin = 56; - var mediaImagesWidthMax = 56; - var mediaImagesHeightMin = 56; - var mediaImagesHeightMax = 56; - var mediaImagesContentLengthMin = 56; - var mediaImagesContentLengthMax = 56; - var mediaImagesFormat = new List(); - var notMediaImagesFormat = new List(); - var mediaVideosCountMin = 56; - var mediaVideosCountMax = 56; - var authorId = new List(); - var notAuthorId = new List(); - var authorName = authorName_example; - var notAuthorName = notAuthorName_example; - var sourceId = new List(); - var notSourceId = new List(); - var sourceName = new List(); - var notSourceName = new List(); - var sourceDomain = new List(); - var notSourceDomain = new List(); - var sourceLocationsCountry = new List(); - var notSourceLocationsCountry = new List(); - var sourceLocationsState = new List(); - var notSourceLocationsState = new List(); - var sourceLocationsCity = new List(); - var notSourceLocationsCity = new List(); - var sourceScopesCountry = new List(); - var notSourceScopesCountry = new List(); - var sourceScopesState = new List(); - var notSourceScopesState = new List(); - var sourceScopesCity = new List(); - var notSourceScopesCity = new List(); - var sourceScopesLevel = new List(); - var notSourceScopesLevel = new List(); - var sourceLinksInCountMin = 56; - var sourceLinksInCountMax = 56; - var sourceRankingsAlexaRankMin = 56; - var sourceRankingsAlexaRankMax = 56; - var sourceRankingsAlexaCountry = new List(); - var socialSharesCountFacebookMin = 56; - var socialSharesCountFacebookMax = 56; - var socialSharesCountGooglePlusMin = 56; - var socialSharesCountGooglePlusMax = 56; - var socialSharesCountLinkedinMin = 56; - var socialSharesCountLinkedinMax = 56; - var socialSharesCountRedditMin = 56; - var socialSharesCountRedditMax = 56; - var publishedAtStart = publishedAtStart_example; - var publishedAtEnd = publishedAtEnd_example; - var period = period_example; + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-Key", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-Key", "Bearer"); + + var apiInstance = new DefaultApi(Configuration.Default); + var id = new List(); // List | This parameter is used for finding stories by story id. (optional) + var notId = new List(); // List | This parameter is used for excluding stories by story id. (optional) + var title = title_example; // string | This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var body = body_example; // string | This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var text = text_example; // string | This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnTitle = translationsEnTitle_example; // string | This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnBody = translationsEnBody_example; // string | This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnText = translationsEnText_example; // string | This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var language = language_example; // List | This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var notLanguage = language_example; // List | This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var categoriesTaxonomy = categoriesTaxonomy_example; // string | This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesConfident = true; // bool? | This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) (default to true) + var categoriesId = new List(); // List | This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesId = new List(); // List | This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesLevel = new List(); // List | This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesLevel = new List(); // List | This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var entitiesTitleText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var sentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for finding stories whose title sentiment is the specified value. (optional) + var notSentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + var sentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for finding stories whose body sentiment is the specified value. (optional) + var notSentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + var mediaImagesCountMin = 56; // int? | This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + var mediaImagesCountMax = 56; // int? | This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + var mediaImagesWidthMin = 56; // int? | This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + var mediaImagesWidthMax = 56; // int? | This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + var mediaImagesHeightMin = 56; // int? | This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + var mediaImagesHeightMax = 56; // int? | This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + var mediaImagesContentLengthMin = 56; // int? | This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + var mediaImagesContentLengthMax = 56; // int? | This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + var mediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for finding stories whose images format are the specified value. (optional) + var notMediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for excluding stories whose images format are the specified value. (optional) + var mediaVideosCountMin = 56; // int? | This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + var mediaVideosCountMax = 56; // int? | This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + var authorId = new List(); // List | This parameter is used for finding stories whose author id is the specified value. (optional) + var notAuthorId = new List(); // List | This parameter is used for excluding stories whose author id is the specified value. (optional) + var authorName = authorName_example; // string | This parameter is used for finding stories whose author full name contains the specified value. (optional) + var notAuthorName = authorName_example; // string | This parameter is used for excluding stories whose author full name contains the specified value. (optional) + var sourceId = new List(); // List | This parameter is used for finding stories whose source id is the specified value. (optional) + var notSourceId = new List(); // List | This parameter is used for excluding stories whose source id is the specified value. (optional) + var sourceName = new List(); // List | This parameter is used for finding stories whose source name contains the specified value. (optional) + var notSourceName = new List(); // List | This parameter is used for excluding stories whose source name contains the specified value. (optional) + var sourceDomain = new List(); // List | This parameter is used for finding stories whose source domain is the specified value. (optional) + var notSourceDomain = new List(); // List | This parameter is used for excluding stories whose source domain is the specified value. (optional) + var sourceLocationsCountry = new List(); // List | This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCountry = new List(); // List | This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsState = new List(); // List | This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsState = new List(); // List | This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsCity = new List(); // List | This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCity = new List(); // List | This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCountry = new List(); // List | This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCountry = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesState = new List(); // List | This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesState = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCity = new List(); // List | This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCity = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLinksInCountMin = 56; // int? | This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceLinksInCountMax = 56; // int? | This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceRankingsAlexaRankMin = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaRankMax = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaCountry = new List(); // List | This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var socialSharesCountFacebookMin = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountFacebookMax = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMin = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMax = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + var socialSharesCountLinkedinMin = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountLinkedinMax = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + var socialSharesCountRedditMin = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountRedditMax = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + var publishedAtStart = publishedAtStart_example; // string | This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) (default to "NOW-7DAYS/DAY") + var publishedAtEnd = publishedAtEnd_example; // string | This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) (default to "NOW/DAY") + var period = period_example; // string | The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional) (default to "+1DAY") try { // List time series - TimeSeriesList result = apiInstance.ListTimeSeries( - id: id, - notId: notId, - title: title, - body: body, - text: text, - language: language, - notLanguage: notLanguage, - categoriesTaxonomy: categoriesTaxonomy, - categoriesConfident: categoriesConfident, - categoriesId: categoriesId, - notCategoriesId: notCategoriesId, - categoriesLevel: categoriesLevel, - notCategoriesLevel: notCategoriesLevel, - entitiesTitleText: entitiesTitleText, - notEntitiesTitleText: notEntitiesTitleText, - entitiesTitleType: entitiesTitleType, - notEntitiesTitleType: notEntitiesTitleType, - entitiesTitleLinksDbpedia: entitiesTitleLinksDbpedia, - notEntitiesTitleLinksDbpedia: notEntitiesTitleLinksDbpedia, - entitiesBodyText: entitiesBodyText, - notEntitiesBodyText: notEntitiesBodyText, - entitiesBodyType: entitiesBodyType, - notEntitiesBodyType: notEntitiesBodyType, - entitiesBodyLinksDbpedia: entitiesBodyLinksDbpedia, - notEntitiesBodyLinksDbpedia: notEntitiesBodyLinksDbpedia, - sentimentTitlePolarity: sentimentTitlePolarity, - notSentimentTitlePolarity: notSentimentTitlePolarity, - sentimentBodyPolarity: sentimentBodyPolarity, - notSentimentBodyPolarity: notSentimentBodyPolarity, - mediaImagesCountMin: mediaImagesCountMin, - mediaImagesCountMax: mediaImagesCountMax, - mediaImagesWidthMin: mediaImagesWidthMin, - mediaImagesWidthMax: mediaImagesWidthMax, - mediaImagesHeightMin: mediaImagesHeightMin, - mediaImagesHeightMax: mediaImagesHeightMax, - mediaImagesContentLengthMin: mediaImagesContentLengthMin, - mediaImagesContentLengthMax: mediaImagesContentLengthMax, - mediaImagesFormat: mediaImagesFormat, - notMediaImagesFormat: notMediaImagesFormat, - mediaVideosCountMin: mediaVideosCountMin, - mediaVideosCountMax: mediaVideosCountMax, - authorId: authorId, - notAuthorId: notAuthorId, - authorName: authorName, - notAuthorName: notAuthorName, - sourceId: sourceId, - notSourceId: notSourceId, - sourceName: sourceName, - notSourceName: notSourceName, - sourceDomain: sourceDomain, - notSourceDomain: notSourceDomain, - sourceLocationsCountry: sourceLocationsCountry, - notSourceLocationsCountry: notSourceLocationsCountry, - sourceLocationsState: sourceLocationsState, - notSourceLocationsState: notSourceLocationsState, - sourceLocationsCity: sourceLocationsCity, - notSourceLocationsCity: notSourceLocationsCity, - sourceScopesCountry: sourceScopesCountry, - notSourceScopesCountry: notSourceScopesCountry, - sourceScopesState: sourceScopesState, - notSourceScopesState: notSourceScopesState, - sourceScopesCity: sourceScopesCity, - notSourceScopesCity: notSourceScopesCity, - sourceScopesLevel: sourceScopesLevel, - notSourceScopesLevel: notSourceScopesLevel, - sourceLinksInCountMin: sourceLinksInCountMin, - sourceLinksInCountMax: sourceLinksInCountMax, - sourceRankingsAlexaRankMin: sourceRankingsAlexaRankMin, - sourceRankingsAlexaRankMax: sourceRankingsAlexaRankMax, - sourceRankingsAlexaCountry: sourceRankingsAlexaCountry, - socialSharesCountFacebookMin: socialSharesCountFacebookMin, - socialSharesCountFacebookMax: socialSharesCountFacebookMax, - socialSharesCountGooglePlusMin: socialSharesCountGooglePlusMin, - socialSharesCountGooglePlusMax: socialSharesCountGooglePlusMax, - socialSharesCountLinkedinMin: socialSharesCountLinkedinMin, - socialSharesCountLinkedinMax: socialSharesCountLinkedinMax, - socialSharesCountRedditMin: socialSharesCountRedditMin, - socialSharesCountRedditMax: socialSharesCountRedditMax, - publishedAtStart: publishedAtStart, - publishedAtEnd: publishedAtEnd, - period: period - ); + TimeSeriesList result = apiInstance.ListTimeSeries(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, publishedAtStart, publishedAtEnd, period); Debug.WriteLine(result); } - catch (Exception e) + catch (ApiException e) { Debug.Print("Exception when calling DefaultApi.ListTimeSeries: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); } } } @@ -1624,89 +1427,93 @@ namespace Example ### Parameters + Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **List<long?>**| This parameter is used for finding stories by story id. | [optional] - **notId** | **List<long?>**| This parameter is used for excluding stories by story id. | [optional] - **title** | **string**| This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **body** | **string**| This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **text** | **string**| This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [enum: iab-qag, iptc-subjectcode] - **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] - **categoriesId** | **List<string>**| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesId** | **List<string>**| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **categoriesLevel** | **List<int?>**| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesLevel** | **List<int?>**| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **entitiesTitleText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] - **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] - **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] - **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] - **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] - **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] - **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] - **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] - **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] - **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] - **authorId** | **List<int?>**| This parameter is used for finding stories whose author id is the specified value. | [optional] - **notAuthorId** | **List<int?>**| This parameter is used for excluding stories whose author id is the specified value. | [optional] - **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] - **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] - **sourceId** | **List<int?>**| This parameter is used for finding stories whose source id is the specified value. | [optional] - **notSourceId** | **List<int?>**| This parameter is used for excluding stories whose source id is the specified value. | [optional] - **sourceName** | **List<string>**| This parameter is used for finding stories whose source name contains the specified value. | [optional] - **notSourceName** | **List<string>**| This parameter is used for excluding stories whose source name contains the specified value. | [optional] - **sourceDomain** | **List<string>**| This parameter is used for finding stories whose source domain is the specified value. | [optional] - **notSourceDomain** | **List<string>**| This parameter is used for excluding stories whose source domain is the specified value. | [optional] - **sourceLocationsCountry** | **List<string>**| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCountry** | **List<string>**| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsState** | **List<string>**| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsState** | **List<string>**| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsCity** | **List<string>**| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCity** | **List<string>**| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCountry** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCountry** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesState** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesState** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCity** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCity** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaCountry** | **List<string>**| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] - **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] [default to NOW-7DAYS/DAY] - **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] [default to NOW/DAY] - **period** | **string**| The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). | [optional] [default to +1DAY] + **id** | [**List<long>**](long.md)| This parameter is used for finding stories by story id. | [optional] + **notId** | [**List<long>**](long.md)| This parameter is used for excluding stories by story id. | [optional] + **title** | **string**| This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **body** | **string**| This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **text** | **string**| This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnTitle** | **string**| This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnBody** | **string**| This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnText** | **string**| This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] + **categoriesId** | [**List<string>**](string.md)| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesId** | [**List<string>**](string.md)| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesLevel** | [**List<int>**](int.md)| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesLevel** | [**List<int>**](int.md)| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **entitiesTitleText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] + **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] + **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] + **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] + **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] + **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] + **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] + **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] + **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] + **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] + **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] + **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] + **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] + **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] + **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] + **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] + **authorId** | [**List<int>**](int.md)| This parameter is used for finding stories whose author id is the specified value. | [optional] + **notAuthorId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose author id is the specified value. | [optional] + **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] + **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] + **sourceId** | [**List<int>**](int.md)| This parameter is used for finding stories whose source id is the specified value. | [optional] + **notSourceId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose source id is the specified value. | [optional] + **sourceName** | [**List<string>**](string.md)| This parameter is used for finding stories whose source name contains the specified value. | [optional] + **notSourceName** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source name contains the specified value. | [optional] + **sourceDomain** | [**List<string>**](string.md)| This parameter is used for finding stories whose source domain is the specified value. | [optional] + **notSourceDomain** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source domain is the specified value. | [optional] + **sourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaCountry** | [**List<string>**](string.md)| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] + **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] [default to "NOW-7DAYS/DAY"] + **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] [default to "NOW/DAY"] + **period** | **string**| The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). | [optional] [default to "+1DAY"] ### Return type @@ -1714,26 +1521,41 @@ Name | Type | Description | Notes ### Authorization -[app_key](../README.md#app_key), [app_id](../README.md#app_id) +[app_id](../README.md#app_id), [app_key](../README.md#app_key) ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json, text/xml +- **Content-Type**: Not defined +- **Accept**: application/json, text/xml + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | An object including an array of time series | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **401** | Unauthorized | - | +| **404** | Not Found | - | +| **422** | Unprocessable Entity | - | +| **492** | Too Many Requests | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **500** | Internal Server Error | - | + +[[Back to top]](#) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ListTrends** -> Trends ListTrends (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null) +## ListTrends + +> Trends ListTrends (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, string translationsEnTitle = null, string translationsEnBody = null, string translationsEnText = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null) List trends -This endpoint is used for finding trends based on stories. +The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. ### Example + ```csharp -using System; +using System.Collections.Generic; using System.Diagnostics; using Aylien.NewsApi.Api; using Aylien.NewsApi.Client; @@ -1743,189 +1565,115 @@ namespace Example { public class ListTrendsExample { - static void Main(string[] args) + public static void Main() { + Configuration.Default.BasePath = "https://api.aylien.com/news"; // Configure API key authorization: app_id - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-ID", "YOUR_APP_ID"); - + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-ID", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-ID", "Bearer"); // Configure API key authorization: app_key - Configuration.Default.ApiKey.Add("X-AYLIEN-NewsAPI-Application-Key", "YOUR_APP_KEY"); - - var apiInstance = new DefaultApi(); - - var field = field_example; - var id = new List(); - var notId = new List(); - var title = title_example; - var body = body_example; - var text = text_example; - var language = new List(); - var notLanguage = new List(); - var publishedAtStart = publishedAtStart_example; - var publishedAtEnd = publishedAtEnd_example; - var categoriesTaxonomy = categoriesTaxonomy_example; - var categoriesConfident = true; - var categoriesId = new List(); - var notCategoriesId = new List(); - var categoriesLevel = new List(); - var notCategoriesLevel = new List(); - var entitiesTitleText = new List(); - var notEntitiesTitleText = new List(); - var entitiesTitleType = new List(); - var notEntitiesTitleType = new List(); - var entitiesTitleLinksDbpedia = new List(); - var notEntitiesTitleLinksDbpedia = new List(); - var entitiesBodyText = new List(); - var notEntitiesBodyText = new List(); - var entitiesBodyType = new List(); - var notEntitiesBodyType = new List(); - var entitiesBodyLinksDbpedia = new List(); - var notEntitiesBodyLinksDbpedia = new List(); - var sentimentTitlePolarity = sentimentTitlePolarity_example; - var notSentimentTitlePolarity = notSentimentTitlePolarity_example; - var sentimentBodyPolarity = sentimentBodyPolarity_example; - var notSentimentBodyPolarity = notSentimentBodyPolarity_example; - var mediaImagesCountMin = 56; - var mediaImagesCountMax = 56; - var mediaImagesWidthMin = 56; - var mediaImagesWidthMax = 56; - var mediaImagesHeightMin = 56; - var mediaImagesHeightMax = 56; - var mediaImagesContentLengthMin = 56; - var mediaImagesContentLengthMax = 56; - var mediaImagesFormat = new List(); - var notMediaImagesFormat = new List(); - var mediaVideosCountMin = 56; - var mediaVideosCountMax = 56; - var authorId = new List(); - var notAuthorId = new List(); - var authorName = authorName_example; - var notAuthorName = notAuthorName_example; - var sourceId = new List(); - var notSourceId = new List(); - var sourceName = new List(); - var notSourceName = new List(); - var sourceDomain = new List(); - var notSourceDomain = new List(); - var sourceLocationsCountry = new List(); - var notSourceLocationsCountry = new List(); - var sourceLocationsState = new List(); - var notSourceLocationsState = new List(); - var sourceLocationsCity = new List(); - var notSourceLocationsCity = new List(); - var sourceScopesCountry = new List(); - var notSourceScopesCountry = new List(); - var sourceScopesState = new List(); - var notSourceScopesState = new List(); - var sourceScopesCity = new List(); - var notSourceScopesCity = new List(); - var sourceScopesLevel = new List(); - var notSourceScopesLevel = new List(); - var sourceLinksInCountMin = 56; - var sourceLinksInCountMax = 56; - var sourceRankingsAlexaRankMin = 56; - var sourceRankingsAlexaRankMax = 56; - var sourceRankingsAlexaCountry = new List(); - var socialSharesCountFacebookMin = 56; - var socialSharesCountFacebookMax = 56; - var socialSharesCountGooglePlusMin = 56; - var socialSharesCountGooglePlusMax = 56; - var socialSharesCountLinkedinMin = 56; - var socialSharesCountLinkedinMax = 56; - var socialSharesCountRedditMin = 56; - var socialSharesCountRedditMax = 56; + Configuration.Default.AddApiKey("X-AYLIEN-NewsAPI-Application-Key", "YOUR_API_KEY"); + // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed + // Configuration.Default.AddApiKeyPrefix("X-AYLIEN-NewsAPI-Application-Key", "Bearer"); + + var apiInstance = new DefaultApi(Configuration.Default); + var field = keywords; // string | This parameter is used to specify the trend field. + var id = new List(); // List | This parameter is used for finding stories by story id. (optional) + var notId = new List(); // List | This parameter is used for excluding stories by story id. (optional) + var title = title_example; // string | This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var body = body_example; // string | This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var text = text_example; // string | This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnTitle = translationsEnTitle_example; // string | This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnBody = translationsEnBody_example; // string | This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var translationsEnText = translationsEnText_example; // string | This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + var language = language_example; // List | This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var notLanguage = language_example; // List | This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + var publishedAtStart = publishedAtStart_example; // string | This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var publishedAtEnd = publishedAtEnd_example; // string | This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + var categoriesTaxonomy = categoriesTaxonomy_example; // string | This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesConfident = true; // bool? | This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) (default to true) + var categoriesId = new List(); // List | This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesId = new List(); // List | This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var categoriesLevel = new List(); // List | This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var notCategoriesLevel = new List(); // List | This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + var entitiesTitleText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesTitleLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesTitleLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyText = new List(); // List | This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyText = new List(); // List | This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyType = new List(); // List | This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyType = new List(); // List | This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var entitiesBodyLinksDbpedia = new List(); // List | This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var notEntitiesBodyLinksDbpedia = new List(); // List | This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + var sentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for finding stories whose title sentiment is the specified value. (optional) + var notSentimentTitlePolarity = sentimentTitlePolarity_example; // string | This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + var sentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for finding stories whose body sentiment is the specified value. (optional) + var notSentimentBodyPolarity = sentimentBodyPolarity_example; // string | This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + var mediaImagesCountMin = 56; // int? | This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + var mediaImagesCountMax = 56; // int? | This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + var mediaImagesWidthMin = 56; // int? | This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + var mediaImagesWidthMax = 56; // int? | This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + var mediaImagesHeightMin = 56; // int? | This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + var mediaImagesHeightMax = 56; // int? | This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + var mediaImagesContentLengthMin = 56; // int? | This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + var mediaImagesContentLengthMax = 56; // int? | This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + var mediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for finding stories whose images format are the specified value. (optional) + var notMediaImagesFormat = mediaImagesFormat_example; // List | This parameter is used for excluding stories whose images format are the specified value. (optional) + var mediaVideosCountMin = 56; // int? | This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + var mediaVideosCountMax = 56; // int? | This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + var authorId = new List(); // List | This parameter is used for finding stories whose author id is the specified value. (optional) + var notAuthorId = new List(); // List | This parameter is used for excluding stories whose author id is the specified value. (optional) + var authorName = authorName_example; // string | This parameter is used for finding stories whose author full name contains the specified value. (optional) + var notAuthorName = authorName_example; // string | This parameter is used for excluding stories whose author full name contains the specified value. (optional) + var sourceId = new List(); // List | This parameter is used for finding stories whose source id is the specified value. (optional) + var notSourceId = new List(); // List | This parameter is used for excluding stories whose source id is the specified value. (optional) + var sourceName = new List(); // List | This parameter is used for finding stories whose source name contains the specified value. (optional) + var notSourceName = new List(); // List | This parameter is used for excluding stories whose source name contains the specified value. (optional) + var sourceDomain = new List(); // List | This parameter is used for finding stories whose source domain is the specified value. (optional) + var notSourceDomain = new List(); // List | This parameter is used for excluding stories whose source domain is the specified value. (optional) + var sourceLocationsCountry = new List(); // List | This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCountry = new List(); // List | This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsState = new List(); // List | This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsState = new List(); // List | This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLocationsCity = new List(); // List | This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceLocationsCity = new List(); // List | This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCountry = new List(); // List | This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCountry = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesState = new List(); // List | This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesState = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesCity = new List(); // List | This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesCity = new List(); // List | This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var notSourceScopesLevel = sourceScopesLevel_example; // List | This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + var sourceLinksInCountMin = 56; // int? | This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceLinksInCountMax = 56; // int? | This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + var sourceRankingsAlexaRankMin = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaRankMax = 56; // int? | This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var sourceRankingsAlexaCountry = new List(); // List | This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + var socialSharesCountFacebookMin = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountFacebookMax = 56; // int? | This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMin = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountGooglePlusMax = 56; // int? | This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + var socialSharesCountLinkedinMin = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountLinkedinMax = 56; // int? | This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + var socialSharesCountRedditMin = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + var socialSharesCountRedditMax = 56; // int? | This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) try { // List trends - Trends result = apiInstance.ListTrends( - field: field, - id: id, - notId: notId, - title: title, - body: body, - text: text, - language: language, - notLanguage: notLanguage, - publishedAtStart: publishedAtStart, - publishedAtEnd: publishedAtEnd, - categoriesTaxonomy: categoriesTaxonomy, - categoriesConfident: categoriesConfident, - categoriesId: categoriesId, - notCategoriesId: notCategoriesId, - categoriesLevel: categoriesLevel, - notCategoriesLevel: notCategoriesLevel, - entitiesTitleText: entitiesTitleText, - notEntitiesTitleText: notEntitiesTitleText, - entitiesTitleType: entitiesTitleType, - notEntitiesTitleType: notEntitiesTitleType, - entitiesTitleLinksDbpedia: entitiesTitleLinksDbpedia, - notEntitiesTitleLinksDbpedia: notEntitiesTitleLinksDbpedia, - entitiesBodyText: entitiesBodyText, - notEntitiesBodyText: notEntitiesBodyText, - entitiesBodyType: entitiesBodyType, - notEntitiesBodyType: notEntitiesBodyType, - entitiesBodyLinksDbpedia: entitiesBodyLinksDbpedia, - notEntitiesBodyLinksDbpedia: notEntitiesBodyLinksDbpedia, - sentimentTitlePolarity: sentimentTitlePolarity, - notSentimentTitlePolarity: notSentimentTitlePolarity, - sentimentBodyPolarity: sentimentBodyPolarity, - notSentimentBodyPolarity: notSentimentBodyPolarity, - mediaImagesCountMin: mediaImagesCountMin, - mediaImagesCountMax: mediaImagesCountMax, - mediaImagesWidthMin: mediaImagesWidthMin, - mediaImagesWidthMax: mediaImagesWidthMax, - mediaImagesHeightMin: mediaImagesHeightMin, - mediaImagesHeightMax: mediaImagesHeightMax, - mediaImagesContentLengthMin: mediaImagesContentLengthMin, - mediaImagesContentLengthMax: mediaImagesContentLengthMax, - mediaImagesFormat: mediaImagesFormat, - notMediaImagesFormat: notMediaImagesFormat, - mediaVideosCountMin: mediaVideosCountMin, - mediaVideosCountMax: mediaVideosCountMax, - authorId: authorId, - notAuthorId: notAuthorId, - authorName: authorName, - notAuthorName: notAuthorName, - sourceId: sourceId, - notSourceId: notSourceId, - sourceName: sourceName, - notSourceName: notSourceName, - sourceDomain: sourceDomain, - notSourceDomain: notSourceDomain, - sourceLocationsCountry: sourceLocationsCountry, - notSourceLocationsCountry: notSourceLocationsCountry, - sourceLocationsState: sourceLocationsState, - notSourceLocationsState: notSourceLocationsState, - sourceLocationsCity: sourceLocationsCity, - notSourceLocationsCity: notSourceLocationsCity, - sourceScopesCountry: sourceScopesCountry, - notSourceScopesCountry: notSourceScopesCountry, - sourceScopesState: sourceScopesState, - notSourceScopesState: notSourceScopesState, - sourceScopesCity: sourceScopesCity, - notSourceScopesCity: notSourceScopesCity, - sourceScopesLevel: sourceScopesLevel, - notSourceScopesLevel: notSourceScopesLevel, - sourceLinksInCountMin: sourceLinksInCountMin, - sourceLinksInCountMax: sourceLinksInCountMax, - sourceRankingsAlexaRankMin: sourceRankingsAlexaRankMin, - sourceRankingsAlexaRankMax: sourceRankingsAlexaRankMax, - sourceRankingsAlexaCountry: sourceRankingsAlexaCountry, - socialSharesCountFacebookMin: socialSharesCountFacebookMin, - socialSharesCountFacebookMax: socialSharesCountFacebookMax, - socialSharesCountGooglePlusMin: socialSharesCountGooglePlusMin, - socialSharesCountGooglePlusMax: socialSharesCountGooglePlusMax, - socialSharesCountLinkedinMin: socialSharesCountLinkedinMin, - socialSharesCountLinkedinMax: socialSharesCountLinkedinMax, - socialSharesCountRedditMin: socialSharesCountRedditMin, - socialSharesCountRedditMax: socialSharesCountRedditMax - ); + Trends result = apiInstance.ListTrends(field, id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax); Debug.WriteLine(result); } - catch (Exception e) + catch (ApiException e) { Debug.Print("Exception when calling DefaultApi.ListTrends: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); } } } @@ -1934,89 +1682,93 @@ namespace Example ### Parameters + Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **field** | **string**| This parameter is used to specify the trend field. | [enum: author.name, source.name, source.domain, keywords, entities.title.text, entities.title.type, entities.title.links.dbpedia, entities.body.text, entities.body.type, entities.body.links.dbpedia, hashtags, categories.id, sentiment.title.polarity, sentiment.body.polarity] - **id** | **List<long?>**| This parameter is used for finding stories by story id. | [optional] - **notId** | **List<long?>**| This parameter is used for excluding stories by story id. | [optional] - **title** | **string**| This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **body** | **string**| This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **text** | **string**| This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] - **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] [enum: en, de, fr, it, es, pt] - **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] - **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [enum: iab-qag, iptc-subjectcode] - **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] - **categoriesId** | **List<string>**| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesId** | **List<string>**| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **categoriesLevel** | **List<int?>**| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **notCategoriesLevel** | **List<int?>**| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] - **entitiesTitleText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesTitleLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyText** | **List<string>**| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyText** | **List<string>**| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyType** | **List<string>**| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyType** | **List<string>**| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **entitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **notEntitiesBodyLinksDbpedia** | **List<string>**| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] - **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] [enum: positive, neutral, negative] - **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] - **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] - **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] - **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] - **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] - **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] - **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] - **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] - **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] [enum: BMP, GIF, JPEG, PNG, TIFF, PSD, ICO, CUR, WEBP, SVG] - **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] - **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] - **authorId** | **List<int?>**| This parameter is used for finding stories whose author id is the specified value. | [optional] - **notAuthorId** | **List<int?>**| This parameter is used for excluding stories whose author id is the specified value. | [optional] - **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] - **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] - **sourceId** | **List<int?>**| This parameter is used for finding stories whose source id is the specified value. | [optional] - **notSourceId** | **List<int?>**| This parameter is used for excluding stories whose source id is the specified value. | [optional] - **sourceName** | **List<string>**| This parameter is used for finding stories whose source name contains the specified value. | [optional] - **notSourceName** | **List<string>**| This parameter is used for excluding stories whose source name contains the specified value. | [optional] - **sourceDomain** | **List<string>**| This parameter is used for finding stories whose source domain is the specified value. | [optional] - **notSourceDomain** | **List<string>**| This parameter is used for excluding stories whose source domain is the specified value. | [optional] - **sourceLocationsCountry** | **List<string>**| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCountry** | **List<string>**| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsState** | **List<string>**| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsState** | **List<string>**| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceLocationsCity** | **List<string>**| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceLocationsCity** | **List<string>**| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCountry** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCountry** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesState** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesState** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesCity** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **notSourceScopesCity** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] - **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] [enum: international, national, local] - **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] - **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **sourceRankingsAlexaCountry** | **List<string>**| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] - **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] - **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] - **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] + **field** | **string**| This parameter is used to specify the trend field. | + **id** | [**List<long>**](long.md)| This parameter is used for finding stories by story id. | [optional] + **notId** | [**List<long>**](long.md)| This parameter is used for excluding stories by story id. | [optional] + **title** | **string**| This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **body** | **string**| This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **text** | **string**| This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnTitle** | **string**| This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnBody** | **string**| This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **translationsEnText** | **string**| This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). | [optional] + **language** | **List<string>**| This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **notLanguage** | **List<string>**| This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. | [optional] + **publishedAtStart** | **string**| This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **publishedAtEnd** | **string**| This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). | [optional] + **categoriesTaxonomy** | **string**| This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesConfident** | **bool?**| This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] [default to true] + **categoriesId** | [**List<string>**](string.md)| This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesId** | [**List<string>**](string.md)| This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **categoriesLevel** | [**List<int>**](int.md)| This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **notCategoriesLevel** | [**List<int>**](int.md)| This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). | [optional] + **entitiesTitleText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesTitleLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyText** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyText** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyType** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyType** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **entitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **notEntitiesBodyLinksDbpedia** | [**List<string>**](string.md)| This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional] + **sentimentTitlePolarity** | **string**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional] + **notSentimentTitlePolarity** | **string**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional] + **sentimentBodyPolarity** | **string**| This parameter is used for finding stories whose body sentiment is the specified value. | [optional] + **notSentimentBodyPolarity** | **string**| This parameter is used for excluding stories whose body sentiment is the specified value. | [optional] + **mediaImagesCountMin** | **int?**| This parameter is used for finding stories whose number of images is greater than or equal to the specified value. | [optional] + **mediaImagesCountMax** | **int?**| This parameter is used for finding stories whose number of images is less than or equal to the specified value. | [optional] + **mediaImagesWidthMin** | **int?**| This parameter is used for finding stories whose width of images are greater than or equal to the specified value. | [optional] + **mediaImagesWidthMax** | **int?**| This parameter is used for finding stories whose width of images are less than or equal to the specified value. | [optional] + **mediaImagesHeightMin** | **int?**| This parameter is used for finding stories whose height of images are greater than or equal to the specified value. | [optional] + **mediaImagesHeightMax** | **int?**| This parameter is used for finding stories whose height of images are less than or equal to the specified value. | [optional] + **mediaImagesContentLengthMin** | **int?**| This parameter is used for finding stories whose images content length are greater than or equal to the specified value. | [optional] + **mediaImagesContentLengthMax** | **int?**| This parameter is used for finding stories whose images content length are less than or equal to the specified value. | [optional] + **mediaImagesFormat** | **List<string>**| This parameter is used for finding stories whose images format are the specified value. | [optional] + **notMediaImagesFormat** | **List<string>**| This parameter is used for excluding stories whose images format are the specified value. | [optional] + **mediaVideosCountMin** | **int?**| This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. | [optional] + **mediaVideosCountMax** | **int?**| This parameter is used for finding stories whose number of videos is less than or equal to the specified value. | [optional] + **authorId** | [**List<int>**](int.md)| This parameter is used for finding stories whose author id is the specified value. | [optional] + **notAuthorId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose author id is the specified value. | [optional] + **authorName** | **string**| This parameter is used for finding stories whose author full name contains the specified value. | [optional] + **notAuthorName** | **string**| This parameter is used for excluding stories whose author full name contains the specified value. | [optional] + **sourceId** | [**List<int>**](int.md)| This parameter is used for finding stories whose source id is the specified value. | [optional] + **notSourceId** | [**List<int>**](int.md)| This parameter is used for excluding stories whose source id is the specified value. | [optional] + **sourceName** | [**List<string>**](string.md)| This parameter is used for finding stories whose source name contains the specified value. | [optional] + **notSourceName** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source name contains the specified value. | [optional] + **sourceDomain** | [**List<string>**](string.md)| This parameter is used for finding stories whose source domain is the specified value. | [optional] + **notSourceDomain** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source domain is the specified value. | [optional] + **sourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceLocationsCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCountry** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesState** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesState** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesCity** | [**List<string>**](string.md)| This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesCity** | [**List<string>**](string.md)| This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceScopesLevel** | **List<string>**| This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **notSourceScopesLevel** | **List<string>**| This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). | [optional] + **sourceLinksInCountMin** | **int?**| This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceLinksInCountMax** | **int?**| This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). | [optional] + **sourceRankingsAlexaRankMin** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaRankMax** | **int?**| This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **sourceRankingsAlexaCountry** | [**List<string>**](string.md)| This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). | [optional] + **socialSharesCountFacebookMin** | **int?**| This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountFacebookMax** | **int?**| This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMin** | **int?**| This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountGooglePlusMax** | **int?**| This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMin** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountLinkedinMax** | **int?**| This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. | [optional] + **socialSharesCountRedditMin** | **int?**| This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. | [optional] + **socialSharesCountRedditMax** | **int?**| This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. | [optional] ### Return type @@ -2024,12 +1776,25 @@ Name | Type | Description | Notes ### Authorization -[app_key](../README.md#app_key), [app_id](../README.md#app_id) +[app_id](../README.md#app_id), [app_key](../README.md#app_key) ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json, text/xml - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +- **Content-Type**: Not defined +- **Accept**: application/json, text/xml + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | An object including an array of trends | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **401** | Unauthorized | - | +| **404** | Not Found | - | +| **422** | Unprocessable Entity | - | +| **492** | Too Many Requests | * X-RateLimit-Limit - The number of allowed requests in the current period.
* X-RateLimit-Remaining - The number of remaining requests in the current period.
* X-RateLimit-Reset - The remaining window before the rate limit resets in UTC [epoch seconds](https://en.wikipedia.org/wiki/Unix_time).
| +| **500** | Internal Server Error | - | + +[[Back to top]](#) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) diff --git a/docs/Entities.md b/docs/Entities.md index f89c647..2912b14 100644 --- a/docs/Entities.md +++ b/docs/Entities.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.Entities + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Title** | [**List<Entity>**](Entity.md) | An array of extracted entities from the story title | [optional] **Body** | [**List<Entity>**](Entity.md) | An array of extracted entities from the story body | [optional] +**Title** | [**List<Entity>**](Entity.md) | An array of extracted entities from the story title | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Entity.md b/docs/Entity.md index ce7e799..c373459 100644 --- a/docs/Entity.md +++ b/docs/Entity.md @@ -1,13 +1,17 @@ + # Aylien.NewsApi.Model.Entity + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Indices** | **List<List<int>>** | The indices of the entity text | [optional] +**Links** | [**EntityLinks**](EntityLinks.md) | | [optional] +**Score** | **double** | The entity score | [optional] **Text** | **string** | The entity text | [optional] -**Score** | **double?** | The entity score | [optional] **Types** | **List<string>** | An array of the dbpedia types | [optional] -**Links** | [**EntityLinks**](EntityLinks.md) | Related links to the entity | [optional] -**Indices** | **List<List<int?>>** | The indices of the entity text | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/EntityLinks.md b/docs/EntityLinks.md index bf07f2e..acc7150 100644 --- a/docs/EntityLinks.md +++ b/docs/EntityLinks.md @@ -1,9 +1,13 @@ + # Aylien.NewsApi.Model.EntityLinks + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Dbpedia** | **string** | A dbpedia resource URL | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Error.md b/docs/Error.md index 93a5c48..c1136f5 100644 --- a/docs/Error.md +++ b/docs/Error.md @@ -1,14 +1,18 @@ + # Aylien.NewsApi.Model.Error + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Code** | **string** | | [optional] +**Detail** | **string** | | [optional] **Id** | **string** | | [optional] **Links** | [**ErrorLinks**](ErrorLinks.md) | | [optional] **Status** | **string** | | [optional] -**Code** | **string** | | [optional] **Title** | **string** | | [optional] -**Detail** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/ErrorLinks.md b/docs/ErrorLinks.md index f8294bc..f8dedd2 100644 --- a/docs/ErrorLinks.md +++ b/docs/ErrorLinks.md @@ -1,9 +1,13 @@ + # Aylien.NewsApi.Model.ErrorLinks + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **About** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Errors.md b/docs/Errors.md index ba76fee..c4738ea 100644 --- a/docs/Errors.md +++ b/docs/Errors.md @@ -1,9 +1,13 @@ + # Aylien.NewsApi.Model.Errors + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_Errors** | [**List<Error>**](Error.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/HistogramInterval.md b/docs/HistogramInterval.md index aa4c3be..10d0516 100644 --- a/docs/HistogramInterval.md +++ b/docs/HistogramInterval.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.HistogramInterval + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Bin** | **int?** | Histogram bin | [optional] -**Count** | **int?** | Histogram bin size | [optional] +**Bin** | **int** | Histogram bin | [optional] +**Count** | **int** | Histogram bin size | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Histograms.md b/docs/Histograms.md index 1c89a29..69932db 100644 --- a/docs/Histograms.md +++ b/docs/Histograms.md @@ -1,13 +1,17 @@ + # Aylien.NewsApi.Model.Histograms + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Intervals** | [**List<HistogramInterval>**](HistogramInterval.md) | The intervals of the histograms | [optional] -**IntervalStart** | **int?** | The start interval of the histogram | [optional] -**IntervalEnd** | **int?** | The end interval of the histogram | [optional] -**IntervalWidth** | **int?** | The width of the histogram | [optional] **Field** | **string** | | [optional] +**IntervalEnd** | **int** | The end interval of the histogram | [optional] +**IntervalStart** | **int** | The start interval of the histogram | [optional] +**IntervalWidth** | **int** | The width of the histogram | [optional] +**Intervals** | [**List<HistogramInterval>**](HistogramInterval.md) | The intervals of the histograms | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Location.md b/docs/Location.md index f348d4e..4df1a2f 100644 --- a/docs/Location.md +++ b/docs/Location.md @@ -1,11 +1,15 @@ + # Aylien.NewsApi.Model.Location + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Country** | **string** | The country code of the location. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. | [optional] -**State** | **string** | The state of the location | [optional] **City** | **string** | The city of the location | [optional] +**Country** | **string** | The country code of the location. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. | [optional] +**State** | **string** | The state of the location | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Media.md b/docs/Media.md index 6c3843a..dcc2a5a 100644 --- a/docs/Media.md +++ b/docs/Media.md @@ -1,14 +1,18 @@ + # Aylien.NewsApi.Model.Media + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**ContentLength** | **int** | The content length of media | [optional] +**Format** | **string** | The format of media | [optional] +**Height** | **int** | The height of media | [optional] **Type** | **string** | The type of media | [optional] **Url** | **string** | A URL which points to the media file | [optional] -**Format** | **string** | The format of media | [optional] -**ContentLength** | **int?** | The content length of media | [optional] -**Width** | **int?** | The width of media | [optional] -**Height** | **int?** | The height of media | [optional] +**Width** | **int** | The width of media | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Rank.md b/docs/Rank.md index b31a0c2..94f41a8 100644 --- a/docs/Rank.md +++ b/docs/Rank.md @@ -1,11 +1,15 @@ + # Aylien.NewsApi.Model.Rank + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**_Rank** | **int?** | The rank | [optional] **Country** | **string** | The country code which the rank is in it | [optional] -**FetchedAt** | **DateTime?** | The fetched date of the rank | [optional] +**FetchedAt** | **DateTime** | The fetched date of the rank | [optional] +**_Rank** | **int** | The rank | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Rankings.md b/docs/Rankings.md index 9c9e7a2..6f8dc02 100644 --- a/docs/Rankings.md +++ b/docs/Rankings.md @@ -1,9 +1,13 @@ + # Aylien.NewsApi.Model.Rankings + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Alexa** | [**List<Rank>**](Rank.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/RelatedStories.md b/docs/RelatedStories.md index 2e2d1fd..d049ef2 100644 --- a/docs/RelatedStories.md +++ b/docs/RelatedStories.md @@ -1,13 +1,16 @@ + # Aylien.NewsApi.Model.RelatedStories + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**StoryTitle** | **string** | The input story title | [optional] +**_RelatedStories** | [**List<Story>**](Story.md) | An array of related stories for the input story | [optional] **StoryBody** | **string** | The input story body | [optional] **StoryLanguage** | **string** | The input story language | [optional] -**_RelatedStories** | [**List<Story>**](Story.md) | An array of related stories for the input story | [optional] -**Clusters** | [**List<StoryCluster>**](StoryCluster.md) | An array of clusters | [optional] +**StoryTitle** | **string** | The input story title | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/RepresentativeStory.md b/docs/RepresentativeStory.md new file mode 100644 index 0000000..aefb75a --- /dev/null +++ b/docs/RepresentativeStory.md @@ -0,0 +1,16 @@ + +# Aylien.NewsApi.Model.RepresentativeStory + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **long** | ID of the story which is a unique identification | [optional] +**Permalink** | **string** | The story permalink URL | [optional] +**PublishedAt** | **DateTime** | Published date of the story | [optional] +**Title** | **string** | Title of the story | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) + diff --git a/docs/Scope.md b/docs/Scope.md index da662fa..0bd18c5 100644 --- a/docs/Scope.md +++ b/docs/Scope.md @@ -1,12 +1,16 @@ + # Aylien.NewsApi.Model.Scope + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Country** | **string** | The source scope by country code. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. | [optional] -**State** | **string** | The scope by state | [optional] **City** | **string** | The scope by city | [optional] +**Country** | **string** | The source scope by country code. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. | [optional] **Level** | **string** | The scope by level | [optional] +**State** | **string** | The scope by state | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Sentiment.md b/docs/Sentiment.md index 59e37cd..e664fc4 100644 --- a/docs/Sentiment.md +++ b/docs/Sentiment.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.Sentiment + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Polarity** | **string** | Polarity of the sentiment | [optional] -**Score** | **double?** | Polarity score of the sentiment | [optional] +**Score** | **double** | Polarity score of the sentiment | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Sentiments.md b/docs/Sentiments.md index 8fec2e2..0708a3f 100644 --- a/docs/Sentiments.md +++ b/docs/Sentiments.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.Sentiments + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Title** | [**Sentiment**](Sentiment.md) | The sentiment for the story title | [optional] -**Body** | [**Sentiment**](Sentiment.md) | The sentiment for the story body | [optional] +**Body** | [**Sentiment**](Sentiment.md) | | [optional] +**Title** | [**Sentiment**](Sentiment.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/ShareCount.md b/docs/ShareCount.md index a55dcce..424c0b1 100644 --- a/docs/ShareCount.md +++ b/docs/ShareCount.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.ShareCount + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Count** | **int?** | The number of shares | [optional] -**FetchedAt** | **DateTime?** | The fetched date of the shares | [optional] +**Count** | **int** | The number of shares | [optional] +**FetchedAt** | **DateTime** | The fetched date of the shares | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/ShareCounts.md b/docs/ShareCounts.md index 87c7e39..ff5b024 100644 --- a/docs/ShareCounts.md +++ b/docs/ShareCounts.md @@ -1,4 +1,6 @@ + # Aylien.NewsApi.Model.ShareCounts + ## Properties Name | Type | Description | Notes @@ -8,5 +10,7 @@ Name | Type | Description | Notes **Linkedin** | [**List<ShareCount>**](ShareCount.md) | LinkedIn shares count | [optional] **Reddit** | [**List<ShareCount>**](ShareCount.md) | Reddit shares count | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Source.md b/docs/Source.md index 971bcfd..5fcfeee 100644 --- a/docs/Source.md +++ b/docs/Source.md @@ -1,19 +1,23 @@ + # Aylien.NewsApi.Model.Source + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **int?** | The source id which is a unique value | [optional] -**Name** | **string** | The source name | [optional] -**Title** | **string** | The title of the home page URL | [optional] **Description** | **string** | A general explanation about the source | [optional] -**LinksInCount** | **int?** | The number of websites that link to the source | [optional] -**HomePageUrl** | **string** | The home page URL of the source | [optional] **Domain** | **string** | The domain name of the source which is extracted from the source URL | [optional] +**HomePageUrl** | **string** | The home page URL of the source | [optional] +**Id** | **int** | The source id which is a unique value | [optional] +**LinksInCount** | **int** | The number of websites that link to the source | [optional] +**Locations** | [**List<Location>**](Location.md) | The source locations which are tend to be the physical locations of the source, e.g. BBC headquarter is located in London. | [optional] **LogoUrl** | **string** | A URL which points to the source logo | [optional] -**Locations** | [**List<Location>**](Location.md) | The source locations which are tend to be the physical locations of the source, e.g. BBC headquarter is located in London. | [optional] -**Scopes** | [**List<Scope>**](Scope.md) | The source scopes which is tend to be scope locations of the source, e.g. BBC scopes is international. | [optional] -**Rankings** | [**Rankings**](Rankings.md) | The web rankings of the source | [optional] +**Name** | **string** | The source name | [optional] +**Rankings** | [**Rankings**](Rankings.md) | | [optional] +**Scopes** | [**List<Scope>**](Scope.md) | The source scopes which is tend to be scope locations of the source, e.g. BBC scopes is international. | [optional] +**Title** | **string** | The title of the home page URL | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Stories.md b/docs/Stories.md index af2e00d..e5182eb 100644 --- a/docs/Stories.md +++ b/docs/Stories.md @@ -1,11 +1,14 @@ + # Aylien.NewsApi.Model.Stories + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**_Stories** | [**List<Story>**](Story.md) | An array of stories | [optional] -**Clusters** | [**List<StoryCluster>**](StoryCluster.md) | An array of clusters | [optional] **NextPageCursor** | **string** | The next page cursor | [optional] +**_Stories** | [**List<Story>**](Story.md) | An array of stories | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Story.md b/docs/Story.md index 5f2bceb..241570f 100644 --- a/docs/Story.md +++ b/docs/Story.md @@ -1,28 +1,34 @@ + # Aylien.NewsApi.Model.Story + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **long?** | ID of the story which is a unique identification | [optional] -**Title** | **string** | Title of the story | [optional] +**Author** | [**Author**](Author.md) | | [optional] **Body** | **string** | Body of the story | [optional] -**Summary** | [**Summary**](Summary.md) | The suggested story summary | [optional] -**Source** | [**Source**](Source.md) | The story source | [optional] -**Author** | [**Author**](Author.md) | The story author | [optional] -**Entities** | [**Entities**](Entities.md) | Extracted entities from the story title or body | [optional] -**Keywords** | **List<string>** | Extracted keywords mentioned in the story title or body | [optional] -**Hashtags** | **List<string>** | An array of suggested Story hashtags | [optional] -**CharactersCount** | **int?** | Character count of the story body | [optional] -**WordsCount** | **int?** | Word count of the story body | [optional] -**SentencesCount** | **int?** | Sentence count of the story body | [optional] -**ParagraphsCount** | **int?** | Paragraph count of the story body | [optional] **Categories** | [**List<Category>**](Category.md) | Suggested categories for the story | [optional] -**SocialSharesCount** | [**ShareCounts**](ShareCounts.md) | Social shares count for the story | [optional] -**Media** | [**List<Media>**](Media.md) | An array of extracted media such as images and videos | [optional] -**Sentiment** | [**Sentiments**](Sentiments.md) | Suggested sentiments for the story title or body | [optional] +**CharactersCount** | **int** | Character count of the story body | [optional] +**Clusters** | **List<long>** | An array of clusters the story is associated with | [optional] +**Entities** | [**Entities**](Entities.md) | | [optional] +**Hashtags** | **List<string>** | An array of suggested Story hashtags | [optional] +**Id** | **long** | ID of the story which is a unique identification | [optional] +**Keywords** | **List<string>** | Extracted keywords mentioned in the story title or body | [optional] **Language** | **string** | Language of the story | [optional] -**PublishedAt** | **DateTime?** | Published date of the story | [optional] -**Links** | [**StoryLinks**](StoryLinks.md) | Links which is related to the story | [optional] +**Links** | [**StoryLinks**](StoryLinks.md) | | [optional] +**Media** | [**List<Media>**](Media.md) | An array of extracted media such as images and videos | [optional] +**ParagraphsCount** | **int** | Paragraph count of the story body | [optional] +**PublishedAt** | **DateTime** | Published date of the story | [optional] +**SentencesCount** | **int** | Sentence count of the story body | [optional] +**Sentiment** | [**Sentiments**](Sentiments.md) | | [optional] +**SocialSharesCount** | [**ShareCounts**](ShareCounts.md) | | [optional] +**Source** | [**Source**](Source.md) | | [optional] +**Summary** | [**Summary**](Summary.md) | | [optional] +**Title** | **string** | Title of the story | [optional] +**Translations** | [**StoryTranslations**](StoryTranslations.md) | | [optional] +**WordsCount** | **int** | Word count of the story body | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/StoryCluster.md b/docs/StoryCluster.md index b1c45a1..22fbc38 100644 --- a/docs/StoryCluster.md +++ b/docs/StoryCluster.md @@ -1,13 +1,17 @@ + # Aylien.NewsApi.Model.StoryCluster + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **int?** | A unique identification for the cluster | [optional] +**Id** | **int** | A unique identification for the cluster | [optional] **Phrases** | **List<string>** | Suggested labels for the cluster | [optional] -**Size** | **int?** | Size of the cluster | [optional] -**Stories** | **List<long?>** | Story ids which are in the cluster | [optional] -**Score** | **double?** | The cluster score | [optional] +**Score** | **double** | The cluster score | [optional] +**Size** | **int** | Size of the cluster | [optional] +**Stories** | **List<long>** | Story ids which are in the cluster | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/StoryLinks.md b/docs/StoryLinks.md index 3469973..307ad4e 100644 --- a/docs/StoryLinks.md +++ b/docs/StoryLinks.md @@ -1,12 +1,16 @@ + # Aylien.NewsApi.Model.StoryLinks + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Canonical** | **string** | The story canonical URL | [optional] +**Coverages** | **string** | The coverages URL | [optional] **Permalink** | **string** | The story permalink URL | [optional] **RelatedStories** | **string** | The related stories URL | [optional] -**Coverages** | **string** | The coverages URL | [optional] -**Canonical** | **string** | The story canonical URL | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/StoryTranslations.md b/docs/StoryTranslations.md new file mode 100644 index 0000000..b73f11a --- /dev/null +++ b/docs/StoryTranslations.md @@ -0,0 +1,13 @@ + +# Aylien.NewsApi.Model.StoryTranslations + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**En** | [**StoryTranslationsEn**](StoryTranslationsEn.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) + diff --git a/docs/StoryTranslationsEn.md b/docs/StoryTranslationsEn.md new file mode 100644 index 0000000..7136c06 --- /dev/null +++ b/docs/StoryTranslationsEn.md @@ -0,0 +1,15 @@ + +# Aylien.NewsApi.Model.StoryTranslationsEn + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Body** | **string** | Translation of body | [optional] +**Text** | **string** | Translation of a concatenation of title and body | [optional] +**Title** | **string** | Translation of title | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) + diff --git a/docs/Summary.md b/docs/Summary.md index ee4d8cf..8dbb545 100644 --- a/docs/Summary.md +++ b/docs/Summary.md @@ -1,9 +1,13 @@ + # Aylien.NewsApi.Model.Summary + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Sentences** | **List<string>** | An array of the suggested summary sentences | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/TimeSeries.md b/docs/TimeSeries.md index 76423f3..7a160a0 100644 --- a/docs/TimeSeries.md +++ b/docs/TimeSeries.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.TimeSeries + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PublishedAt** | **DateTime?** | The published date of the time series bin | [optional] -**Count** | **int?** | The count of time series bin | [optional] +**Count** | **int** | The count of time series bin | [optional] +**PublishedAt** | **DateTime** | The published date of the time series bin | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/TimeSeriesList.md b/docs/TimeSeriesList.md index e0622e1..62076cd 100644 --- a/docs/TimeSeriesList.md +++ b/docs/TimeSeriesList.md @@ -1,12 +1,16 @@ + # Aylien.NewsApi.Model.TimeSeriesList + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Period** | **string** | The size of each date range expressed as an interval to be added to the lower bound. | [optional] +**PublishedAtEnd** | **DateTime** | The end published date of the time series | [optional] +**PublishedAtStart** | **DateTime** | The start published date of the time series | [optional] **TimeSeries** | [**List<TimeSeries>**](TimeSeries.md) | An array of time series | [optional] -**Period** | **string** | The size of each date range expressed as an interval to be added to the lower bound. | [optional] -**PublishedAtStart** | **DateTime?** | The start published date of the time series | [optional] -**PublishedAtEnd** | **DateTime?** | The end published date of the time series | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Trend.md b/docs/Trend.md index a20862c..8bba6ed 100644 --- a/docs/Trend.md +++ b/docs/Trend.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.Trend + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Count** | **int** | The count of the trend | [optional] **Value** | **string** | The value of the trend | [optional] -**Count** | **int?** | The count of the trend | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/docs/Trends.md b/docs/Trends.md index 44d35e4..0cb8e1d 100644 --- a/docs/Trends.md +++ b/docs/Trends.md @@ -1,10 +1,14 @@ + # Aylien.NewsApi.Model.Trends + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**_Trends** | [**List<Trend>**](Trend.md) | An array of trends | [optional] **Field** | **string** | The field of trends | [optional] +**_Trends** | [**List<Trend>**](Trend.md) | An array of trends | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to README]](../README.md) diff --git a/src/main/csharp/Aylien.NewsApi/Api/DefaultApi.cs b/src/Aylien.NewsApi/Api/DefaultApi.cs similarity index 51% rename from src/main/csharp/Aylien.NewsApi/Api/DefaultApi.cs rename to src/Aylien.NewsApi/Api/DefaultApi.cs index dea3ddc..4ac055f 100644 --- a/src/main/csharp/Aylien.NewsApi/Api/DefaultApi.cs +++ b/src/Aylien.NewsApi/Api/DefaultApi.cs @@ -1,26 +1,18 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -using RestSharp; +using RestSharp.Portable; using Aylien.NewsApi.Client; using Aylien.NewsApi.Model; @@ -36,2338 +28,2484 @@ public interface IDefaultApi : IApiAccessor /// List autocompletes /// /// - /// This endpoint is used for getting list of autocompletes by providing a specific term and type. + /// The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. /// /// Thrown when fails to make API call - /// This parameter is used for defining the type of autocompletes. - /// This parameter is used for finding autocomplete objects that contain the specified value. - /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for defining the type of autocompletes. + /// This parameter is used for finding autocomplete objects that contain the specified value. + /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Autocompletes - Autocompletes ListAutocompletes (string type, string term, string language = null, int? perPage = null); + Autocompletes ListAutocompletes (string type, string term, string language = default(string), int? perPage = default(int?)); /// /// List autocompletes /// /// - /// This endpoint is used for getting list of autocompletes by providing a specific term and type. + /// The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. /// /// Thrown when fails to make API call - /// This parameter is used for defining the type of autocompletes. - /// This parameter is used for finding autocomplete objects that contain the specified value. - /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for defining the type of autocompletes. + /// This parameter is used for finding autocomplete objects that contain the specified value. + /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// ApiResponse of Autocompletes - ApiResponse ListAutocompletesWithHttpInfo (string type, string term, string language = null, int? perPage = null); + ApiResponse ListAutocompletesWithHttpInfo (string type, string term, string language = default(string), int? perPage = default(int?)); + /// + /// List Clusters + /// + /// + /// The clusters endpoint is used to return clusters based on parameters you set in your query. + /// + /// Thrown when fails to make API call + /// This parameter is used for finding clusters by cluster id. (optional) + /// This parameter is used for excluding clusters by cluster id. (optional) + /// This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// Clusters + Clusters ListClusters (List id = default(List), List notId = default(List), int? storyCountMin = default(int?), int? storyCountMax = default(int?), string timeStart = default(string), string timeEnd = default(string), string earliestStoryStart = default(string), string earliestStoryEnd = default(string), string latestStoryStart = default(string), string latestStoryEnd = default(string), List locationCountry = default(List), List notLocationCountry = default(List)); + + /// + /// List Clusters + /// + /// + /// The clusters endpoint is used to return clusters based on parameters you set in your query. + /// + /// Thrown when fails to make API call + /// This parameter is used for finding clusters by cluster id. (optional) + /// This parameter is used for excluding clusters by cluster id. (optional) + /// This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// ApiResponse of Clusters + ApiResponse ListClustersWithHttpInfo (List id = default(List), List notId = default(List), int? storyCountMin = default(int?), int? storyCountMax = default(int?), string timeStart = default(string), string timeEnd = default(string), string earliestStoryStart = default(string), string earliestStoryEnd = default(string), string latestStoryStart = default(string), string latestStoryEnd = default(string), List locationCountry = default(List), List notLocationCountry = default(List)); /// /// List coverages /// /// - /// This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. + /// The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Coverages - Coverages ListCoverages (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null); + Coverages ListCoverages (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), DateTime? storyPublishedAt = default(DateTime?), string storyLanguage = default(string), int? perPage = default(int?)); /// /// List coverages /// /// - /// This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. + /// The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// ApiResponse of Coverages - ApiResponse ListCoveragesWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null); + ApiResponse ListCoveragesWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), DateTime? storyPublishedAt = default(DateTime?), string storyLanguage = default(string), int? perPage = default(int?)); /// /// List histograms /// /// - /// This endpoint is used for getting histograms based on the `field` parameter passed to the API. + /// For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for setting the start data point of histogram intervals. (optional) - /// This parameter is used for setting the end data point of histogram intervals. (optional) - /// This parameter is used for setting the width of histogram intervals. (optional) - /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for setting the start data point of histogram intervals. (optional) + /// This parameter is used for setting the end data point of histogram intervals. (optional) + /// This parameter is used for setting the width of histogram intervals. (optional) + /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) /// Histograms - Histograms ListHistograms (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null); + Histograms ListHistograms (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), int? intervalStart = default(int?), int? intervalEnd = default(int?), int? intervalWidth = default(int?), string field = default(string)); /// /// List histograms /// /// - /// This endpoint is used for getting histograms based on the `field` parameter passed to the API. + /// For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for setting the start data point of histogram intervals. (optional) - /// This parameter is used for setting the end data point of histogram intervals. (optional) - /// This parameter is used for setting the width of histogram intervals. (optional) - /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for setting the start data point of histogram intervals. (optional) + /// This parameter is used for setting the end data point of histogram intervals. (optional) + /// This parameter is used for setting the width of histogram intervals. (optional) + /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) /// ApiResponse of Histograms - ApiResponse ListHistogramsWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null); + ApiResponse ListHistogramsWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), int? intervalStart = default(int?), int? intervalEnd = default(int?), int? intervalWidth = default(int?), string field = default(string)); /// /// List related stories /// /// - /// This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. + /// This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// This parameter is used for boosting the result by the specified value. (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for boosting the result by the specified value. (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// RelatedStories - RelatedStories ListRelatedStories (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null); + RelatedStories ListRelatedStories (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), string boostBy = default(string), string storyLanguage = default(string), int? perPage = default(int?)); /// /// List related stories /// /// - /// This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. + /// This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// This parameter is used for boosting the result by the specified value. (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for boosting the result by the specified value. (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// ApiResponse of RelatedStories - ApiResponse ListRelatedStoriesWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null); + ApiResponse ListRelatedStoriesWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), string boostBy = default(string), string storyLanguage = default(string), int? perPage = default(int?)); /// /// List Stories /// /// - /// This endpoint is used for getting a list of stories. + /// The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) - /// This parameter is used for changing the order column of the results. (optional, default to published_at) - /// This parameter is used for changing the order direction of the result. (optional, default to desc) - /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *) - /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) + /// This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to published_at) + /// This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to desc) + /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to "*") + /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) /// Stories - Stories ListStories (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null); + Stories ListStories (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), string sortBy = default(string), string sortDirection = default(string), string cursor = default(string), int? perPage = default(int?)); /// /// List Stories /// /// - /// This endpoint is used for getting a list of stories. + /// The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) - /// This parameter is used for changing the order column of the results. (optional, default to published_at) - /// This parameter is used for changing the order direction of the result. (optional, default to desc) - /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *) - /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) + /// This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to published_at) + /// This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to desc) + /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to "*") + /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) /// ApiResponse of Stories - ApiResponse ListStoriesWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null); + ApiResponse ListStoriesWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), string sortBy = default(string), string sortDirection = default(string), string cursor = default(string), int? perPage = default(int?)); /// /// List time series /// /// - /// This endpoint is used for getting time series by stories. + /// The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW-7DAYS/DAY) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW/DAY) - /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to +1DAY) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW-7DAYS/DAY") + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW/DAY") + /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to "+1DAY") /// TimeSeriesList - TimeSeriesList ListTimeSeries (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null); + TimeSeriesList ListTimeSeries (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), string publishedAtStart = default(string), string publishedAtEnd = default(string), string period = default(string)); /// /// List time series /// /// - /// This endpoint is used for getting time series by stories. + /// The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW-7DAYS/DAY) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW/DAY) - /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to +1DAY) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW-7DAYS/DAY") + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW/DAY") + /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to "+1DAY") /// ApiResponse of TimeSeriesList - ApiResponse ListTimeSeriesWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null); + ApiResponse ListTimeSeriesWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), string publishedAtStart = default(string), string publishedAtEnd = default(string), string period = default(string)); /// /// List trends /// /// - /// This endpoint is used for finding trends based on stories. + /// The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. /// /// Thrown when fails to make API call - /// This parameter is used to specify the trend field. - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used to specify the trend field. + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) /// Trends - Trends ListTrends (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null); + Trends ListTrends (string field, List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?)); /// /// List trends /// /// - /// This endpoint is used for finding trends based on stories. + /// The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. /// /// Thrown when fails to make API call - /// This parameter is used to specify the trend field. - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used to specify the trend field. + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) /// ApiResponse of Trends - ApiResponse ListTrendsWithHttpInfo (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null); + ApiResponse ListTrendsWithHttpInfo (string field, List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?)); #endregion Synchronous Operations #region Asynchronous Operations /// /// List autocompletes /// /// - /// This endpoint is used for getting list of autocompletes by providing a specific term and type. + /// The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. /// /// Thrown when fails to make API call - /// This parameter is used for defining the type of autocompletes. - /// This parameter is used for finding autocomplete objects that contain the specified value. - /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for defining the type of autocompletes. + /// This parameter is used for finding autocomplete objects that contain the specified value. + /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of Autocompletes - System.Threading.Tasks.Task ListAutocompletesAsync (string type, string term, string language = null, int? perPage = null); + System.Threading.Tasks.Task ListAutocompletesAsync (string type, string term, string language = default(string), int? perPage = default(int?)); /// /// List autocompletes /// /// - /// This endpoint is used for getting list of autocompletes by providing a specific term and type. + /// The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. /// /// Thrown when fails to make API call - /// This parameter is used for defining the type of autocompletes. - /// This parameter is used for finding autocomplete objects that contain the specified value. - /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for defining the type of autocompletes. + /// This parameter is used for finding autocomplete objects that contain the specified value. + /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of ApiResponse (Autocompletes) - System.Threading.Tasks.Task> ListAutocompletesAsyncWithHttpInfo (string type, string term, string language = null, int? perPage = null); + System.Threading.Tasks.Task> ListAutocompletesAsyncWithHttpInfo (string type, string term, string language = default(string), int? perPage = default(int?)); + /// + /// List Clusters + /// + /// + /// The clusters endpoint is used to return clusters based on parameters you set in your query. + /// + /// Thrown when fails to make API call + /// This parameter is used for finding clusters by cluster id. (optional) + /// This parameter is used for excluding clusters by cluster id. (optional) + /// This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// Task of Clusters + System.Threading.Tasks.Task ListClustersAsync (List id = default(List), List notId = default(List), int? storyCountMin = default(int?), int? storyCountMax = default(int?), string timeStart = default(string), string timeEnd = default(string), string earliestStoryStart = default(string), string earliestStoryEnd = default(string), string latestStoryStart = default(string), string latestStoryEnd = default(string), List locationCountry = default(List), List notLocationCountry = default(List)); + + /// + /// List Clusters + /// + /// + /// The clusters endpoint is used to return clusters based on parameters you set in your query. + /// + /// Thrown when fails to make API call + /// This parameter is used for finding clusters by cluster id. (optional) + /// This parameter is used for excluding clusters by cluster id. (optional) + /// This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// Task of ApiResponse (Clusters) + System.Threading.Tasks.Task> ListClustersAsyncWithHttpInfo (List id = default(List), List notId = default(List), int? storyCountMin = default(int?), int? storyCountMax = default(int?), string timeStart = default(string), string timeEnd = default(string), string earliestStoryStart = default(string), string earliestStoryEnd = default(string), string latestStoryStart = default(string), string latestStoryEnd = default(string), List locationCountry = default(List), List notLocationCountry = default(List)); /// /// List coverages /// /// - /// This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. + /// The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of Coverages - System.Threading.Tasks.Task ListCoveragesAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null); + System.Threading.Tasks.Task ListCoveragesAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), DateTime? storyPublishedAt = default(DateTime?), string storyLanguage = default(string), int? perPage = default(int?)); /// /// List coverages /// /// - /// This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. + /// The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of ApiResponse (Coverages) - System.Threading.Tasks.Task> ListCoveragesAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null); + System.Threading.Tasks.Task> ListCoveragesAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), DateTime? storyPublishedAt = default(DateTime?), string storyLanguage = default(string), int? perPage = default(int?)); /// /// List histograms /// /// - /// This endpoint is used for getting histograms based on the `field` parameter passed to the API. + /// For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for setting the start data point of histogram intervals. (optional) - /// This parameter is used for setting the end data point of histogram intervals. (optional) - /// This parameter is used for setting the width of histogram intervals. (optional) - /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for setting the start data point of histogram intervals. (optional) + /// This parameter is used for setting the end data point of histogram intervals. (optional) + /// This parameter is used for setting the width of histogram intervals. (optional) + /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) /// Task of Histograms - System.Threading.Tasks.Task ListHistogramsAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null); + System.Threading.Tasks.Task ListHistogramsAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), int? intervalStart = default(int?), int? intervalEnd = default(int?), int? intervalWidth = default(int?), string field = default(string)); /// /// List histograms /// /// - /// This endpoint is used for getting histograms based on the `field` parameter passed to the API. + /// For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for setting the start data point of histogram intervals. (optional) - /// This parameter is used for setting the end data point of histogram intervals. (optional) - /// This parameter is used for setting the width of histogram intervals. (optional) - /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for setting the start data point of histogram intervals. (optional) + /// This parameter is used for setting the end data point of histogram intervals. (optional) + /// This parameter is used for setting the width of histogram intervals. (optional) + /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) /// Task of ApiResponse (Histograms) - System.Threading.Tasks.Task> ListHistogramsAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null); + System.Threading.Tasks.Task> ListHistogramsAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), int? intervalStart = default(int?), int? intervalEnd = default(int?), int? intervalWidth = default(int?), string field = default(string)); /// /// List related stories /// /// - /// This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. + /// This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// This parameter is used for boosting the result by the specified value. (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for boosting the result by the specified value. (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of RelatedStories - System.Threading.Tasks.Task ListRelatedStoriesAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null); + System.Threading.Tasks.Task ListRelatedStoriesAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), string boostBy = default(string), string storyLanguage = default(string), int? perPage = default(int?)); /// /// List related stories /// /// - /// This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. + /// This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// This parameter is used for boosting the result by the specified value. (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for boosting the result by the specified value. (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of ApiResponse (RelatedStories) - System.Threading.Tasks.Task> ListRelatedStoriesAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null); + System.Threading.Tasks.Task> ListRelatedStoriesAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), string boostBy = default(string), string storyLanguage = default(string), int? perPage = default(int?)); /// /// List Stories /// /// - /// This endpoint is used for getting a list of stories. + /// The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) - /// This parameter is used for changing the order column of the results. (optional, default to published_at) - /// This parameter is used for changing the order direction of the result. (optional, default to desc) - /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *) - /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) + /// This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to published_at) + /// This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to desc) + /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to "*") + /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) /// Task of Stories - System.Threading.Tasks.Task ListStoriesAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null); + System.Threading.Tasks.Task ListStoriesAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), string sortBy = default(string), string sortDirection = default(string), string cursor = default(string), int? perPage = default(int?)); /// /// List Stories /// /// - /// This endpoint is used for getting a list of stories. + /// The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) - /// This parameter is used for changing the order column of the results. (optional, default to published_at) - /// This parameter is used for changing the order direction of the result. (optional, default to desc) - /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *) - /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) + /// This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to published_at) + /// This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to desc) + /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to "*") + /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) /// Task of ApiResponse (Stories) - System.Threading.Tasks.Task> ListStoriesAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null); + System.Threading.Tasks.Task> ListStoriesAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), string sortBy = default(string), string sortDirection = default(string), string cursor = default(string), int? perPage = default(int?)); /// /// List time series /// /// - /// This endpoint is used for getting time series by stories. + /// The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW-7DAYS/DAY) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW/DAY) - /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to +1DAY) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW-7DAYS/DAY") + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW/DAY") + /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to "+1DAY") /// Task of TimeSeriesList - System.Threading.Tasks.Task ListTimeSeriesAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null); + System.Threading.Tasks.Task ListTimeSeriesAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), string publishedAtStart = default(string), string publishedAtEnd = default(string), string period = default(string)); /// /// List time series /// /// - /// This endpoint is used for getting time series by stories. + /// The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW-7DAYS/DAY) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW/DAY) - /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to +1DAY) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW-7DAYS/DAY") + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW/DAY") + /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to "+1DAY") /// Task of ApiResponse (TimeSeriesList) - System.Threading.Tasks.Task> ListTimeSeriesAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null); + System.Threading.Tasks.Task> ListTimeSeriesAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), string publishedAtStart = default(string), string publishedAtEnd = default(string), string period = default(string)); /// /// List trends /// /// - /// This endpoint is used for finding trends based on stories. + /// The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. /// /// Thrown when fails to make API call - /// This parameter is used to specify the trend field. - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used to specify the trend field. + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) /// Task of Trends - System.Threading.Tasks.Task ListTrendsAsync (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null); + System.Threading.Tasks.Task ListTrendsAsync (string field, List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?)); /// /// List trends /// /// - /// This endpoint is used for finding trends based on stories. + /// The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. /// /// Thrown when fails to make API call - /// This parameter is used to specify the trend field. - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used to specify the trend field. + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) /// Task of ApiResponse (Trends) - System.Threading.Tasks.Task> ListTrendsAsyncWithHttpInfo (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null); + System.Threading.Tasks.Task> ListTrendsAsyncWithHttpInfo (string field, List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?)); #endregion Asynchronous Operations } @@ -2384,15 +2522,20 @@ public partial class DefaultApi : IDefaultApi /// public DefaultApi(String basePath) { - this.Configuration = new Configuration(new ApiClient(basePath)); + this.Configuration = new Aylien.NewsApi.Client.Configuration { BasePath = basePath }; ExceptionFactory = Aylien.NewsApi.Client.Configuration.DefaultExceptionFactory; + } - // ensure API client has configuration ready - if (Configuration.ApiClient.Configuration == null) - { - this.Configuration.ApiClient.Configuration = this.Configuration; - } + /// + /// Initializes a new instance of the class + /// + /// + public DefaultApi() + { + this.Configuration = Aylien.NewsApi.Client.Configuration.Default; + + ExceptionFactory = Aylien.NewsApi.Client.Configuration.DefaultExceptionFactory; } /// @@ -2401,20 +2544,14 @@ public DefaultApi(String basePath) /// /// An instance of Configuration /// - public DefaultApi(Configuration configuration = null) + public DefaultApi(Aylien.NewsApi.Client.Configuration configuration = null) { if (configuration == null) // use the default one in Configuration - this.Configuration = Configuration.Default; + this.Configuration = Aylien.NewsApi.Client.Configuration.Default; else this.Configuration = configuration; ExceptionFactory = Aylien.NewsApi.Client.Configuration.DefaultExceptionFactory; - - // ensure API client has configuration ready - if (Configuration.ApiClient.Configuration == null) - { - this.Configuration.ApiClient.Configuration = this.Configuration; - } } /// @@ -2426,11 +2563,21 @@ public String GetBasePath() return this.Configuration.ApiClient.RestClient.BaseUrl.ToString(); } + /// + /// Sets the base path of the API client. + /// + /// The base path + [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")] + public void SetBasePath(String basePath) + { + // do nothing + } + /// /// Gets or sets the configuration object /// /// An instance of the Configuration - public Configuration Configuration {get; set;} + public Aylien.NewsApi.Client.Configuration Configuration {get; set;} /// /// Provides a factory method hook for the creation of exceptions. @@ -2449,30 +2596,52 @@ public Aylien.NewsApi.Client.ExceptionFactory ExceptionFactory } /// - /// List autocompletes This endpoint is used for getting list of autocompletes by providing a specific term and type. + /// Gets the default header. + /// + /// Dictionary of HTTP header + [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")] + public IDictionary DefaultHeader() + { + return new ReadOnlyDictionary(this.Configuration.DefaultHeader); + } + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")] + public void AddDefaultHeader(string key, string value) + { + this.Configuration.AddDefaultHeader(key, value); + } + + /// + /// List autocompletes The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. /// /// Thrown when fails to make API call - /// This parameter is used for defining the type of autocompletes. - /// This parameter is used for finding autocomplete objects that contain the specified value. - /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for defining the type of autocompletes. + /// This parameter is used for finding autocomplete objects that contain the specified value. + /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Autocompletes - public Autocompletes ListAutocompletes (string type, string term, string language = null, int? perPage = null) + public Autocompletes ListAutocompletes (string type, string term, string language = default(string), int? perPage = default(int?)) { ApiResponse localVarResponse = ListAutocompletesWithHttpInfo(type, term, language, perPage); return localVarResponse.Data; } /// - /// List autocompletes This endpoint is used for getting list of autocompletes by providing a specific term and type. + /// List autocompletes The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. /// /// Thrown when fails to make API call - /// This parameter is used for defining the type of autocompletes. - /// This parameter is used for finding autocomplete objects that contain the specified value. - /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for defining the type of autocompletes. + /// This parameter is used for finding autocomplete objects that contain the specified value. + /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// ApiResponse of Autocompletes - public ApiResponse< Autocompletes > ListAutocompletesWithHttpInfo (string type, string term, string language = null, int? perPage = null) + public ApiResponse ListAutocompletesWithHttpInfo (string type, string term, string language = default(string), int? perPage = default(int?)) { // verify the required parameter 'type' is set if (type == null) @@ -2481,52 +2650,46 @@ public ApiResponse< Autocompletes > ListAutocompletesWithHttpInfo (string type, if (term == null) throw new ApiException(400, "Missing required parameter 'term' when calling DefaultApi->ListAutocompletes"); - var localVarPath = "/autocompletes"; + var localVarPath = "./autocompletes"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (type != null) localVarQueryParams.Add(new Tuple("type", Configuration.ApiClient.ParameterToString(type))); // query parameter - if (term != null) localVarQueryParams.Add(new Tuple("term", Configuration.ApiClient.ParameterToString(term))); // query parameter - if (language != null) localVarQueryParams.Add(new Tuple("language", Configuration.ApiClient.ParameterToString(language))); // query parameter - if (perPage != null) localVarQueryParams.Add(new Tuple("per_page", Configuration.ApiClient.ParameterToString(perPage))); // query parameter + if (type != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "type", type)); // query parameter + if (term != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "term", term)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "language", language)); // query parameter + if (perPage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "per_page", perPage)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } - // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath, + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -2539,21 +2702,20 @@ public ApiResponse< Autocompletes > ListAutocompletesWithHttpInfo (string type, } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Autocompletes) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Autocompletes))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Autocompletes) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Autocompletes))); } /// - /// List autocompletes This endpoint is used for getting list of autocompletes by providing a specific term and type. + /// List autocompletes The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. /// /// Thrown when fails to make API call - /// This parameter is used for defining the type of autocompletes. - /// This parameter is used for finding autocomplete objects that contain the specified value. - /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for defining the type of autocompletes. + /// This parameter is used for finding autocomplete objects that contain the specified value. + /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of Autocompletes - public async System.Threading.Tasks.Task ListAutocompletesAsync (string type, string term, string language = null, int? perPage = null) + public async System.Threading.Tasks.Task ListAutocompletesAsync (string type, string term, string language = default(string), int? perPage = default(int?)) { ApiResponse localVarResponse = await ListAutocompletesAsyncWithHttpInfo(type, term, language, perPage); return localVarResponse.Data; @@ -2561,15 +2723,15 @@ public async System.Threading.Tasks.Task ListAutocompletesAsync ( } /// - /// List autocompletes This endpoint is used for getting list of autocompletes by providing a specific term and type. + /// List autocompletes The autocompletes endpoint a string of characters provided to it, and then returns suggested terms that are the most likely full words or strings. The terms returned by the News API are based on parameters the type parameters you can see below. For example, if you provide the autocompletes endpoint with the term `New York C` and select the type `dbpedia_resources`, the API will return links to the DBpedia resources `New_York_City`, `New_York_City_Subway`, `New_York_City_Police_Department`, and so on. /// /// Thrown when fails to make API call - /// This parameter is used for defining the type of autocompletes. - /// This parameter is used for finding autocomplete objects that contain the specified value. - /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for defining the type of autocompletes. + /// This parameter is used for finding autocomplete objects that contain the specified value. + /// This parameter is used for autocompletes whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to en) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of ApiResponse (Autocompletes) - public async System.Threading.Tasks.Task> ListAutocompletesAsyncWithHttpInfo (string type, string term, string language = null, int? perPage = null) + public async System.Threading.Tasks.Task> ListAutocompletesAsyncWithHttpInfo (string type, string term, string language = default(string), int? perPage = default(int?)) { // verify the required parameter 'type' is set if (type == null) @@ -2578,50 +2740,46 @@ public async System.Threading.Tasks.Task> ListAutocom if (term == null) throw new ApiException(400, "Missing required parameter 'term' when calling DefaultApi->ListAutocompletes"); - var localVarPath = "/autocompletes"; + var localVarPath = "./autocompletes"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (type != null) localVarQueryParams.Add(new Tuple("type", Configuration.ApiClient.ParameterToString(type))); // query parameter - if (term != null) localVarQueryParams.Add(new Tuple("term", Configuration.ApiClient.ParameterToString(term))); // query parameter - if (language != null) localVarQueryParams.Add(new Tuple("language", Configuration.ApiClient.ParameterToString(language))); // query parameter - if (perPage != null) localVarQueryParams.Add(new Tuple("per_page", Configuration.ApiClient.ParameterToString(perPage))); // query parameter + if (type != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "type", type)); // query parameter + if (term != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "term", term)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "language", language)); // query parameter + if (perPage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "per_page", perPage)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -2634,435 +2792,557 @@ public async System.Threading.Tasks.Task> ListAutocom } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Autocompletes) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Autocompletes))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Autocompletes) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Autocompletes))); + } + + /// + /// List Clusters The clusters endpoint is used to return clusters based on parameters you set in your query. + /// + /// Thrown when fails to make API call + /// This parameter is used for finding clusters by cluster id. (optional) + /// This parameter is used for excluding clusters by cluster id. (optional) + /// This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// Clusters + public Clusters ListClusters (List id = default(List), List notId = default(List), int? storyCountMin = default(int?), int? storyCountMax = default(int?), string timeStart = default(string), string timeEnd = default(string), string earliestStoryStart = default(string), string earliestStoryEnd = default(string), string latestStoryStart = default(string), string latestStoryEnd = default(string), List locationCountry = default(List), List notLocationCountry = default(List)) + { + ApiResponse localVarResponse = ListClustersWithHttpInfo(id, notId, storyCountMin, storyCountMax, timeStart, timeEnd, earliestStoryStart, earliestStoryEnd, latestStoryStart, latestStoryEnd, locationCountry, notLocationCountry); + return localVarResponse.Data; + } + + /// + /// List Clusters The clusters endpoint is used to return clusters based on parameters you set in your query. + /// + /// Thrown when fails to make API call + /// This parameter is used for finding clusters by cluster id. (optional) + /// This parameter is used for excluding clusters by cluster id. (optional) + /// This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// ApiResponse of Clusters + public ApiResponse ListClustersWithHttpInfo (List id = default(List), List notId = default(List), int? storyCountMin = default(int?), int? storyCountMax = default(int?), string timeStart = default(string), string timeEnd = default(string), string earliestStoryStart = default(string), string earliestStoryEnd = default(string), string latestStoryStart = default(string), string latestStoryEnd = default(string), List locationCountry = default(List), List notLocationCountry = default(List)) + { + + var localVarPath = "./clusters"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + "application/json", + "text/xml" + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (storyCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_count.min", storyCountMin)); // query parameter + if (storyCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_count.max", storyCountMax)); // query parameter + if (timeStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "time.start", timeStart)); // query parameter + if (timeEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "time.end", timeEnd)); // query parameter + if (earliestStoryStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "earliest_story.start", earliestStoryStart)); // query parameter + if (earliestStoryEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "earliest_story.end", earliestStoryEnd)); // query parameter + if (latestStoryStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "latest_story.start", latestStoryStart)); // query parameter + if (latestStoryEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "latest_story.end", latestStoryEnd)); // query parameter + if (locationCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "location.country", locationCountry)); // query parameter + if (notLocationCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!location.country", notLocationCountry)); // query parameter + + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + { + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + } + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + { + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + } + + // make the HTTP request + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ListClusters", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Clusters) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Clusters))); } /// - /// List coverages This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. + /// List Clusters The clusters endpoint is used to return clusters based on parameters you set in your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding clusters by cluster id. (optional) + /// This parameter is used for excluding clusters by cluster id. (optional) + /// This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// Task of Clusters + public async System.Threading.Tasks.Task ListClustersAsync (List id = default(List), List notId = default(List), int? storyCountMin = default(int?), int? storyCountMax = default(int?), string timeStart = default(string), string timeEnd = default(string), string earliestStoryStart = default(string), string earliestStoryEnd = default(string), string latestStoryStart = default(string), string latestStoryEnd = default(string), List locationCountry = default(List), List notLocationCountry = default(List)) + { + ApiResponse localVarResponse = await ListClustersAsyncWithHttpInfo(id, notId, storyCountMin, storyCountMax, timeStart, timeEnd, earliestStoryStart, earliestStoryEnd, latestStoryStart, latestStoryEnd, locationCountry, notLocationCountry); + return localVarResponse.Data; + + } + + /// + /// List Clusters The clusters endpoint is used to return clusters based on parameters you set in your query. + /// + /// Thrown when fails to make API call + /// This parameter is used for finding clusters by cluster id. (optional) + /// This parameter is used for excluding clusters by cluster id. (optional) + /// This parameter is used for finding clusters with more than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters with less than or equal to a specific amount of stories associated with them. (optional) + /// This parameter is used for finding clusters whose creation time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose creation time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its earliest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters whose publication date of its latest story is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding clusters belonging to a specific country. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// Task of ApiResponse (Clusters) + public async System.Threading.Tasks.Task> ListClustersAsyncWithHttpInfo (List id = default(List), List notId = default(List), int? storyCountMin = default(int?), int? storyCountMax = default(int?), string timeStart = default(string), string timeEnd = default(string), string earliestStoryStart = default(string), string earliestStoryEnd = default(string), string latestStoryStart = default(string), string latestStoryEnd = default(string), List locationCountry = default(List), List notLocationCountry = default(List)) + { + + var localVarPath = "./clusters"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + "application/json", + "text/xml" + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (storyCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_count.min", storyCountMin)); // query parameter + if (storyCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_count.max", storyCountMax)); // query parameter + if (timeStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "time.start", timeStart)); // query parameter + if (timeEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "time.end", timeEnd)); // query parameter + if (earliestStoryStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "earliest_story.start", earliestStoryStart)); // query parameter + if (earliestStoryEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "earliest_story.end", earliestStoryEnd)); // query parameter + if (latestStoryStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "latest_story.start", latestStoryStart)); // query parameter + if (latestStoryEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "latest_story.end", latestStoryEnd)); // query parameter + if (locationCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "location.country", locationCountry)); // query parameter + if (notLocationCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!location.country", notLocationCountry)); // query parameter + + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + { + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + } + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + { + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + } + + // make the HTTP request + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ListClusters", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Clusters) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Clusters))); + } + + /// + /// List coverages The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. + /// + /// Thrown when fails to make API call + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Coverages - public Coverages ListCoverages (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null) + public Coverages ListCoverages (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), DateTime? storyPublishedAt = default(DateTime?), string storyLanguage = default(string), int? perPage = default(int?)) { - ApiResponse localVarResponse = ListCoveragesWithHttpInfo(id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, cluster, clusterAlgorithm, _return, storyId, storyUrl, storyTitle, storyBody, storyPublishedAt, storyLanguage, perPage); + ApiResponse localVarResponse = ListCoveragesWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, storyId, storyUrl, storyTitle, storyBody, storyPublishedAt, storyLanguage, perPage); return localVarResponse.Data; } /// - /// List coverages This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. + /// List coverages The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// ApiResponse of Coverages - public ApiResponse< Coverages > ListCoveragesWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null) + public ApiResponse ListCoveragesWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), DateTime? storyPublishedAt = default(DateTime?), string storyLanguage = default(string), int? perPage = default(int?)) { - var localVarPath = "/coverages"; + var localVarPath = "./coverages"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarFormParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notId != null) - foreach (var val in notId) - localVarFormParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (title != null) localVarFormParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // form parameter - if (body != null) localVarFormParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // form parameter - if (text != null) localVarFormParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // form parameter - if (language != null) - foreach (var val in language) - localVarFormParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarFormParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (publishedAtStart != null) localVarFormParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // form parameter - if (publishedAtEnd != null) localVarFormParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // form parameter - if (categoriesTaxonomy != null) localVarFormParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // form parameter - if (categoriesConfident != null) localVarFormParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // form parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarFormParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarFormParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarFormParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarFormParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarFormParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarFormParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarFormParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarFormParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarFormParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarFormParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarFormParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarFormParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarFormParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarFormParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarFormParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarFormParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sentimentTitlePolarity != null) localVarFormParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // form parameter - if (notSentimentTitlePolarity != null) localVarFormParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // form parameter - if (sentimentBodyPolarity != null) localVarFormParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // form parameter - if (notSentimentBodyPolarity != null) localVarFormParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // form parameter - if (mediaImagesCountMin != null) localVarFormParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // form parameter - if (mediaImagesCountMax != null) localVarFormParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // form parameter - if (mediaImagesWidthMin != null) localVarFormParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // form parameter - if (mediaImagesWidthMax != null) localVarFormParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // form parameter - if (mediaImagesHeightMin != null) localVarFormParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // form parameter - if (mediaImagesHeightMax != null) localVarFormParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // form parameter - if (mediaImagesContentLengthMin != null) localVarFormParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // form parameter - if (mediaImagesContentLengthMax != null) localVarFormParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // form parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarFormParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarFormParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (mediaVideosCountMin != null) localVarFormParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // form parameter - if (mediaVideosCountMax != null) localVarFormParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // form parameter - if (authorId != null) - foreach (var val in authorId) - localVarFormParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarFormParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (authorName != null) localVarFormParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // form parameter - if (notAuthorName != null) localVarFormParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // form parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarFormParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarFormParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarFormParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarFormParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarFormParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarFormParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarFormParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarFormParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarFormParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarFormParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarFormParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarFormParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarFormParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarFormParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarFormParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarFormParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarFormParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarFormParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarFormParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarFormParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLinksInCountMin != null) localVarFormParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // form parameter - if (sourceLinksInCountMax != null) localVarFormParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // form parameter - if (sourceRankingsAlexaRankMin != null) localVarFormParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // form parameter - if (sourceRankingsAlexaRankMax != null) localVarFormParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // form parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarFormParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (socialSharesCountFacebookMin != null) localVarFormParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // form parameter - if (socialSharesCountFacebookMax != null) localVarFormParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // form parameter - if (socialSharesCountGooglePlusMin != null) localVarFormParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // form parameter - if (socialSharesCountGooglePlusMax != null) localVarFormParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // form parameter - if (socialSharesCountLinkedinMin != null) localVarFormParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // form parameter - if (socialSharesCountLinkedinMax != null) localVarFormParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // form parameter - if (socialSharesCountRedditMin != null) localVarFormParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // form parameter - if (socialSharesCountRedditMax != null) localVarFormParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // form parameter - if (cluster != null) localVarFormParams.Add(new Tuple("cluster", Configuration.ApiClient.ParameterToString(cluster))); // form parameter - if (clusterAlgorithm != null) localVarFormParams.Add(new Tuple("cluster.algorithm", Configuration.ApiClient.ParameterToString(clusterAlgorithm))); // form parameter - if (_return != null) - foreach (var val in _return) - localVarFormParams.Add(new Tuple("return[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (storyId != null) localVarFormParams.Add(new Tuple("story_id", Configuration.ApiClient.ParameterToString(storyId))); // form parameter - if (storyUrl != null) localVarFormParams.Add(new Tuple("story_url", Configuration.ApiClient.ParameterToString(storyUrl))); // form parameter - if (storyTitle != null) localVarFormParams.Add(new Tuple("story_title", Configuration.ApiClient.ParameterToString(storyTitle))); // form parameter - if (storyBody != null) localVarFormParams.Add(new Tuple("story_body", Configuration.ApiClient.ParameterToString(storyBody))); // form parameter - if (storyPublishedAt != null) localVarFormParams.Add(new Tuple("story_published_at", Configuration.ApiClient.ParameterToString(storyPublishedAt))); // form parameter - if (storyLanguage != null) localVarFormParams.Add(new Tuple("story_language", Configuration.ApiClient.ParameterToString(storyLanguage))); // form parameter - if (perPage != null) localVarFormParams.Add(new Tuple("per_page", Configuration.ApiClient.ParameterToString(perPage))); // form parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (clusters != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "clusters[]", clusters)); // query parameter + if (_return != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "return[]", _return)); // query parameter + if (storyId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_id", storyId)); // query parameter + if (storyUrl != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_url", storyUrl)); // query parameter + if (storyTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_title", storyTitle)); // query parameter + if (storyBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_body", storyBody)); // query parameter + if (storyPublishedAt != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_published_at", storyPublishedAt)); // query parameter + if (storyLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_language", storyLanguage)); // query parameter + if (perPage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "per_page", perPage)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } - // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath, - Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; @@ -3074,434 +3354,343 @@ public ApiResponse< Coverages > ListCoveragesWithHttpInfo (List id = null } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Coverages) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Coverages))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Coverages) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Coverages))); } /// - /// List coverages This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. + /// List coverages The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of Coverages - public async System.Threading.Tasks.Task ListCoveragesAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null) + public async System.Threading.Tasks.Task ListCoveragesAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), DateTime? storyPublishedAt = default(DateTime?), string storyLanguage = default(string), int? perPage = default(int?)) { - ApiResponse localVarResponse = await ListCoveragesAsyncWithHttpInfo(id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, cluster, clusterAlgorithm, _return, storyId, storyUrl, storyTitle, storyBody, storyPublishedAt, storyLanguage, perPage); + ApiResponse localVarResponse = await ListCoveragesAsyncWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, storyId, storyUrl, storyTitle, storyBody, storyPublishedAt, storyLanguage, perPage); return localVarResponse.Data; } /// - /// List coverages This endpoint is used for finding story coverages based on the parameters provided. The maximum number of related stories returned is 100. + /// List coverages The coverages endpoint allows you to understand the reach a document has had. For example, you can track the coverage of a press release or a Tweet based on how many times it has been mentioned in stories. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of ApiResponse (Coverages) - public async System.Threading.Tasks.Task> ListCoveragesAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, DateTime? storyPublishedAt = null, string storyLanguage = null, int? perPage = null) + public async System.Threading.Tasks.Task> ListCoveragesAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), DateTime? storyPublishedAt = default(DateTime?), string storyLanguage = default(string), int? perPage = default(int?)) { - var localVarPath = "/coverages"; + var localVarPath = "./coverages"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarFormParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notId != null) - foreach (var val in notId) - localVarFormParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (title != null) localVarFormParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // form parameter - if (body != null) localVarFormParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // form parameter - if (text != null) localVarFormParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // form parameter - if (language != null) - foreach (var val in language) - localVarFormParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarFormParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (publishedAtStart != null) localVarFormParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // form parameter - if (publishedAtEnd != null) localVarFormParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // form parameter - if (categoriesTaxonomy != null) localVarFormParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // form parameter - if (categoriesConfident != null) localVarFormParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // form parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarFormParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarFormParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarFormParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarFormParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarFormParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarFormParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarFormParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarFormParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarFormParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarFormParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarFormParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarFormParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarFormParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarFormParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarFormParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarFormParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sentimentTitlePolarity != null) localVarFormParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // form parameter - if (notSentimentTitlePolarity != null) localVarFormParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // form parameter - if (sentimentBodyPolarity != null) localVarFormParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // form parameter - if (notSentimentBodyPolarity != null) localVarFormParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // form parameter - if (mediaImagesCountMin != null) localVarFormParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // form parameter - if (mediaImagesCountMax != null) localVarFormParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // form parameter - if (mediaImagesWidthMin != null) localVarFormParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // form parameter - if (mediaImagesWidthMax != null) localVarFormParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // form parameter - if (mediaImagesHeightMin != null) localVarFormParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // form parameter - if (mediaImagesHeightMax != null) localVarFormParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // form parameter - if (mediaImagesContentLengthMin != null) localVarFormParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // form parameter - if (mediaImagesContentLengthMax != null) localVarFormParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // form parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarFormParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarFormParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (mediaVideosCountMin != null) localVarFormParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // form parameter - if (mediaVideosCountMax != null) localVarFormParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // form parameter - if (authorId != null) - foreach (var val in authorId) - localVarFormParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarFormParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (authorName != null) localVarFormParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // form parameter - if (notAuthorName != null) localVarFormParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // form parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarFormParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarFormParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarFormParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarFormParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarFormParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarFormParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarFormParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarFormParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarFormParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarFormParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarFormParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarFormParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarFormParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarFormParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarFormParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarFormParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarFormParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarFormParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarFormParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarFormParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLinksInCountMin != null) localVarFormParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // form parameter - if (sourceLinksInCountMax != null) localVarFormParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // form parameter - if (sourceRankingsAlexaRankMin != null) localVarFormParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // form parameter - if (sourceRankingsAlexaRankMax != null) localVarFormParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // form parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarFormParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (socialSharesCountFacebookMin != null) localVarFormParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // form parameter - if (socialSharesCountFacebookMax != null) localVarFormParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // form parameter - if (socialSharesCountGooglePlusMin != null) localVarFormParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // form parameter - if (socialSharesCountGooglePlusMax != null) localVarFormParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // form parameter - if (socialSharesCountLinkedinMin != null) localVarFormParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // form parameter - if (socialSharesCountLinkedinMax != null) localVarFormParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // form parameter - if (socialSharesCountRedditMin != null) localVarFormParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // form parameter - if (socialSharesCountRedditMax != null) localVarFormParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // form parameter - if (cluster != null) localVarFormParams.Add(new Tuple("cluster", Configuration.ApiClient.ParameterToString(cluster))); // form parameter - if (clusterAlgorithm != null) localVarFormParams.Add(new Tuple("cluster.algorithm", Configuration.ApiClient.ParameterToString(clusterAlgorithm))); // form parameter - if (_return != null) - foreach (var val in _return) - localVarFormParams.Add(new Tuple("return[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (storyId != null) localVarFormParams.Add(new Tuple("story_id", Configuration.ApiClient.ParameterToString(storyId))); // form parameter - if (storyUrl != null) localVarFormParams.Add(new Tuple("story_url", Configuration.ApiClient.ParameterToString(storyUrl))); // form parameter - if (storyTitle != null) localVarFormParams.Add(new Tuple("story_title", Configuration.ApiClient.ParameterToString(storyTitle))); // form parameter - if (storyBody != null) localVarFormParams.Add(new Tuple("story_body", Configuration.ApiClient.ParameterToString(storyBody))); // form parameter - if (storyPublishedAt != null) localVarFormParams.Add(new Tuple("story_published_at", Configuration.ApiClient.ParameterToString(storyPublishedAt))); // form parameter - if (storyLanguage != null) localVarFormParams.Add(new Tuple("story_language", Configuration.ApiClient.ParameterToString(storyLanguage))); // form parameter - if (perPage != null) localVarFormParams.Add(new Tuple("per_page", Configuration.ApiClient.ParameterToString(perPage))); // form parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (clusters != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "clusters[]", clusters)); // query parameter + if (_return != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "return[]", _return)); // query parameter + if (storyId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_id", storyId)); // query parameter + if (storyUrl != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_url", storyUrl)); // query parameter + if (storyTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_title", storyTitle)); // query parameter + if (storyBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_body", storyBody)); // query parameter + if (storyPublishedAt != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_published_at", storyPublishedAt)); // query parameter + if (storyLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_language", storyLanguage)); // query parameter + if (perPage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "per_page", perPage)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, - Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; @@ -3513,414 +3702,326 @@ public async System.Threading.Tasks.Task> ListCoveragesAs } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Coverages) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Coverages))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Coverages) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Coverages))); } /// - /// List histograms This endpoint is used for getting histograms based on the `field` parameter passed to the API. + /// List histograms For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for setting the start data point of histogram intervals. (optional) - /// This parameter is used for setting the end data point of histogram intervals. (optional) - /// This parameter is used for setting the width of histogram intervals. (optional) - /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for setting the start data point of histogram intervals. (optional) + /// This parameter is used for setting the end data point of histogram intervals. (optional) + /// This parameter is used for setting the width of histogram intervals. (optional) + /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) /// Histograms - public Histograms ListHistograms (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null) + public Histograms ListHistograms (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), int? intervalStart = default(int?), int? intervalEnd = default(int?), int? intervalWidth = default(int?), string field = default(string)) { - ApiResponse localVarResponse = ListHistogramsWithHttpInfo(id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, intervalStart, intervalEnd, intervalWidth, field); + ApiResponse localVarResponse = ListHistogramsWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, intervalStart, intervalEnd, intervalWidth, field); return localVarResponse.Data; } /// - /// List histograms This endpoint is used for getting histograms based on the `field` parameter passed to the API. + /// List histograms For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for setting the start data point of histogram intervals. (optional) - /// This parameter is used for setting the end data point of histogram intervals. (optional) - /// This parameter is used for setting the width of histogram intervals. (optional) - /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for setting the start data point of histogram intervals. (optional) + /// This parameter is used for setting the end data point of histogram intervals. (optional) + /// This parameter is used for setting the width of histogram intervals. (optional) + /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) /// ApiResponse of Histograms - public ApiResponse< Histograms > ListHistogramsWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null) + public ApiResponse ListHistogramsWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), int? intervalStart = default(int?), int? intervalEnd = default(int?), int? intervalWidth = default(int?), string field = default(string)) { - var localVarPath = "/histograms"; + var localVarPath = "./histograms"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarQueryParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notId != null) - foreach (var val in notId) - localVarQueryParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (title != null) localVarQueryParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // query parameter - if (body != null) localVarQueryParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // query parameter - if (text != null) localVarQueryParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // query parameter - if (language != null) - foreach (var val in language) - localVarQueryParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarQueryParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (publishedAtStart != null) localVarQueryParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // query parameter - if (publishedAtEnd != null) localVarQueryParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // query parameter - if (categoriesTaxonomy != null) localVarQueryParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // query parameter - if (categoriesConfident != null) localVarQueryParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // query parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarQueryParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarQueryParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarQueryParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarQueryParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarQueryParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarQueryParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarQueryParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarQueryParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarQueryParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarQueryParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarQueryParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarQueryParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // query parameter - if (notSentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // query parameter - if (sentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // query parameter - if (notSentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // query parameter - if (mediaImagesCountMin != null) localVarQueryParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // query parameter - if (mediaImagesCountMax != null) localVarQueryParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // query parameter - if (mediaImagesWidthMin != null) localVarQueryParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // query parameter - if (mediaImagesWidthMax != null) localVarQueryParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // query parameter - if (mediaImagesHeightMin != null) localVarQueryParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // query parameter - if (mediaImagesHeightMax != null) localVarQueryParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // query parameter - if (mediaImagesContentLengthMin != null) localVarQueryParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // query parameter - if (mediaImagesContentLengthMax != null) localVarQueryParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // query parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarQueryParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarQueryParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (mediaVideosCountMin != null) localVarQueryParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // query parameter - if (mediaVideosCountMax != null) localVarQueryParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // query parameter - if (authorId != null) - foreach (var val in authorId) - localVarQueryParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarQueryParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (authorName != null) localVarQueryParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // query parameter - if (notAuthorName != null) localVarQueryParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // query parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarQueryParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarQueryParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarQueryParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarQueryParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarQueryParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarQueryParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarQueryParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarQueryParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarQueryParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarQueryParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarQueryParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarQueryParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarQueryParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarQueryParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarQueryParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarQueryParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarQueryParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarQueryParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarQueryParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarQueryParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLinksInCountMin != null) localVarQueryParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // query parameter - if (sourceLinksInCountMax != null) localVarQueryParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // query parameter - if (sourceRankingsAlexaRankMin != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // query parameter - if (sourceRankingsAlexaRankMax != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // query parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarQueryParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (socialSharesCountFacebookMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // query parameter - if (socialSharesCountFacebookMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // query parameter - if (socialSharesCountGooglePlusMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // query parameter - if (socialSharesCountGooglePlusMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // query parameter - if (socialSharesCountLinkedinMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // query parameter - if (socialSharesCountLinkedinMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // query parameter - if (socialSharesCountRedditMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // query parameter - if (socialSharesCountRedditMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // query parameter - if (intervalStart != null) localVarQueryParams.Add(new Tuple("interval.start", Configuration.ApiClient.ParameterToString(intervalStart))); // query parameter - if (intervalEnd != null) localVarQueryParams.Add(new Tuple("interval.end", Configuration.ApiClient.ParameterToString(intervalEnd))); // query parameter - if (intervalWidth != null) localVarQueryParams.Add(new Tuple("interval.width", Configuration.ApiClient.ParameterToString(intervalWidth))); // query parameter - if (field != null) localVarQueryParams.Add(new Tuple("field", Configuration.ApiClient.ParameterToString(field))); // query parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (intervalStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "interval.start", intervalStart)); // query parameter + if (intervalEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "interval.end", intervalEnd)); // query parameter + if (intervalWidth != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "interval.width", intervalWidth)); // query parameter + if (field != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "field", field)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } - // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath, + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -3933,413 +4034,327 @@ public ApiResponse< Histograms > ListHistogramsWithHttpInfo (List id = nu } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Histograms) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Histograms))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Histograms) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Histograms))); } /// - /// List histograms This endpoint is used for getting histograms based on the `field` parameter passed to the API. + /// List histograms For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for setting the start data point of histogram intervals. (optional) - /// This parameter is used for setting the end data point of histogram intervals. (optional) - /// This parameter is used for setting the width of histogram intervals. (optional) - /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for setting the start data point of histogram intervals. (optional) + /// This parameter is used for setting the end data point of histogram intervals. (optional) + /// This parameter is used for setting the width of histogram intervals. (optional) + /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) /// Task of Histograms - public async System.Threading.Tasks.Task ListHistogramsAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null) + public async System.Threading.Tasks.Task ListHistogramsAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), int? intervalStart = default(int?), int? intervalEnd = default(int?), int? intervalWidth = default(int?), string field = default(string)) { - ApiResponse localVarResponse = await ListHistogramsAsyncWithHttpInfo(id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, intervalStart, intervalEnd, intervalWidth, field); + ApiResponse localVarResponse = await ListHistogramsAsyncWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, intervalStart, intervalEnd, intervalWidth, field); return localVarResponse.Data; } /// - /// List histograms This endpoint is used for getting histograms based on the `field` parameter passed to the API. + /// List histograms For the numerical metadata that the News API gathers (such as word counts or social shares for example), you can use the histograms endpoint to access and display this information. As this endpoint does not return actual stories, the results you are given will not count towards your story allowance provided by your subscription, so you can effectively query this endpoint free of charge. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for setting the start data point of histogram intervals. (optional) - /// This parameter is used for setting the end data point of histogram intervals. (optional) - /// This parameter is used for setting the width of histogram intervals. (optional) - /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for setting the start data point of histogram intervals. (optional) + /// This parameter is used for setting the end data point of histogram intervals. (optional) + /// This parameter is used for setting the width of histogram intervals. (optional) + /// This parameter is used for specifying the y-axis variable for the histogram. (optional, default to social_shares_count) /// Task of ApiResponse (Histograms) - public async System.Threading.Tasks.Task> ListHistogramsAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, int? intervalStart = null, int? intervalEnd = null, int? intervalWidth = null, string field = null) + public async System.Threading.Tasks.Task> ListHistogramsAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), int? intervalStart = default(int?), int? intervalEnd = default(int?), int? intervalWidth = default(int?), string field = default(string)) { - var localVarPath = "/histograms"; + var localVarPath = "./histograms"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarQueryParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notId != null) - foreach (var val in notId) - localVarQueryParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (title != null) localVarQueryParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // query parameter - if (body != null) localVarQueryParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // query parameter - if (text != null) localVarQueryParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // query parameter - if (language != null) - foreach (var val in language) - localVarQueryParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarQueryParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (publishedAtStart != null) localVarQueryParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // query parameter - if (publishedAtEnd != null) localVarQueryParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // query parameter - if (categoriesTaxonomy != null) localVarQueryParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // query parameter - if (categoriesConfident != null) localVarQueryParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // query parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarQueryParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarQueryParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarQueryParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarQueryParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarQueryParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarQueryParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarQueryParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarQueryParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarQueryParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarQueryParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarQueryParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarQueryParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // query parameter - if (notSentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // query parameter - if (sentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // query parameter - if (notSentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // query parameter - if (mediaImagesCountMin != null) localVarQueryParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // query parameter - if (mediaImagesCountMax != null) localVarQueryParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // query parameter - if (mediaImagesWidthMin != null) localVarQueryParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // query parameter - if (mediaImagesWidthMax != null) localVarQueryParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // query parameter - if (mediaImagesHeightMin != null) localVarQueryParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // query parameter - if (mediaImagesHeightMax != null) localVarQueryParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // query parameter - if (mediaImagesContentLengthMin != null) localVarQueryParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // query parameter - if (mediaImagesContentLengthMax != null) localVarQueryParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // query parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarQueryParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarQueryParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (mediaVideosCountMin != null) localVarQueryParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // query parameter - if (mediaVideosCountMax != null) localVarQueryParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // query parameter - if (authorId != null) - foreach (var val in authorId) - localVarQueryParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarQueryParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (authorName != null) localVarQueryParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // query parameter - if (notAuthorName != null) localVarQueryParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // query parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarQueryParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarQueryParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarQueryParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarQueryParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarQueryParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarQueryParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarQueryParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarQueryParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarQueryParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarQueryParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarQueryParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarQueryParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarQueryParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarQueryParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarQueryParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarQueryParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarQueryParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarQueryParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarQueryParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarQueryParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLinksInCountMin != null) localVarQueryParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // query parameter - if (sourceLinksInCountMax != null) localVarQueryParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // query parameter - if (sourceRankingsAlexaRankMin != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // query parameter - if (sourceRankingsAlexaRankMax != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // query parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarQueryParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (socialSharesCountFacebookMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // query parameter - if (socialSharesCountFacebookMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // query parameter - if (socialSharesCountGooglePlusMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // query parameter - if (socialSharesCountGooglePlusMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // query parameter - if (socialSharesCountLinkedinMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // query parameter - if (socialSharesCountLinkedinMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // query parameter - if (socialSharesCountRedditMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // query parameter - if (socialSharesCountRedditMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // query parameter - if (intervalStart != null) localVarQueryParams.Add(new Tuple("interval.start", Configuration.ApiClient.ParameterToString(intervalStart))); // query parameter - if (intervalEnd != null) localVarQueryParams.Add(new Tuple("interval.end", Configuration.ApiClient.ParameterToString(intervalEnd))); // query parameter - if (intervalWidth != null) localVarQueryParams.Add(new Tuple("interval.width", Configuration.ApiClient.ParameterToString(intervalWidth))); // query parameter - if (field != null) localVarQueryParams.Add(new Tuple("field", Configuration.ApiClient.ParameterToString(field))); // query parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (intervalStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "interval.start", intervalStart)); // query parameter + if (intervalEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "interval.end", intervalEnd)); // query parameter + if (intervalWidth != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "interval.width", intervalWidth)); // query parameter + if (field != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "field", field)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -4352,435 +4367,342 @@ public async System.Threading.Tasks.Task> ListHistograms } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Histograms) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Histograms))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Histograms) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Histograms))); } /// - /// List related stories This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. + /// List related stories This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// This parameter is used for boosting the result by the specified value. (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for boosting the result by the specified value. (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// RelatedStories - public RelatedStories ListRelatedStories (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null) + public RelatedStories ListRelatedStories (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), string boostBy = default(string), string storyLanguage = default(string), int? perPage = default(int?)) { - ApiResponse localVarResponse = ListRelatedStoriesWithHttpInfo(id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, cluster, clusterAlgorithm, _return, storyId, storyUrl, storyTitle, storyBody, boostBy, storyLanguage, perPage); + ApiResponse localVarResponse = ListRelatedStoriesWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, storyId, storyUrl, storyTitle, storyBody, boostBy, storyLanguage, perPage); return localVarResponse.Data; } /// - /// List related stories This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. + /// List related stories This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// This parameter is used for boosting the result by the specified value. (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for boosting the result by the specified value. (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// ApiResponse of RelatedStories - public ApiResponse< RelatedStories > ListRelatedStoriesWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null) + public ApiResponse ListRelatedStoriesWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), string boostBy = default(string), string storyLanguage = default(string), int? perPage = default(int?)) { - var localVarPath = "/related_stories"; + var localVarPath = "./related_stories"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarFormParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notId != null) - foreach (var val in notId) - localVarFormParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (title != null) localVarFormParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // form parameter - if (body != null) localVarFormParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // form parameter - if (text != null) localVarFormParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // form parameter - if (language != null) - foreach (var val in language) - localVarFormParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarFormParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (publishedAtStart != null) localVarFormParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // form parameter - if (publishedAtEnd != null) localVarFormParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // form parameter - if (categoriesTaxonomy != null) localVarFormParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // form parameter - if (categoriesConfident != null) localVarFormParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // form parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarFormParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarFormParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarFormParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarFormParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarFormParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarFormParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarFormParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarFormParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarFormParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarFormParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarFormParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarFormParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarFormParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarFormParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarFormParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarFormParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sentimentTitlePolarity != null) localVarFormParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // form parameter - if (notSentimentTitlePolarity != null) localVarFormParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // form parameter - if (sentimentBodyPolarity != null) localVarFormParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // form parameter - if (notSentimentBodyPolarity != null) localVarFormParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // form parameter - if (mediaImagesCountMin != null) localVarFormParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // form parameter - if (mediaImagesCountMax != null) localVarFormParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // form parameter - if (mediaImagesWidthMin != null) localVarFormParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // form parameter - if (mediaImagesWidthMax != null) localVarFormParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // form parameter - if (mediaImagesHeightMin != null) localVarFormParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // form parameter - if (mediaImagesHeightMax != null) localVarFormParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // form parameter - if (mediaImagesContentLengthMin != null) localVarFormParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // form parameter - if (mediaImagesContentLengthMax != null) localVarFormParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // form parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarFormParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarFormParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (mediaVideosCountMin != null) localVarFormParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // form parameter - if (mediaVideosCountMax != null) localVarFormParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // form parameter - if (authorId != null) - foreach (var val in authorId) - localVarFormParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarFormParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (authorName != null) localVarFormParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // form parameter - if (notAuthorName != null) localVarFormParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // form parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarFormParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarFormParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarFormParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarFormParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarFormParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarFormParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarFormParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarFormParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarFormParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarFormParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarFormParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarFormParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarFormParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarFormParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarFormParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarFormParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarFormParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarFormParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarFormParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarFormParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLinksInCountMin != null) localVarFormParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // form parameter - if (sourceLinksInCountMax != null) localVarFormParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // form parameter - if (sourceRankingsAlexaRankMin != null) localVarFormParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // form parameter - if (sourceRankingsAlexaRankMax != null) localVarFormParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // form parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarFormParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (socialSharesCountFacebookMin != null) localVarFormParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // form parameter - if (socialSharesCountFacebookMax != null) localVarFormParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // form parameter - if (socialSharesCountGooglePlusMin != null) localVarFormParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // form parameter - if (socialSharesCountGooglePlusMax != null) localVarFormParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // form parameter - if (socialSharesCountLinkedinMin != null) localVarFormParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // form parameter - if (socialSharesCountLinkedinMax != null) localVarFormParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // form parameter - if (socialSharesCountRedditMin != null) localVarFormParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // form parameter - if (socialSharesCountRedditMax != null) localVarFormParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // form parameter - if (cluster != null) localVarFormParams.Add(new Tuple("cluster", Configuration.ApiClient.ParameterToString(cluster))); // form parameter - if (clusterAlgorithm != null) localVarFormParams.Add(new Tuple("cluster.algorithm", Configuration.ApiClient.ParameterToString(clusterAlgorithm))); // form parameter - if (_return != null) - foreach (var val in _return) - localVarFormParams.Add(new Tuple("return[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (storyId != null) localVarFormParams.Add(new Tuple("story_id", Configuration.ApiClient.ParameterToString(storyId))); // form parameter - if (storyUrl != null) localVarFormParams.Add(new Tuple("story_url", Configuration.ApiClient.ParameterToString(storyUrl))); // form parameter - if (storyTitle != null) localVarFormParams.Add(new Tuple("story_title", Configuration.ApiClient.ParameterToString(storyTitle))); // form parameter - if (storyBody != null) localVarFormParams.Add(new Tuple("story_body", Configuration.ApiClient.ParameterToString(storyBody))); // form parameter - if (boostBy != null) localVarFormParams.Add(new Tuple("boost_by", Configuration.ApiClient.ParameterToString(boostBy))); // form parameter - if (storyLanguage != null) localVarFormParams.Add(new Tuple("story_language", Configuration.ApiClient.ParameterToString(storyLanguage))); // form parameter - if (perPage != null) localVarFormParams.Add(new Tuple("per_page", Configuration.ApiClient.ParameterToString(perPage))); // form parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (clusters != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "clusters[]", clusters)); // query parameter + if (_return != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "return[]", _return)); // query parameter + if (storyId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_id", storyId)); // query parameter + if (storyUrl != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_url", storyUrl)); // query parameter + if (storyTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_title", storyTitle)); // query parameter + if (storyBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_body", storyBody)); // query parameter + if (boostBy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "boost_by", boostBy)); // query parameter + if (storyLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_language", storyLanguage)); // query parameter + if (perPage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "per_page", perPage)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } - // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath, - Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; @@ -4792,434 +4714,343 @@ public ApiResponse< RelatedStories > ListRelatedStoriesWithHttpInfo (List } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (RelatedStories) Configuration.ApiClient.Deserialize(localVarResponse, typeof(RelatedStories))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (RelatedStories) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(RelatedStories))); } /// - /// List related stories This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. + /// List related stories This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// This parameter is used for boosting the result by the specified value. (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for boosting the result by the specified value. (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of RelatedStories - public async System.Threading.Tasks.Task ListRelatedStoriesAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null) + public async System.Threading.Tasks.Task ListRelatedStoriesAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), string boostBy = default(string), string storyLanguage = default(string), int? perPage = default(int?)) { - ApiResponse localVarResponse = await ListRelatedStoriesAsyncWithHttpInfo(id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, cluster, clusterAlgorithm, _return, storyId, storyUrl, storyTitle, storyBody, boostBy, storyLanguage, perPage); + ApiResponse localVarResponse = await ListRelatedStoriesAsyncWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, storyId, storyUrl, storyTitle, storyBody, boostBy, storyLanguage, perPage); return localVarResponse.Data; } /// - /// List related stories This endpoint is used for finding related stories based on the parameters provided. The maximum number of related stories returned is 100. + /// List related stories This endpoint is used for finding semantically similar stories based on the parameters you provide as inputs. For example, if you want to find stories similar to a Tweet or any text extract you input, the related stories endpoint will analyze the entities present and the meaning of the text, and find stories with a similar meaning. The maximum number of related stories returned is 100. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) /// A story id (optional) /// An article or webpage (optional) /// Title of the article (optional) /// Body of the article (optional) - /// This parameter is used for boosting the result by the specified value. (optional) - /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) - /// This parameter is used for specifying number of items in each page. (optional, default to 3) + /// This parameter is used for boosting the result by the specified value. (optional) + /// This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto) + /// This parameter is used for specifying number of items in each page. (optional, default to 3) /// Task of ApiResponse (RelatedStories) - public async System.Threading.Tasks.Task> ListRelatedStoriesAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, long? storyId = null, string storyUrl = null, string storyTitle = null, string storyBody = null, string boostBy = null, string storyLanguage = null, int? perPage = null) + public async System.Threading.Tasks.Task> ListRelatedStoriesAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), long? storyId = default(long?), string storyUrl = default(string), string storyTitle = default(string), string storyBody = default(string), string boostBy = default(string), string storyLanguage = default(string), int? perPage = default(int?)) { - var localVarPath = "/related_stories"; + var localVarPath = "./related_stories"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarFormParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notId != null) - foreach (var val in notId) - localVarFormParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (title != null) localVarFormParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // form parameter - if (body != null) localVarFormParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // form parameter - if (text != null) localVarFormParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // form parameter - if (language != null) - foreach (var val in language) - localVarFormParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarFormParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (publishedAtStart != null) localVarFormParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // form parameter - if (publishedAtEnd != null) localVarFormParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // form parameter - if (categoriesTaxonomy != null) localVarFormParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // form parameter - if (categoriesConfident != null) localVarFormParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // form parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarFormParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarFormParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarFormParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarFormParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarFormParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarFormParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarFormParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarFormParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarFormParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarFormParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarFormParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarFormParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarFormParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarFormParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarFormParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarFormParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sentimentTitlePolarity != null) localVarFormParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // form parameter - if (notSentimentTitlePolarity != null) localVarFormParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // form parameter - if (sentimentBodyPolarity != null) localVarFormParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // form parameter - if (notSentimentBodyPolarity != null) localVarFormParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // form parameter - if (mediaImagesCountMin != null) localVarFormParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // form parameter - if (mediaImagesCountMax != null) localVarFormParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // form parameter - if (mediaImagesWidthMin != null) localVarFormParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // form parameter - if (mediaImagesWidthMax != null) localVarFormParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // form parameter - if (mediaImagesHeightMin != null) localVarFormParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // form parameter - if (mediaImagesHeightMax != null) localVarFormParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // form parameter - if (mediaImagesContentLengthMin != null) localVarFormParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // form parameter - if (mediaImagesContentLengthMax != null) localVarFormParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // form parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarFormParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarFormParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (mediaVideosCountMin != null) localVarFormParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // form parameter - if (mediaVideosCountMax != null) localVarFormParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // form parameter - if (authorId != null) - foreach (var val in authorId) - localVarFormParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarFormParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (authorName != null) localVarFormParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // form parameter - if (notAuthorName != null) localVarFormParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // form parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarFormParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarFormParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarFormParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarFormParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarFormParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarFormParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarFormParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarFormParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarFormParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarFormParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarFormParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarFormParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarFormParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarFormParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarFormParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarFormParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarFormParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarFormParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarFormParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarFormParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (sourceLinksInCountMin != null) localVarFormParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // form parameter - if (sourceLinksInCountMax != null) localVarFormParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // form parameter - if (sourceRankingsAlexaRankMin != null) localVarFormParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // form parameter - if (sourceRankingsAlexaRankMax != null) localVarFormParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // form parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarFormParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (socialSharesCountFacebookMin != null) localVarFormParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // form parameter - if (socialSharesCountFacebookMax != null) localVarFormParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // form parameter - if (socialSharesCountGooglePlusMin != null) localVarFormParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // form parameter - if (socialSharesCountGooglePlusMax != null) localVarFormParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // form parameter - if (socialSharesCountLinkedinMin != null) localVarFormParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // form parameter - if (socialSharesCountLinkedinMax != null) localVarFormParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // form parameter - if (socialSharesCountRedditMin != null) localVarFormParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // form parameter - if (socialSharesCountRedditMax != null) localVarFormParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // form parameter - if (cluster != null) localVarFormParams.Add(new Tuple("cluster", Configuration.ApiClient.ParameterToString(cluster))); // form parameter - if (clusterAlgorithm != null) localVarFormParams.Add(new Tuple("cluster.algorithm", Configuration.ApiClient.ParameterToString(clusterAlgorithm))); // form parameter - if (_return != null) - foreach (var val in _return) - localVarFormParams.Add(new Tuple("return[]", Configuration.ApiClient.ParameterToString(val))); // form parameter - if (storyId != null) localVarFormParams.Add(new Tuple("story_id", Configuration.ApiClient.ParameterToString(storyId))); // form parameter - if (storyUrl != null) localVarFormParams.Add(new Tuple("story_url", Configuration.ApiClient.ParameterToString(storyUrl))); // form parameter - if (storyTitle != null) localVarFormParams.Add(new Tuple("story_title", Configuration.ApiClient.ParameterToString(storyTitle))); // form parameter - if (storyBody != null) localVarFormParams.Add(new Tuple("story_body", Configuration.ApiClient.ParameterToString(storyBody))); // form parameter - if (boostBy != null) localVarFormParams.Add(new Tuple("boost_by", Configuration.ApiClient.ParameterToString(boostBy))); // form parameter - if (storyLanguage != null) localVarFormParams.Add(new Tuple("story_language", Configuration.ApiClient.ParameterToString(storyLanguage))); // form parameter - if (perPage != null) localVarFormParams.Add(new Tuple("per_page", Configuration.ApiClient.ParameterToString(perPage))); // form parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (clusters != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "clusters[]", clusters)); // query parameter + if (_return != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "return[]", _return)); // query parameter + if (storyId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_id", storyId)); // query parameter + if (storyUrl != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_url", storyUrl)); // query parameter + if (storyTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_title", storyTitle)); // query parameter + if (storyBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_body", storyBody)); // query parameter + if (boostBy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "boost_by", boostBy)); // query parameter + if (storyLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "story_language", storyLanguage)); // query parameter + if (perPage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "per_page", perPage)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, - Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; @@ -5231,425 +5062,332 @@ public async System.Threading.Tasks.Task> ListRelate } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (RelatedStories) Configuration.ApiClient.Deserialize(localVarResponse, typeof(RelatedStories))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (RelatedStories) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(RelatedStories))); } /// - /// List Stories This endpoint is used for getting a list of stories. + /// List Stories The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) - /// This parameter is used for changing the order column of the results. (optional, default to published_at) - /// This parameter is used for changing the order direction of the result. (optional, default to desc) - /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *) - /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) + /// This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to published_at) + /// This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to desc) + /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to "*") + /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) /// Stories - public Stories ListStories (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null) + public Stories ListStories (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), string sortBy = default(string), string sortDirection = default(string), string cursor = default(string), int? perPage = default(int?)) { - ApiResponse localVarResponse = ListStoriesWithHttpInfo(id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, cluster, clusterAlgorithm, _return, sortBy, sortDirection, cursor, perPage); + ApiResponse localVarResponse = ListStoriesWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, sortBy, sortDirection, cursor, perPage); return localVarResponse.Data; } /// - /// List Stories This endpoint is used for getting a list of stories. + /// List Stories The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) - /// This parameter is used for changing the order column of the results. (optional, default to published_at) - /// This parameter is used for changing the order direction of the result. (optional, default to desc) - /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *) - /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) + /// This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to published_at) + /// This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to desc) + /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to "*") + /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) /// ApiResponse of Stories - public ApiResponse< Stories > ListStoriesWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null) + public ApiResponse ListStoriesWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), string sortBy = default(string), string sortDirection = default(string), string cursor = default(string), int? perPage = default(int?)) { - var localVarPath = "/stories"; + var localVarPath = "./stories"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarQueryParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notId != null) - foreach (var val in notId) - localVarQueryParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (title != null) localVarQueryParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // query parameter - if (body != null) localVarQueryParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // query parameter - if (text != null) localVarQueryParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // query parameter - if (language != null) - foreach (var val in language) - localVarQueryParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarQueryParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (publishedAtStart != null) localVarQueryParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // query parameter - if (publishedAtEnd != null) localVarQueryParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // query parameter - if (categoriesTaxonomy != null) localVarQueryParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // query parameter - if (categoriesConfident != null) localVarQueryParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // query parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarQueryParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarQueryParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarQueryParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarQueryParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarQueryParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarQueryParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarQueryParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarQueryParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarQueryParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarQueryParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarQueryParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarQueryParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // query parameter - if (notSentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // query parameter - if (sentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // query parameter - if (notSentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // query parameter - if (mediaImagesCountMin != null) localVarQueryParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // query parameter - if (mediaImagesCountMax != null) localVarQueryParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // query parameter - if (mediaImagesWidthMin != null) localVarQueryParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // query parameter - if (mediaImagesWidthMax != null) localVarQueryParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // query parameter - if (mediaImagesHeightMin != null) localVarQueryParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // query parameter - if (mediaImagesHeightMax != null) localVarQueryParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // query parameter - if (mediaImagesContentLengthMin != null) localVarQueryParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // query parameter - if (mediaImagesContentLengthMax != null) localVarQueryParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // query parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarQueryParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarQueryParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (mediaVideosCountMin != null) localVarQueryParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // query parameter - if (mediaVideosCountMax != null) localVarQueryParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // query parameter - if (authorId != null) - foreach (var val in authorId) - localVarQueryParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarQueryParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (authorName != null) localVarQueryParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // query parameter - if (notAuthorName != null) localVarQueryParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // query parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarQueryParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarQueryParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarQueryParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarQueryParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarQueryParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarQueryParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarQueryParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarQueryParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarQueryParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarQueryParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarQueryParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarQueryParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarQueryParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarQueryParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarQueryParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarQueryParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarQueryParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarQueryParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarQueryParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarQueryParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLinksInCountMin != null) localVarQueryParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // query parameter - if (sourceLinksInCountMax != null) localVarQueryParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // query parameter - if (sourceRankingsAlexaRankMin != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // query parameter - if (sourceRankingsAlexaRankMax != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // query parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarQueryParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (socialSharesCountFacebookMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // query parameter - if (socialSharesCountFacebookMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // query parameter - if (socialSharesCountGooglePlusMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // query parameter - if (socialSharesCountGooglePlusMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // query parameter - if (socialSharesCountLinkedinMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // query parameter - if (socialSharesCountLinkedinMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // query parameter - if (socialSharesCountRedditMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // query parameter - if (socialSharesCountRedditMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // query parameter - if (cluster != null) localVarQueryParams.Add(new Tuple("cluster", Configuration.ApiClient.ParameterToString(cluster))); // query parameter - if (clusterAlgorithm != null) localVarQueryParams.Add(new Tuple("cluster.algorithm", Configuration.ApiClient.ParameterToString(clusterAlgorithm))); // query parameter - if (_return != null) - foreach (var val in _return) - localVarQueryParams.Add(new Tuple("return[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sortBy != null) localVarQueryParams.Add(new Tuple("sort_by", Configuration.ApiClient.ParameterToString(sortBy))); // query parameter - if (sortDirection != null) localVarQueryParams.Add(new Tuple("sort_direction", Configuration.ApiClient.ParameterToString(sortDirection))); // query parameter - if (cursor != null) localVarQueryParams.Add(new Tuple("cursor", Configuration.ApiClient.ParameterToString(cursor))); // query parameter - if (perPage != null) localVarQueryParams.Add(new Tuple("per_page", Configuration.ApiClient.ParameterToString(perPage))); // query parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (clusters != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "clusters[]", clusters)); // query parameter + if (_return != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "return[]", _return)); // query parameter + if (sortBy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sort_by", sortBy)); // query parameter + if (sortDirection != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sort_direction", sortDirection)); // query parameter + if (cursor != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "cursor", cursor)); // query parameter + if (perPage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "per_page", perPage)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } - // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath, + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -5662,424 +5400,333 @@ public ApiResponse< Stories > ListStoriesWithHttpInfo (List id = null, Li } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Stories) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Stories))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Stories) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Stories))); } /// - /// List Stories This endpoint is used for getting a list of stories. + /// List Stories The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) - /// This parameter is used for changing the order column of the results. (optional, default to published_at) - /// This parameter is used for changing the order direction of the result. (optional, default to desc) - /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *) - /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) + /// This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to published_at) + /// This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to desc) + /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to "*") + /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) /// Task of Stories - public async System.Threading.Tasks.Task ListStoriesAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null) + public async System.Threading.Tasks.Task ListStoriesAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), string sortBy = default(string), string sortDirection = default(string), string cursor = default(string), int? perPage = default(int?)) { - ApiResponse localVarResponse = await ListStoriesAsyncWithHttpInfo(id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, cluster, clusterAlgorithm, _return, sortBy, sortDirection, cursor, perPage); + ApiResponse localVarResponse = await ListStoriesAsyncWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, clusters, _return, sortBy, sortDirection, cursor, perPage); return localVarResponse.Data; } /// - /// List Stories This endpoint is used for getting a list of stories. + /// List Stories The stories endpoint is used to return stories based on parameters you set in your query. The News API crawler gathers articles in near real-time and stores information about them, or metadata. Below you can see all of the query parameters, which you can use to narrow down your query. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to false) - /// This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories with belonging to one of clusters in a specific set of clusters You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional) /// This parameter is used for specifying return fields. (optional) - /// This parameter is used for changing the order column of the results. (optional, default to published_at) - /// This parameter is used for changing the order direction of the result. (optional, default to desc) - /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *) - /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) + /// This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to published_at) + /// This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (optional, default to desc) + /// This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to "*") + /// This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10) /// Task of ApiResponse (Stories) - public async System.Threading.Tasks.Task> ListStoriesAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, bool? cluster = null, string clusterAlgorithm = null, List _return = null, string sortBy = null, string sortDirection = null, string cursor = null, int? perPage = null) + public async System.Threading.Tasks.Task> ListStoriesAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), List clusters = default(List), List _return = default(List), string sortBy = default(string), string sortDirection = default(string), string cursor = default(string), int? perPage = default(int?)) { - var localVarPath = "/stories"; + var localVarPath = "./stories"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarQueryParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notId != null) - foreach (var val in notId) - localVarQueryParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (title != null) localVarQueryParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // query parameter - if (body != null) localVarQueryParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // query parameter - if (text != null) localVarQueryParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // query parameter - if (language != null) - foreach (var val in language) - localVarQueryParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarQueryParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (publishedAtStart != null) localVarQueryParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // query parameter - if (publishedAtEnd != null) localVarQueryParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // query parameter - if (categoriesTaxonomy != null) localVarQueryParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // query parameter - if (categoriesConfident != null) localVarQueryParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // query parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarQueryParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarQueryParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarQueryParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarQueryParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarQueryParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarQueryParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarQueryParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarQueryParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarQueryParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarQueryParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarQueryParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarQueryParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // query parameter - if (notSentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // query parameter - if (sentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // query parameter - if (notSentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // query parameter - if (mediaImagesCountMin != null) localVarQueryParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // query parameter - if (mediaImagesCountMax != null) localVarQueryParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // query parameter - if (mediaImagesWidthMin != null) localVarQueryParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // query parameter - if (mediaImagesWidthMax != null) localVarQueryParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // query parameter - if (mediaImagesHeightMin != null) localVarQueryParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // query parameter - if (mediaImagesHeightMax != null) localVarQueryParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // query parameter - if (mediaImagesContentLengthMin != null) localVarQueryParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // query parameter - if (mediaImagesContentLengthMax != null) localVarQueryParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // query parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarQueryParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarQueryParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (mediaVideosCountMin != null) localVarQueryParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // query parameter - if (mediaVideosCountMax != null) localVarQueryParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // query parameter - if (authorId != null) - foreach (var val in authorId) - localVarQueryParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarQueryParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (authorName != null) localVarQueryParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // query parameter - if (notAuthorName != null) localVarQueryParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // query parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarQueryParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarQueryParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarQueryParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarQueryParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarQueryParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarQueryParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarQueryParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarQueryParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarQueryParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarQueryParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarQueryParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarQueryParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarQueryParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarQueryParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarQueryParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarQueryParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarQueryParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarQueryParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarQueryParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarQueryParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLinksInCountMin != null) localVarQueryParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // query parameter - if (sourceLinksInCountMax != null) localVarQueryParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // query parameter - if (sourceRankingsAlexaRankMin != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // query parameter - if (sourceRankingsAlexaRankMax != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // query parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarQueryParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (socialSharesCountFacebookMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // query parameter - if (socialSharesCountFacebookMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // query parameter - if (socialSharesCountGooglePlusMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // query parameter - if (socialSharesCountGooglePlusMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // query parameter - if (socialSharesCountLinkedinMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // query parameter - if (socialSharesCountLinkedinMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // query parameter - if (socialSharesCountRedditMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // query parameter - if (socialSharesCountRedditMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // query parameter - if (cluster != null) localVarQueryParams.Add(new Tuple("cluster", Configuration.ApiClient.ParameterToString(cluster))); // query parameter - if (clusterAlgorithm != null) localVarQueryParams.Add(new Tuple("cluster.algorithm", Configuration.ApiClient.ParameterToString(clusterAlgorithm))); // query parameter - if (_return != null) - foreach (var val in _return) - localVarQueryParams.Add(new Tuple("return[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sortBy != null) localVarQueryParams.Add(new Tuple("sort_by", Configuration.ApiClient.ParameterToString(sortBy))); // query parameter - if (sortDirection != null) localVarQueryParams.Add(new Tuple("sort_direction", Configuration.ApiClient.ParameterToString(sortDirection))); // query parameter - if (cursor != null) localVarQueryParams.Add(new Tuple("cursor", Configuration.ApiClient.ParameterToString(cursor))); // query parameter - if (perPage != null) localVarQueryParams.Add(new Tuple("per_page", Configuration.ApiClient.ParameterToString(perPage))); // query parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (clusters != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "clusters[]", clusters)); // query parameter + if (_return != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "return[]", _return)); // query parameter + if (sortBy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sort_by", sortBy)); // query parameter + if (sortDirection != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sort_direction", sortDirection)); // query parameter + if (cursor != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "cursor", cursor)); // query parameter + if (perPage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "per_page", perPage)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -6092,405 +5739,317 @@ public async System.Threading.Tasks.Task> ListStoriesAsyncW } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Stories) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Stories))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Stories) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Stories))); } /// - /// List time series This endpoint is used for getting time series by stories. + /// List time series The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW-7DAYS/DAY) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW/DAY) - /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to +1DAY) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW-7DAYS/DAY") + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW/DAY") + /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to "+1DAY") /// TimeSeriesList - public TimeSeriesList ListTimeSeries (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null) + public TimeSeriesList ListTimeSeries (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), string publishedAtStart = default(string), string publishedAtEnd = default(string), string period = default(string)) { - ApiResponse localVarResponse = ListTimeSeriesWithHttpInfo(id, notId, title, body, text, language, notLanguage, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, publishedAtStart, publishedAtEnd, period); + ApiResponse localVarResponse = ListTimeSeriesWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, publishedAtStart, publishedAtEnd, period); return localVarResponse.Data; } /// - /// List time series This endpoint is used for getting time series by stories. + /// List time series The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW-7DAYS/DAY) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW/DAY) - /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to +1DAY) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW-7DAYS/DAY") + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW/DAY") + /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to "+1DAY") /// ApiResponse of TimeSeriesList - public ApiResponse< TimeSeriesList > ListTimeSeriesWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null) + public ApiResponse ListTimeSeriesWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), string publishedAtStart = default(string), string publishedAtEnd = default(string), string period = default(string)) { - var localVarPath = "/time_series"; + var localVarPath = "./time_series"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarQueryParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notId != null) - foreach (var val in notId) - localVarQueryParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (title != null) localVarQueryParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // query parameter - if (body != null) localVarQueryParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // query parameter - if (text != null) localVarQueryParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // query parameter - if (language != null) - foreach (var val in language) - localVarQueryParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarQueryParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesTaxonomy != null) localVarQueryParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // query parameter - if (categoriesConfident != null) localVarQueryParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // query parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarQueryParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarQueryParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarQueryParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarQueryParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarQueryParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarQueryParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarQueryParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarQueryParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarQueryParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarQueryParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarQueryParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarQueryParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // query parameter - if (notSentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // query parameter - if (sentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // query parameter - if (notSentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // query parameter - if (mediaImagesCountMin != null) localVarQueryParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // query parameter - if (mediaImagesCountMax != null) localVarQueryParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // query parameter - if (mediaImagesWidthMin != null) localVarQueryParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // query parameter - if (mediaImagesWidthMax != null) localVarQueryParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // query parameter - if (mediaImagesHeightMin != null) localVarQueryParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // query parameter - if (mediaImagesHeightMax != null) localVarQueryParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // query parameter - if (mediaImagesContentLengthMin != null) localVarQueryParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // query parameter - if (mediaImagesContentLengthMax != null) localVarQueryParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // query parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarQueryParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarQueryParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (mediaVideosCountMin != null) localVarQueryParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // query parameter - if (mediaVideosCountMax != null) localVarQueryParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // query parameter - if (authorId != null) - foreach (var val in authorId) - localVarQueryParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarQueryParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (authorName != null) localVarQueryParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // query parameter - if (notAuthorName != null) localVarQueryParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // query parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarQueryParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarQueryParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarQueryParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarQueryParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarQueryParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarQueryParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarQueryParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarQueryParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarQueryParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarQueryParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarQueryParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarQueryParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarQueryParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarQueryParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarQueryParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarQueryParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarQueryParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarQueryParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarQueryParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarQueryParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLinksInCountMin != null) localVarQueryParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // query parameter - if (sourceLinksInCountMax != null) localVarQueryParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // query parameter - if (sourceRankingsAlexaRankMin != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // query parameter - if (sourceRankingsAlexaRankMax != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // query parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarQueryParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (socialSharesCountFacebookMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // query parameter - if (socialSharesCountFacebookMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // query parameter - if (socialSharesCountGooglePlusMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // query parameter - if (socialSharesCountGooglePlusMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // query parameter - if (socialSharesCountLinkedinMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // query parameter - if (socialSharesCountLinkedinMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // query parameter - if (socialSharesCountRedditMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // query parameter - if (socialSharesCountRedditMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // query parameter - if (publishedAtStart != null) localVarQueryParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // query parameter - if (publishedAtEnd != null) localVarQueryParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // query parameter - if (period != null) localVarQueryParams.Add(new Tuple("period", Configuration.ApiClient.ParameterToString(period))); // query parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (period != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "period", period)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } - // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath, + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -6503,404 +6062,318 @@ public ApiResponse< TimeSeriesList > ListTimeSeriesWithHttpInfo (List id } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (TimeSeriesList) Configuration.ApiClient.Deserialize(localVarResponse, typeof(TimeSeriesList))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (TimeSeriesList) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(TimeSeriesList))); } /// - /// List time series This endpoint is used for getting time series by stories. + /// List time series The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW-7DAYS/DAY) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW/DAY) - /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to +1DAY) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW-7DAYS/DAY") + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW/DAY") + /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to "+1DAY") /// Task of TimeSeriesList - public async System.Threading.Tasks.Task ListTimeSeriesAsync (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null) + public async System.Threading.Tasks.Task ListTimeSeriesAsync (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), string publishedAtStart = default(string), string publishedAtEnd = default(string), string period = default(string)) { - ApiResponse localVarResponse = await ListTimeSeriesAsyncWithHttpInfo(id, notId, title, body, text, language, notLanguage, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, publishedAtStart, publishedAtEnd, period); + ApiResponse localVarResponse = await ListTimeSeriesAsyncWithHttpInfo(id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, publishedAtStart, publishedAtEnd, period); return localVarResponse.Data; } /// - /// List time series This endpoint is used for getting time series by stories. + /// List time series The time series endpoint allows you to track information contained in stories over time. This information can be anything from mentions of a topic or entities, sentiment about a topic, or the volume of stories published by a source, to name but a few. The full list of parameters is given below. Using the [Date Math Syntax](https://newsapi.aylien.com/docs/working-with-dates), you can easily set your query to return information from any time period, from the current point in time to when the News API started collecting stories. The returned information can be rounded to a time also specified by you, for example by setting the results into hourly, daily, or weekly data points. /// /// Thrown when fails to make API call - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW-7DAYS/DAY) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to NOW/DAY) - /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to +1DAY) + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW-7DAYS/DAY") + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional, default to "NOW/DAY") + /// The size of each date range is expressed as an interval to be added to the lower bound. It supports Date Math Syntax. Valid options are `+` following an integer number greater than 0 and one of the Date Math keywords. e.g. `+1DAY`, `+2MINUTES` and `+1MONTH`. Here are [Supported keywords](https://newsapi.aylien.com/docs/working-with-dates#date-math). (optional, default to "+1DAY") /// Task of ApiResponse (TimeSeriesList) - public async System.Threading.Tasks.Task> ListTimeSeriesAsyncWithHttpInfo (List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null, string publishedAtStart = null, string publishedAtEnd = null, string period = null) + public async System.Threading.Tasks.Task> ListTimeSeriesAsyncWithHttpInfo (List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?), string publishedAtStart = default(string), string publishedAtEnd = default(string), string period = default(string)) { - var localVarPath = "/time_series"; + var localVarPath = "./time_series"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarQueryParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notId != null) - foreach (var val in notId) - localVarQueryParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (title != null) localVarQueryParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // query parameter - if (body != null) localVarQueryParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // query parameter - if (text != null) localVarQueryParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // query parameter - if (language != null) - foreach (var val in language) - localVarQueryParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarQueryParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesTaxonomy != null) localVarQueryParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // query parameter - if (categoriesConfident != null) localVarQueryParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // query parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarQueryParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarQueryParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarQueryParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarQueryParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarQueryParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarQueryParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarQueryParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarQueryParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarQueryParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarQueryParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarQueryParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarQueryParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // query parameter - if (notSentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // query parameter - if (sentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // query parameter - if (notSentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // query parameter - if (mediaImagesCountMin != null) localVarQueryParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // query parameter - if (mediaImagesCountMax != null) localVarQueryParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // query parameter - if (mediaImagesWidthMin != null) localVarQueryParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // query parameter - if (mediaImagesWidthMax != null) localVarQueryParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // query parameter - if (mediaImagesHeightMin != null) localVarQueryParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // query parameter - if (mediaImagesHeightMax != null) localVarQueryParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // query parameter - if (mediaImagesContentLengthMin != null) localVarQueryParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // query parameter - if (mediaImagesContentLengthMax != null) localVarQueryParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // query parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarQueryParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarQueryParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (mediaVideosCountMin != null) localVarQueryParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // query parameter - if (mediaVideosCountMax != null) localVarQueryParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // query parameter - if (authorId != null) - foreach (var val in authorId) - localVarQueryParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarQueryParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (authorName != null) localVarQueryParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // query parameter - if (notAuthorName != null) localVarQueryParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // query parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarQueryParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarQueryParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarQueryParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarQueryParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarQueryParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarQueryParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarQueryParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarQueryParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarQueryParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarQueryParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarQueryParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarQueryParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarQueryParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarQueryParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarQueryParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarQueryParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarQueryParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarQueryParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarQueryParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarQueryParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLinksInCountMin != null) localVarQueryParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // query parameter - if (sourceLinksInCountMax != null) localVarQueryParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // query parameter - if (sourceRankingsAlexaRankMin != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // query parameter - if (sourceRankingsAlexaRankMax != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // query parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarQueryParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (socialSharesCountFacebookMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // query parameter - if (socialSharesCountFacebookMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // query parameter - if (socialSharesCountGooglePlusMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // query parameter - if (socialSharesCountGooglePlusMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // query parameter - if (socialSharesCountLinkedinMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // query parameter - if (socialSharesCountLinkedinMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // query parameter - if (socialSharesCountRedditMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // query parameter - if (socialSharesCountRedditMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // query parameter - if (publishedAtStart != null) localVarQueryParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // query parameter - if (publishedAtEnd != null) localVarQueryParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // query parameter - if (period != null) localVarQueryParams.Add(new Tuple("period", Configuration.ApiClient.ParameterToString(period))); // query parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (period != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "period", period)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -6913,408 +6386,320 @@ public async System.Threading.Tasks.Task> ListTimeSe } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (TimeSeriesList) Configuration.ApiClient.Deserialize(localVarResponse, typeof(TimeSeriesList))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (TimeSeriesList) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(TimeSeriesList))); } /// - /// List trends This endpoint is used for finding trends based on stories. + /// List trends The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. /// /// Thrown when fails to make API call - /// This parameter is used to specify the trend field. - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used to specify the trend field. + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) /// Trends - public Trends ListTrends (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null) + public Trends ListTrends (string field, List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?)) { - ApiResponse localVarResponse = ListTrendsWithHttpInfo(field, id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax); + ApiResponse localVarResponse = ListTrendsWithHttpInfo(field, id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax); return localVarResponse.Data; } /// - /// List trends This endpoint is used for finding trends based on stories. + /// List trends The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. /// /// Thrown when fails to make API call - /// This parameter is used to specify the trend field. - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used to specify the trend field. + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) /// ApiResponse of Trends - public ApiResponse< Trends > ListTrendsWithHttpInfo (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null) + public ApiResponse ListTrendsWithHttpInfo (string field, List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?)) { // verify the required parameter 'field' is set if (field == null) throw new ApiException(400, "Missing required parameter 'field' when calling DefaultApi->ListTrends"); - var localVarPath = "/trends"; + var localVarPath = "./trends"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarQueryParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notId != null) - foreach (var val in notId) - localVarQueryParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (title != null) localVarQueryParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // query parameter - if (body != null) localVarQueryParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // query parameter - if (text != null) localVarQueryParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // query parameter - if (language != null) - foreach (var val in language) - localVarQueryParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarQueryParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (publishedAtStart != null) localVarQueryParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // query parameter - if (publishedAtEnd != null) localVarQueryParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // query parameter - if (categoriesTaxonomy != null) localVarQueryParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // query parameter - if (categoriesConfident != null) localVarQueryParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // query parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarQueryParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarQueryParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarQueryParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarQueryParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarQueryParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarQueryParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarQueryParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarQueryParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarQueryParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarQueryParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarQueryParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarQueryParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // query parameter - if (notSentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // query parameter - if (sentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // query parameter - if (notSentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // query parameter - if (mediaImagesCountMin != null) localVarQueryParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // query parameter - if (mediaImagesCountMax != null) localVarQueryParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // query parameter - if (mediaImagesWidthMin != null) localVarQueryParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // query parameter - if (mediaImagesWidthMax != null) localVarQueryParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // query parameter - if (mediaImagesHeightMin != null) localVarQueryParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // query parameter - if (mediaImagesHeightMax != null) localVarQueryParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // query parameter - if (mediaImagesContentLengthMin != null) localVarQueryParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // query parameter - if (mediaImagesContentLengthMax != null) localVarQueryParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // query parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarQueryParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarQueryParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (mediaVideosCountMin != null) localVarQueryParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // query parameter - if (mediaVideosCountMax != null) localVarQueryParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // query parameter - if (authorId != null) - foreach (var val in authorId) - localVarQueryParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarQueryParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (authorName != null) localVarQueryParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // query parameter - if (notAuthorName != null) localVarQueryParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // query parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarQueryParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarQueryParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarQueryParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarQueryParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarQueryParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarQueryParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarQueryParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarQueryParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarQueryParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarQueryParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarQueryParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarQueryParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarQueryParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarQueryParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarQueryParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarQueryParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarQueryParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarQueryParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarQueryParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarQueryParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLinksInCountMin != null) localVarQueryParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // query parameter - if (sourceLinksInCountMax != null) localVarQueryParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // query parameter - if (sourceRankingsAlexaRankMin != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // query parameter - if (sourceRankingsAlexaRankMax != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // query parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarQueryParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (socialSharesCountFacebookMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // query parameter - if (socialSharesCountFacebookMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // query parameter - if (socialSharesCountGooglePlusMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // query parameter - if (socialSharesCountGooglePlusMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // query parameter - if (socialSharesCountLinkedinMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // query parameter - if (socialSharesCountLinkedinMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // query parameter - if (socialSharesCountRedditMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // query parameter - if (socialSharesCountRedditMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // query parameter - if (field != null) localVarQueryParams.Add(new Tuple("field", Configuration.ApiClient.ParameterToString(field))); // query parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (field != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "field", field)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } - // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath, + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -7327,407 +6712,321 @@ public ApiResponse< Trends > ListTrendsWithHttpInfo (string field, List i } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Trends) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Trends))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Trends) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Trends))); } /// - /// List trends This endpoint is used for finding trends based on stories. + /// List trends The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. /// /// Thrown when fails to make API call - /// This parameter is used to specify the trend field. - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used to specify the trend field. + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) /// Task of Trends - public async System.Threading.Tasks.Task ListTrendsAsync (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null) + public async System.Threading.Tasks.Task ListTrendsAsync (string field, List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?)) { - ApiResponse localVarResponse = await ListTrendsAsyncWithHttpInfo(field, id, notId, title, body, text, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax); + ApiResponse localVarResponse = await ListTrendsAsyncWithHttpInfo(field, id, notId, title, body, text, translationsEnTitle, translationsEnBody, translationsEnText, language, notLanguage, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, notCategoriesId, categoriesLevel, notCategoriesLevel, entitiesTitleText, notEntitiesTitleText, entitiesTitleType, notEntitiesTitleType, entitiesTitleLinksDbpedia, notEntitiesTitleLinksDbpedia, entitiesBodyText, notEntitiesBodyText, entitiesBodyType, notEntitiesBodyType, entitiesBodyLinksDbpedia, notEntitiesBodyLinksDbpedia, sentimentTitlePolarity, notSentimentTitlePolarity, sentimentBodyPolarity, notSentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, notMediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, notAuthorId, authorName, notAuthorName, sourceId, notSourceId, sourceName, notSourceName, sourceDomain, notSourceDomain, sourceLocationsCountry, notSourceLocationsCountry, sourceLocationsState, notSourceLocationsState, sourceLocationsCity, notSourceLocationsCity, sourceScopesCountry, notSourceScopesCountry, sourceScopesState, notSourceScopesState, sourceScopesCity, notSourceScopesCity, sourceScopesLevel, notSourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax); return localVarResponse.Data; } /// - /// List trends This endpoint is used for finding trends based on stories. + /// List trends The trends endpoint allows you to identify the most-mentioned entities, concepts and keywords relevant to your query. For example, this endpoint allows you to set parameters like a time period, a subject category, or an entity, and your request will return the most mentioned entities or keywords that are mentioned in relation to your query. /// /// Thrown when fails to make API call - /// This parameter is used to specify the trend field. - /// This parameter is used for finding stories by story id. (optional) - /// This parameter is used for excluding stories by story id. (optional) - /// This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) - /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) - /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) - /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) - /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) - /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) - /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) - /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose images format are the specified value. (optional) - /// This parameter is used for excluding stories whose images format are the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose author id is the specified value. (optional) - /// This parameter is used for excluding stories whose author id is the specified value. (optional) - /// This parameter is used for finding stories whose author full name contains the specified value. (optional) - /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) - /// This parameter is used for finding stories whose source id is the specified value. (optional) - /// This parameter is used for excluding stories whose source id is the specified value. (optional) - /// This parameter is used for finding stories whose source name contains the specified value. (optional) - /// This parameter is used for excluding stories whose source name contains the specified value. (optional) - /// This parameter is used for finding stories whose source domain is the specified value. (optional) - /// This parameter is used for excluding stories whose source domain is the specified value. (optional) - /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) - /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) - /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) - /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) + /// This parameter is used to specify the trend field. + /// This parameter is used for finding stories by story id. (optional) + /// This parameter is used for excluding stories by story id. (optional) + /// This parameter is used for finding stories whose title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose translation title or body contains a specific keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional) + /// This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for excluding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional) + /// This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional) + /// This parameter is used for defining the type of the taxonomy for the rest of the categories queries. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true) + /// This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional) + /// This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional) + /// This parameter is used for finding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose title sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for excluding stories whose body sentiment is the specified value. (optional) + /// This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose images format are the specified value. (optional) + /// This parameter is used for excluding stories whose images format are the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose author id is the specified value. (optional) + /// This parameter is used for excluding stories whose author id is the specified value. (optional) + /// This parameter is used for finding stories whose author full name contains the specified value. (optional) + /// This parameter is used for excluding stories whose author full name contains the specified value. (optional) + /// This parameter is used for finding stories whose source id is the specified value. (optional) + /// This parameter is used for excluding stories whose source id is the specified value. (optional) + /// This parameter is used for finding stories whose source name contains the specified value. (optional) + /// This parameter is used for excluding stories whose source name contains the specified value. (optional) + /// This parameter is used for finding stories whose source domain is the specified value. (optional) + /// This parameter is used for excluding stories whose source domain is the specified value. (optional) + /// This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for excluding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional) + /// This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count [here](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks [here](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional) + /// This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional) + /// This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional) /// Task of ApiResponse (Trends) - public async System.Threading.Tasks.Task> ListTrendsAsyncWithHttpInfo (string field, List id = null, List notId = null, string title = null, string body = null, string text = null, List language = null, List notLanguage = null, string publishedAtStart = null, string publishedAtEnd = null, string categoriesTaxonomy = null, bool? categoriesConfident = null, List categoriesId = null, List notCategoriesId = null, List categoriesLevel = null, List notCategoriesLevel = null, List entitiesTitleText = null, List notEntitiesTitleText = null, List entitiesTitleType = null, List notEntitiesTitleType = null, List entitiesTitleLinksDbpedia = null, List notEntitiesTitleLinksDbpedia = null, List entitiesBodyText = null, List notEntitiesBodyText = null, List entitiesBodyType = null, List notEntitiesBodyType = null, List entitiesBodyLinksDbpedia = null, List notEntitiesBodyLinksDbpedia = null, string sentimentTitlePolarity = null, string notSentimentTitlePolarity = null, string sentimentBodyPolarity = null, string notSentimentBodyPolarity = null, int? mediaImagesCountMin = null, int? mediaImagesCountMax = null, int? mediaImagesWidthMin = null, int? mediaImagesWidthMax = null, int? mediaImagesHeightMin = null, int? mediaImagesHeightMax = null, int? mediaImagesContentLengthMin = null, int? mediaImagesContentLengthMax = null, List mediaImagesFormat = null, List notMediaImagesFormat = null, int? mediaVideosCountMin = null, int? mediaVideosCountMax = null, List authorId = null, List notAuthorId = null, string authorName = null, string notAuthorName = null, List sourceId = null, List notSourceId = null, List sourceName = null, List notSourceName = null, List sourceDomain = null, List notSourceDomain = null, List sourceLocationsCountry = null, List notSourceLocationsCountry = null, List sourceLocationsState = null, List notSourceLocationsState = null, List sourceLocationsCity = null, List notSourceLocationsCity = null, List sourceScopesCountry = null, List notSourceScopesCountry = null, List sourceScopesState = null, List notSourceScopesState = null, List sourceScopesCity = null, List notSourceScopesCity = null, List sourceScopesLevel = null, List notSourceScopesLevel = null, int? sourceLinksInCountMin = null, int? sourceLinksInCountMax = null, int? sourceRankingsAlexaRankMin = null, int? sourceRankingsAlexaRankMax = null, List sourceRankingsAlexaCountry = null, int? socialSharesCountFacebookMin = null, int? socialSharesCountFacebookMax = null, int? socialSharesCountGooglePlusMin = null, int? socialSharesCountGooglePlusMax = null, int? socialSharesCountLinkedinMin = null, int? socialSharesCountLinkedinMax = null, int? socialSharesCountRedditMin = null, int? socialSharesCountRedditMax = null) + public async System.Threading.Tasks.Task> ListTrendsAsyncWithHttpInfo (string field, List id = default(List), List notId = default(List), string title = default(string), string body = default(string), string text = default(string), string translationsEnTitle = default(string), string translationsEnBody = default(string), string translationsEnText = default(string), List language = default(List), List notLanguage = default(List), string publishedAtStart = default(string), string publishedAtEnd = default(string), string categoriesTaxonomy = default(string), bool? categoriesConfident = default(bool?), List categoriesId = default(List), List notCategoriesId = default(List), List categoriesLevel = default(List), List notCategoriesLevel = default(List), List entitiesTitleText = default(List), List notEntitiesTitleText = default(List), List entitiesTitleType = default(List), List notEntitiesTitleType = default(List), List entitiesTitleLinksDbpedia = default(List), List notEntitiesTitleLinksDbpedia = default(List), List entitiesBodyText = default(List), List notEntitiesBodyText = default(List), List entitiesBodyType = default(List), List notEntitiesBodyType = default(List), List entitiesBodyLinksDbpedia = default(List), List notEntitiesBodyLinksDbpedia = default(List), string sentimentTitlePolarity = default(string), string notSentimentTitlePolarity = default(string), string sentimentBodyPolarity = default(string), string notSentimentBodyPolarity = default(string), int? mediaImagesCountMin = default(int?), int? mediaImagesCountMax = default(int?), int? mediaImagesWidthMin = default(int?), int? mediaImagesWidthMax = default(int?), int? mediaImagesHeightMin = default(int?), int? mediaImagesHeightMax = default(int?), int? mediaImagesContentLengthMin = default(int?), int? mediaImagesContentLengthMax = default(int?), List mediaImagesFormat = default(List), List notMediaImagesFormat = default(List), int? mediaVideosCountMin = default(int?), int? mediaVideosCountMax = default(int?), List authorId = default(List), List notAuthorId = default(List), string authorName = default(string), string notAuthorName = default(string), List sourceId = default(List), List notSourceId = default(List), List sourceName = default(List), List notSourceName = default(List), List sourceDomain = default(List), List notSourceDomain = default(List), List sourceLocationsCountry = default(List), List notSourceLocationsCountry = default(List), List sourceLocationsState = default(List), List notSourceLocationsState = default(List), List sourceLocationsCity = default(List), List notSourceLocationsCity = default(List), List sourceScopesCountry = default(List), List notSourceScopesCountry = default(List), List sourceScopesState = default(List), List notSourceScopesState = default(List), List sourceScopesCity = default(List), List notSourceScopesCity = default(List), List sourceScopesLevel = default(List), List notSourceScopesLevel = default(List), int? sourceLinksInCountMin = default(int?), int? sourceLinksInCountMax = default(int?), int? sourceRankingsAlexaRankMin = default(int?), int? sourceRankingsAlexaRankMax = default(int?), List sourceRankingsAlexaCountry = default(List), int? socialSharesCountFacebookMin = default(int?), int? socialSharesCountFacebookMax = default(int?), int? socialSharesCountGooglePlusMin = default(int?), int? socialSharesCountGooglePlusMax = default(int?), int? socialSharesCountLinkedinMin = default(int?), int? socialSharesCountLinkedinMax = default(int?), int? socialSharesCountRedditMin = default(int?), int? socialSharesCountRedditMax = default(int?)) { // verify the required parameter 'field' is set if (field == null) throw new ApiException(400, "Missing required parameter 'field' when calling DefaultApi->ListTrends"); - var localVarPath = "/trends"; + var localVarPath = "./trends"; var localVarPathParams = new Dictionary(); - var localVarQueryParams = new List>(); - var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); - var localVarFormParams = new List>(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); var localVarFileParams = new Dictionary(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/x-www-form-urlencoded" }; - String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json", + "application/json", "text/xml" }; - String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); - // set "format" to json by default - // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json - localVarPathParams.Add("format", "json"); - if (id != null) - foreach (var val in id) - localVarQueryParams.Add(new Tuple("id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notId != null) - foreach (var val in notId) - localVarQueryParams.Add(new Tuple("!id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (title != null) localVarQueryParams.Add(new Tuple("title", Configuration.ApiClient.ParameterToString(title))); // query parameter - if (body != null) localVarQueryParams.Add(new Tuple("body", Configuration.ApiClient.ParameterToString(body))); // query parameter - if (text != null) localVarQueryParams.Add(new Tuple("text", Configuration.ApiClient.ParameterToString(text))); // query parameter - if (language != null) - foreach (var val in language) - localVarQueryParams.Add(new Tuple("language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notLanguage != null) - foreach (var val in notLanguage) - localVarQueryParams.Add(new Tuple("!language[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (publishedAtStart != null) localVarQueryParams.Add(new Tuple("published_at.start", Configuration.ApiClient.ParameterToString(publishedAtStart))); // query parameter - if (publishedAtEnd != null) localVarQueryParams.Add(new Tuple("published_at.end", Configuration.ApiClient.ParameterToString(publishedAtEnd))); // query parameter - if (categoriesTaxonomy != null) localVarQueryParams.Add(new Tuple("categories.taxonomy", Configuration.ApiClient.ParameterToString(categoriesTaxonomy))); // query parameter - if (categoriesConfident != null) localVarQueryParams.Add(new Tuple("categories.confident", Configuration.ApiClient.ParameterToString(categoriesConfident))); // query parameter - if (categoriesId != null) - foreach (var val in categoriesId) - localVarQueryParams.Add(new Tuple("categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesId != null) - foreach (var val in notCategoriesId) - localVarQueryParams.Add(new Tuple("!categories.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (categoriesLevel != null) - foreach (var val in categoriesLevel) - localVarQueryParams.Add(new Tuple("categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notCategoriesLevel != null) - foreach (var val in notCategoriesLevel) - localVarQueryParams.Add(new Tuple("!categories.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleText != null) - foreach (var val in entitiesTitleText) - localVarQueryParams.Add(new Tuple("entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleText != null) - foreach (var val in notEntitiesTitleText) - localVarQueryParams.Add(new Tuple("!entities.title.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleType != null) - foreach (var val in entitiesTitleType) - localVarQueryParams.Add(new Tuple("entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleType != null) - foreach (var val in notEntitiesTitleType) - localVarQueryParams.Add(new Tuple("!entities.title.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesTitleLinksDbpedia != null) - foreach (var val in entitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesTitleLinksDbpedia != null) - foreach (var val in notEntitiesTitleLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.title.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyText != null) - foreach (var val in entitiesBodyText) - localVarQueryParams.Add(new Tuple("entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyText != null) - foreach (var val in notEntitiesBodyText) - localVarQueryParams.Add(new Tuple("!entities.body.text[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyType != null) - foreach (var val in entitiesBodyType) - localVarQueryParams.Add(new Tuple("entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyType != null) - foreach (var val in notEntitiesBodyType) - localVarQueryParams.Add(new Tuple("!entities.body.type[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (entitiesBodyLinksDbpedia != null) - foreach (var val in entitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notEntitiesBodyLinksDbpedia != null) - foreach (var val in notEntitiesBodyLinksDbpedia) - localVarQueryParams.Add(new Tuple("!entities.body.links.dbpedia[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("sentiment.title.polarity", Configuration.ApiClient.ParameterToString(sentimentTitlePolarity))); // query parameter - if (notSentimentTitlePolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.title.polarity", Configuration.ApiClient.ParameterToString(notSentimentTitlePolarity))); // query parameter - if (sentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("sentiment.body.polarity", Configuration.ApiClient.ParameterToString(sentimentBodyPolarity))); // query parameter - if (notSentimentBodyPolarity != null) localVarQueryParams.Add(new Tuple("!sentiment.body.polarity", Configuration.ApiClient.ParameterToString(notSentimentBodyPolarity))); // query parameter - if (mediaImagesCountMin != null) localVarQueryParams.Add(new Tuple("media.images.count.min", Configuration.ApiClient.ParameterToString(mediaImagesCountMin))); // query parameter - if (mediaImagesCountMax != null) localVarQueryParams.Add(new Tuple("media.images.count.max", Configuration.ApiClient.ParameterToString(mediaImagesCountMax))); // query parameter - if (mediaImagesWidthMin != null) localVarQueryParams.Add(new Tuple("media.images.width.min", Configuration.ApiClient.ParameterToString(mediaImagesWidthMin))); // query parameter - if (mediaImagesWidthMax != null) localVarQueryParams.Add(new Tuple("media.images.width.max", Configuration.ApiClient.ParameterToString(mediaImagesWidthMax))); // query parameter - if (mediaImagesHeightMin != null) localVarQueryParams.Add(new Tuple("media.images.height.min", Configuration.ApiClient.ParameterToString(mediaImagesHeightMin))); // query parameter - if (mediaImagesHeightMax != null) localVarQueryParams.Add(new Tuple("media.images.height.max", Configuration.ApiClient.ParameterToString(mediaImagesHeightMax))); // query parameter - if (mediaImagesContentLengthMin != null) localVarQueryParams.Add(new Tuple("media.images.content_length.min", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMin))); // query parameter - if (mediaImagesContentLengthMax != null) localVarQueryParams.Add(new Tuple("media.images.content_length.max", Configuration.ApiClient.ParameterToString(mediaImagesContentLengthMax))); // query parameter - if (mediaImagesFormat != null) - foreach (var val in mediaImagesFormat) - localVarQueryParams.Add(new Tuple("media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notMediaImagesFormat != null) - foreach (var val in notMediaImagesFormat) - localVarQueryParams.Add(new Tuple("!media.images.format[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (mediaVideosCountMin != null) localVarQueryParams.Add(new Tuple("media.videos.count.min", Configuration.ApiClient.ParameterToString(mediaVideosCountMin))); // query parameter - if (mediaVideosCountMax != null) localVarQueryParams.Add(new Tuple("media.videos.count.max", Configuration.ApiClient.ParameterToString(mediaVideosCountMax))); // query parameter - if (authorId != null) - foreach (var val in authorId) - localVarQueryParams.Add(new Tuple("author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notAuthorId != null) - foreach (var val in notAuthorId) - localVarQueryParams.Add(new Tuple("!author.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (authorName != null) localVarQueryParams.Add(new Tuple("author.name", Configuration.ApiClient.ParameterToString(authorName))); // query parameter - if (notAuthorName != null) localVarQueryParams.Add(new Tuple("!author.name", Configuration.ApiClient.ParameterToString(notAuthorName))); // query parameter - if (sourceId != null) - foreach (var val in sourceId) - localVarQueryParams.Add(new Tuple("source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceId != null) - foreach (var val in notSourceId) - localVarQueryParams.Add(new Tuple("!source.id[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceName != null) - foreach (var val in sourceName) - localVarQueryParams.Add(new Tuple("source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceName != null) - foreach (var val in notSourceName) - localVarQueryParams.Add(new Tuple("!source.name[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceDomain != null) - foreach (var val in sourceDomain) - localVarQueryParams.Add(new Tuple("source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceDomain != null) - foreach (var val in notSourceDomain) - localVarQueryParams.Add(new Tuple("!source.domain[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCountry != null) - foreach (var val in sourceLocationsCountry) - localVarQueryParams.Add(new Tuple("source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCountry != null) - foreach (var val in notSourceLocationsCountry) - localVarQueryParams.Add(new Tuple("!source.locations.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsState != null) - foreach (var val in sourceLocationsState) - localVarQueryParams.Add(new Tuple("source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsState != null) - foreach (var val in notSourceLocationsState) - localVarQueryParams.Add(new Tuple("!source.locations.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLocationsCity != null) - foreach (var val in sourceLocationsCity) - localVarQueryParams.Add(new Tuple("source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceLocationsCity != null) - foreach (var val in notSourceLocationsCity) - localVarQueryParams.Add(new Tuple("!source.locations.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCountry != null) - foreach (var val in sourceScopesCountry) - localVarQueryParams.Add(new Tuple("source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCountry != null) - foreach (var val in notSourceScopesCountry) - localVarQueryParams.Add(new Tuple("!source.scopes.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesState != null) - foreach (var val in sourceScopesState) - localVarQueryParams.Add(new Tuple("source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesState != null) - foreach (var val in notSourceScopesState) - localVarQueryParams.Add(new Tuple("!source.scopes.state[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesCity != null) - foreach (var val in sourceScopesCity) - localVarQueryParams.Add(new Tuple("source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesCity != null) - foreach (var val in notSourceScopesCity) - localVarQueryParams.Add(new Tuple("!source.scopes.city[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceScopesLevel != null) - foreach (var val in sourceScopesLevel) - localVarQueryParams.Add(new Tuple("source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (notSourceScopesLevel != null) - foreach (var val in notSourceScopesLevel) - localVarQueryParams.Add(new Tuple("!source.scopes.level[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (sourceLinksInCountMin != null) localVarQueryParams.Add(new Tuple("source.links_in_count.min", Configuration.ApiClient.ParameterToString(sourceLinksInCountMin))); // query parameter - if (sourceLinksInCountMax != null) localVarQueryParams.Add(new Tuple("source.links_in_count.max", Configuration.ApiClient.ParameterToString(sourceLinksInCountMax))); // query parameter - if (sourceRankingsAlexaRankMin != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.min", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMin))); // query parameter - if (sourceRankingsAlexaRankMax != null) localVarQueryParams.Add(new Tuple("source.rankings.alexa.rank.max", Configuration.ApiClient.ParameterToString(sourceRankingsAlexaRankMax))); // query parameter - if (sourceRankingsAlexaCountry != null) - foreach (var val in sourceRankingsAlexaCountry) - localVarQueryParams.Add(new Tuple("source.rankings.alexa.country[]", Configuration.ApiClient.ParameterToString(val))); // query parameter - if (socialSharesCountFacebookMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.min", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMin))); // query parameter - if (socialSharesCountFacebookMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.facebook.max", Configuration.ApiClient.ParameterToString(socialSharesCountFacebookMax))); // query parameter - if (socialSharesCountGooglePlusMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.min", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMin))); // query parameter - if (socialSharesCountGooglePlusMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.google_plus.max", Configuration.ApiClient.ParameterToString(socialSharesCountGooglePlusMax))); // query parameter - if (socialSharesCountLinkedinMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.min", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMin))); // query parameter - if (socialSharesCountLinkedinMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.linkedin.max", Configuration.ApiClient.ParameterToString(socialSharesCountLinkedinMax))); // query parameter - if (socialSharesCountRedditMin != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.min", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMin))); // query parameter - if (socialSharesCountRedditMax != null) localVarQueryParams.Add(new Tuple("social_shares_count.reddit.max", Configuration.ApiClient.ParameterToString(socialSharesCountRedditMax))); // query parameter - if (field != null) localVarQueryParams.Add(new Tuple("field", Configuration.ApiClient.ParameterToString(field))); // query parameter + if (id != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "id[]", id)); // query parameter + if (notId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!id[]", notId)); // query parameter + if (title != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "title", title)); // query parameter + if (body != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "body", body)); // query parameter + if (text != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "text", text)); // query parameter + if (translationsEnTitle != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.title", translationsEnTitle)); // query parameter + if (translationsEnBody != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.body", translationsEnBody)); // query parameter + if (translationsEnText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "translations.en.text", translationsEnText)); // query parameter + if (language != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "language[]", language)); // query parameter + if (notLanguage != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!language[]", notLanguage)); // query parameter + if (publishedAtStart != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.start", publishedAtStart)); // query parameter + if (publishedAtEnd != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "published_at.end", publishedAtEnd)); // query parameter + if (categoriesTaxonomy != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.taxonomy", categoriesTaxonomy)); // query parameter + if (categoriesConfident != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "categories.confident", categoriesConfident)); // query parameter + if (categoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.id[]", categoriesId)); // query parameter + if (notCategoriesId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.id[]", notCategoriesId)); // query parameter + if (categoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "categories.level[]", categoriesLevel)); // query parameter + if (notCategoriesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!categories.level[]", notCategoriesLevel)); // query parameter + if (entitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.text[]", entitiesTitleText)); // query parameter + if (notEntitiesTitleText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.text[]", notEntitiesTitleText)); // query parameter + if (entitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.type[]", entitiesTitleType)); // query parameter + if (notEntitiesTitleType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.type[]", notEntitiesTitleType)); // query parameter + if (entitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.title.links.dbpedia[]", entitiesTitleLinksDbpedia)); // query parameter + if (notEntitiesTitleLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.title.links.dbpedia[]", notEntitiesTitleLinksDbpedia)); // query parameter + if (entitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.text[]", entitiesBodyText)); // query parameter + if (notEntitiesBodyText != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.text[]", notEntitiesBodyText)); // query parameter + if (entitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.type[]", entitiesBodyType)); // query parameter + if (notEntitiesBodyType != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.type[]", notEntitiesBodyType)); // query parameter + if (entitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "entities.body.links.dbpedia[]", entitiesBodyLinksDbpedia)); // query parameter + if (notEntitiesBodyLinksDbpedia != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!entities.body.links.dbpedia[]", notEntitiesBodyLinksDbpedia)); // query parameter + if (sentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.title.polarity", sentimentTitlePolarity)); // query parameter + if (notSentimentTitlePolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.title.polarity", notSentimentTitlePolarity)); // query parameter + if (sentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "sentiment.body.polarity", sentimentBodyPolarity)); // query parameter + if (notSentimentBodyPolarity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!sentiment.body.polarity", notSentimentBodyPolarity)); // query parameter + if (mediaImagesCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.min", mediaImagesCountMin)); // query parameter + if (mediaImagesCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.count.max", mediaImagesCountMax)); // query parameter + if (mediaImagesWidthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.min", mediaImagesWidthMin)); // query parameter + if (mediaImagesWidthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.width.max", mediaImagesWidthMax)); // query parameter + if (mediaImagesHeightMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.min", mediaImagesHeightMin)); // query parameter + if (mediaImagesHeightMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.height.max", mediaImagesHeightMax)); // query parameter + if (mediaImagesContentLengthMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.min", mediaImagesContentLengthMin)); // query parameter + if (mediaImagesContentLengthMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.images.content_length.max", mediaImagesContentLengthMax)); // query parameter + if (mediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "media.images.format[]", mediaImagesFormat)); // query parameter + if (notMediaImagesFormat != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!media.images.format[]", notMediaImagesFormat)); // query parameter + if (mediaVideosCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.min", mediaVideosCountMin)); // query parameter + if (mediaVideosCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "media.videos.count.max", mediaVideosCountMax)); // query parameter + if (authorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "author.id[]", authorId)); // query parameter + if (notAuthorId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!author.id[]", notAuthorId)); // query parameter + if (authorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "author.name", authorName)); // query parameter + if (notAuthorName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "!author.name", notAuthorName)); // query parameter + if (sourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.id[]", sourceId)); // query parameter + if (notSourceId != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.id[]", notSourceId)); // query parameter + if (sourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.name[]", sourceName)); // query parameter + if (notSourceName != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.name[]", notSourceName)); // query parameter + if (sourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.domain[]", sourceDomain)); // query parameter + if (notSourceDomain != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.domain[]", notSourceDomain)); // query parameter + if (sourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.country[]", sourceLocationsCountry)); // query parameter + if (notSourceLocationsCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.country[]", notSourceLocationsCountry)); // query parameter + if (sourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.state[]", sourceLocationsState)); // query parameter + if (notSourceLocationsState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.state[]", notSourceLocationsState)); // query parameter + if (sourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.locations.city[]", sourceLocationsCity)); // query parameter + if (notSourceLocationsCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.locations.city[]", notSourceLocationsCity)); // query parameter + if (sourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.country[]", sourceScopesCountry)); // query parameter + if (notSourceScopesCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.country[]", notSourceScopesCountry)); // query parameter + if (sourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.state[]", sourceScopesState)); // query parameter + if (notSourceScopesState != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.state[]", notSourceScopesState)); // query parameter + if (sourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.city[]", sourceScopesCity)); // query parameter + if (notSourceScopesCity != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.city[]", notSourceScopesCity)); // query parameter + if (sourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.scopes.level[]", sourceScopesLevel)); // query parameter + if (notSourceScopesLevel != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "!source.scopes.level[]", notSourceScopesLevel)); // query parameter + if (sourceLinksInCountMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.min", sourceLinksInCountMin)); // query parameter + if (sourceLinksInCountMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.links_in_count.max", sourceLinksInCountMax)); // query parameter + if (sourceRankingsAlexaRankMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.min", sourceRankingsAlexaRankMin)); // query parameter + if (sourceRankingsAlexaRankMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "source.rankings.alexa.rank.max", sourceRankingsAlexaRankMax)); // query parameter + if (sourceRankingsAlexaCountry != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "source.rankings.alexa.country[]", sourceRankingsAlexaCountry)); // query parameter + if (socialSharesCountFacebookMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.min", socialSharesCountFacebookMin)); // query parameter + if (socialSharesCountFacebookMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.facebook.max", socialSharesCountFacebookMax)); // query parameter + if (socialSharesCountGooglePlusMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.min", socialSharesCountGooglePlusMin)); // query parameter + if (socialSharesCountGooglePlusMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.google_plus.max", socialSharesCountGooglePlusMax)); // query parameter + if (socialSharesCountLinkedinMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.min", socialSharesCountLinkedinMin)); // query parameter + if (socialSharesCountLinkedinMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.linkedin.max", socialSharesCountLinkedinMax)); // query parameter + if (socialSharesCountRedditMin != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.min", socialSharesCountRedditMin)); // query parameter + if (socialSharesCountRedditMax != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "social_shares_count.reddit.max", socialSharesCountRedditMax)); // query parameter + if (field != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("", "field", field)); // query parameter - // authentication (app_key) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) + // authentication (app_id) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); } - // authentication (app_id) required - if (!String.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"))) + // authentication (app_key) required + if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"))) { - localVarHeaderParams["X-AYLIEN-NewsAPI-Application-ID"] = Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-ID"); + localVarHeaderParams["X-AYLIEN-NewsAPI-Application-Key"] = this.Configuration.GetApiKeyWithPrefix("X-AYLIEN-NewsAPI-Application-Key"); } // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); @@ -7740,9 +7039,8 @@ public async System.Threading.Tasks.Task> ListTrendsAsyncWit } return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (Trends) Configuration.ApiClient.Deserialize(localVarResponse, typeof(Trends))); - + localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)), + (Trends) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Trends))); } } diff --git a/src/Aylien.NewsApi/Aylien.NewsApi.csproj b/src/Aylien.NewsApi/Aylien.NewsApi.csproj new file mode 100644 index 0000000..ab24b33 --- /dev/null +++ b/src/Aylien.NewsApi/Aylien.NewsApi.csproj @@ -0,0 +1,54 @@ + + + + + 14.0 + Debug + AnyCPU + {26CEEA81-E9A7-4904-BEBC-A3DBBF11F1A3} + Library + Properties + Aylien.NewsApi + Aylien.NewsApi + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + v5.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + bin\Debug\Aylien.NewsApi.xml + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + bin\Release\Aylien.NewsApi.xml + + + + + + + + + + + + diff --git a/src/main/csharp/Aylien.NewsApi/Client/ApiClient.cs b/src/Aylien.NewsApi/Client/ApiClient.cs similarity index 70% rename from src/main/csharp/Aylien.NewsApi/Client/ApiClient.cs rename to src/Aylien.NewsApi/Client/ApiClient.cs index cb91f98..a939471 100644 --- a/src/main/csharp/Aylien.NewsApi/Client/ApiClient.cs +++ b/src/Aylien.NewsApi/Client/ApiClient.cs @@ -1,20 +1,12 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Collections; @@ -22,12 +14,12 @@ limitations under the License. using System.Globalization; using System.Text.RegularExpressions; using System.IO; -using System.Web; using System.Linq; using System.Net; using System.Text; using Newtonsoft.Json; -using RestSharp; +using RestSharp.Portable; +using RestSharp.Portable.HttpClient; namespace Aylien.NewsApi.Client { @@ -56,27 +48,26 @@ public partial class ApiClient /// /// Initializes a new instance of the class - /// with default configuration and base path (https://api.newsapi.aylien.com/api/v1). + /// with default configuration. /// public ApiClient() { - Configuration = Configuration.Default; - RestClient = new RestClient("https://api.newsapi.aylien.com/api/v1"); + Configuration = Aylien.NewsApi.Client.Configuration.Default; + RestClient = new RestClient("https://api.aylien.com/news"); + RestClient.IgnoreResponseStatusCode = true; } /// /// Initializes a new instance of the class - /// with default base path (https://api.newsapi.aylien.com/api/v1). + /// with default base path (https://api.aylien.com/news). /// /// An instance of Configuration. - public ApiClient(Configuration config = null) + public ApiClient(Configuration config) { - if (config == null) - Configuration = Configuration.Default; - else - Configuration = config; + Configuration = config ?? Aylien.NewsApi.Client.Configuration.Default; - RestClient = new RestClient("https://api.newsapi.aylien.com/api/v1"); + RestClient = new RestClient(Configuration.BasePath); + RestClient.IgnoreResponseStatusCode = true; } /// @@ -84,20 +75,33 @@ public ApiClient(Configuration config = null) /// with default configuration. /// /// The base path. - public ApiClient(String basePath = "https://api.newsapi.aylien.com/api/v1") + public ApiClient(String basePath = "https://api.aylien.com/news") { if (String.IsNullOrEmpty(basePath)) throw new ArgumentException("basePath cannot be empty"); RestClient = new RestClient(basePath); - Configuration = Configuration.Default; + RestClient.IgnoreResponseStatusCode = true; + Configuration = Client.Configuration.Default; } /// - /// Gets or sets the Configuration. + /// Gets or sets the default API client for making HTTP calls. /// - /// An instance of the Configuration. - public Configuration Configuration { get; set; } + /// The default API client. + [Obsolete("ApiClient.Default is deprecated, please use 'Configuration.Default.ApiClient' instead.")] + public static ApiClient Default; + + /// + /// Gets or sets an instance of the IReadableConfiguration. + /// + /// An instance of the IReadableConfiguration. + /// + /// helps us to avoid modifying possibly global + /// configuration values from within a given client. It does not guarantee thread-safety + /// of the instance in any way. + /// + public IReadableConfiguration Configuration { get; set; } /// /// Gets or sets the RestClient. @@ -107,12 +111,14 @@ public ApiClient(String basePath = "https://api.newsapi.aylien.com/api/v1") // Creates and sets up a RestRequest prior to a call. private RestRequest PrepareRequest( - String path, RestSharp.Method method, List> queryParams, Object postBody, - Dictionary headerParams, List> formParams, + String path, Method method, List> queryParams, Object postBody, + Dictionary headerParams, Dictionary formParams, Dictionary fileParams, Dictionary pathParams, String contentType) { var request = new RestRequest(path, method); + // disable ResetSharp.Portable built-in serialization + request.Serializer = null; // add path parameter, if any foreach(var param in pathParams) @@ -124,28 +130,21 @@ private RestRequest PrepareRequest( // add query parameter, if any foreach(var param in queryParams) - request.AddQueryParameter(param.Item1, param.Item2); + request.AddQueryParameter(param.Key, param.Value); // add form parameter, if any foreach(var param in formParams) - request.AddParameter(param.Item1, param.Item2); + request.AddParameter(param.Key, param.Value); // add file parameter, if any foreach(var param in fileParams) { - request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentType); + request.AddFile(param.Value); } if (postBody != null) // http body (model or byte[]) parameter { - if (postBody.GetType() == typeof(String)) - { - request.AddParameter("application/json", postBody, ParameterType.RequestBody); - } - else if (postBody.GetType() == typeof(byte[])) - { - request.AddParameter(contentType, postBody, ParameterType.RequestBody); - } + request.AddParameter(new Parameter { Value = postBody, Type = ParameterType.RequestBody, ContentType = contentType }); } return request; @@ -165,8 +164,8 @@ private RestRequest PrepareRequest( /// Content Type of the request /// Object public Object CallApi( - String path, RestSharp.Method method, List> queryParams, Object postBody, - Dictionary headerParams, List> formParams, + String path, Method method, List> queryParams, Object postBody, + Dictionary headerParams, Dictionary formParams, Dictionary fileParams, Dictionary pathParams, String contentType) { @@ -175,12 +174,13 @@ public Object CallApi( pathParams, contentType); // set timeout - RestClient.Timeout = Configuration.Timeout; + RestClient.Timeout = TimeSpan.FromMilliseconds(Configuration.Timeout); + // set user agent RestClient.UserAgent = Configuration.UserAgent; InterceptRequest(request); - var response = RestClient.Execute(request); + var response = RestClient.Execute(request).Result; InterceptResponse(request, response); return (Object) response; @@ -199,16 +199,17 @@ public Object CallApi( /// Content type. /// The Task instance. public async System.Threading.Tasks.Task CallApiAsync( - String path, RestSharp.Method method, List> queryParams, Object postBody, - Dictionary headerParams, List> formParams, + String path, Method method, List> queryParams, Object postBody, + Dictionary headerParams, Dictionary formParams, Dictionary fileParams, Dictionary pathParams, String contentType) { var request = PrepareRequest( path, method, queryParams, postBody, headerParams, formParams, fileParams, pathParams, contentType); + RestClient.UserAgent = Configuration.UserAgent; InterceptRequest(request); - var response = await RestClient.ExecuteTaskAsync(request); + var response = await RestClient.Execute(request); InterceptResponse(request, response); return (Object)response; } @@ -281,12 +282,13 @@ public string ParameterToString(object obj) /// Object representation of the JSON string. public object Deserialize(IRestResponse response, Type type) { - IList headers = response.Headers; + IHttpHeaders headers = response.Headers; if (type == typeof(byte[])) // return byte array { return response.RawBytes; } + // TODO: ? if (type.IsAssignableFrom(typeof(Stream))) if (type == typeof(Stream)) { if (headers != null) @@ -348,9 +350,25 @@ public String Serialize(object obj) } } + /// + ///Check if the given MIME is a JSON MIME. + ///JSON MIME examples: + /// application/json + /// application/json; charset=UTF8 + /// APPLICATION/JSON + /// application/vnd.company+json + /// + /// MIME + /// Returns True if MIME type is json. + public bool IsJsonMime(String mime) + { + var jsonRegex = new Regex("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"); + return mime != null && (jsonRegex.IsMatch(mime) || mime.Equals("application/json-patch+json")); + } + /// /// Select the Content-Type header's value from the given content-type array: - /// if JSON exists in the given array, use it; + /// if JSON type exists in the given array, use it; /// otherwise use the first one defined in 'consumes' /// /// The Content-Type array to select from. @@ -358,11 +376,14 @@ public String Serialize(object obj) public String SelectHeaderContentType(String[] contentTypes) { if (contentTypes.Length == 0) - return null; - - if (contentTypes.Contains("application/json", StringComparer.OrdinalIgnoreCase)) return "application/json"; + foreach (var contentType in contentTypes) + { + if (IsJsonMime(contentType.ToLower())) + return contentType; + } + return contentTypes[0]; // use the first content type specified in 'consumes' } @@ -396,31 +417,29 @@ public static string Base64Encode(string text) /// /// Dynamically cast the object into target type. - /// Ref: http://stackoverflow.com/questions/4925718/c-dynamic-runtime-cast /// - /// Object to be casted - /// Target type + /// Object to be casted + /// Target type /// Casted object - public static dynamic ConvertType(dynamic source, Type dest) + public static dynamic ConvertType(dynamic fromObject, Type toObject) { - return Convert.ChangeType(source, dest); + return Convert.ChangeType(fromObject, toObject); } /// /// Convert stream to byte array - /// Credit/Ref: http://stackoverflow.com/a/221941/677735 /// - /// Input stream to be converted + /// Input stream to be converted /// Byte array - public static byte[] ReadAsBytes(Stream input) + public static byte[] ReadAsBytes(Stream inputStream) { - byte[] buffer = new byte[16*1024]; + byte[] buf = new byte[16*1024]; using (MemoryStream ms = new MemoryStream()) { - int read; - while ((read = input.Read(buffer, 0, buffer.Length)) > 0) + int count; + while ((count = inputStream.Read(buf, 0, buf.Length)) > 0) { - ms.Write(buffer, 0, read); + ms.Write(buf, 0, count); } return ms.ToArray(); } @@ -479,5 +498,39 @@ public static string SanitizeFilename(string filename) return filename; } } + + /// + /// Convert params to key/value pairs. + /// Use collectionFormat to properly format lists and collections. + /// + /// Key name. + /// Value object. + /// A list of KeyValuePairs + public IEnumerable> ParameterToKeyValuePairs(string collectionFormat, string name, object value) + { + var parameters = new List>(); + + if (IsCollection(value) && collectionFormat == "multi") + { + var valueCollection = value as IEnumerable; + parameters.AddRange(from object item in valueCollection select new KeyValuePair(name, ParameterToString(item))); + } + else + { + parameters.Add(new KeyValuePair(name, ParameterToString(value))); + } + + return parameters; + } + + /// + /// Check if generic object is a collection. + /// + /// + /// True if object is a collection type + private static bool IsCollection(object value) + { + return value is IList || value is ICollection; + } } } diff --git a/src/main/csharp/Aylien.NewsApi/Client/ApiException.cs b/src/Aylien.NewsApi/Client/ApiException.cs similarity index 73% rename from src/main/csharp/Aylien.NewsApi/Client/ApiException.cs rename to src/Aylien.NewsApi/Client/ApiException.cs index 350119b..b6b4eb3 100644 --- a/src/main/csharp/Aylien.NewsApi/Client/ApiException.cs +++ b/src/Aylien.NewsApi/Client/ApiException.cs @@ -1,20 +1,12 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; diff --git a/src/main/csharp/Aylien.NewsApi/Client/ApiResponse.cs b/src/Aylien.NewsApi/Client/ApiResponse.cs similarity index 68% rename from src/main/csharp/Aylien.NewsApi/Client/ApiResponse.cs rename to src/Aylien.NewsApi/Client/ApiResponse.cs index f63b08c..f670fae 100644 --- a/src/main/csharp/Aylien.NewsApi/Client/ApiResponse.cs +++ b/src/Aylien.NewsApi/Client/ApiResponse.cs @@ -1,20 +1,12 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Collections.Generic; diff --git a/src/Aylien.NewsApi/Client/Configuration.cs b/src/Aylien.NewsApi/Client/Configuration.cs new file mode 100644 index 0000000..d52c766 --- /dev/null +++ b/src/Aylien.NewsApi/Client/Configuration.cs @@ -0,0 +1,446 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Reflection; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; + +namespace Aylien.NewsApi.Client +{ + /// + /// Represents a set of configuration settings + /// + public class Configuration : IReadableConfiguration + { + #region Constants + + /// + /// Version of the package. + /// + /// Version of the package. + public const string Version = "3.0.0"; + + /// + /// Identifier for ISO 8601 DateTime Format + /// + /// See https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 for more information. + // ReSharper disable once InconsistentNaming + public const string ISO8601_DATETIME_FORMAT = "o"; + + #endregion Constants + + #region Static Members + + private static readonly object GlobalConfigSync = new { }; + private static Configuration _globalConfiguration; + + /// + /// Default creation of exceptions for a given method name and response object + /// + public static readonly ExceptionFactory DefaultExceptionFactory = (methodName, response) => + { + var status = (int)response.StatusCode; + if (status >= 400) + { + return new ApiException(status, + string.Format("Error calling {0}: {1}", methodName, response.Content), + response.Content); + } + + return null; + }; + + /// + /// Gets or sets the default Configuration. + /// + /// Configuration. + public static Configuration Default + { + get { return _globalConfiguration; } + set + { + lock (GlobalConfigSync) + { + _globalConfiguration = value; + } + } + } + + #endregion Static Members + + #region Private Members + + /// + /// Gets or sets the API key based on the authentication name. + /// + /// The API key. + private IDictionary _apiKey = null; + + /// + /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. + /// + /// The prefix of the API key. + private IDictionary _apiKeyPrefix = null; + + private string _dateTimeFormat = ISO8601_DATETIME_FORMAT; + private string _tempFolderPath = Path.GetTempPath(); + + #endregion Private Members + + #region Constructors + + static Configuration() + { + _globalConfiguration = new GlobalConfiguration(); + } + + /// + /// Initializes a new instance of the class + /// + public Configuration() + { + UserAgent = "OpenAPI-Generator/3.0.0/csharp"; + BasePath = "https://api.aylien.com/news"; + DefaultHeader = new ConcurrentDictionary(); + ApiKey = new ConcurrentDictionary(); + ApiKeyPrefix = new ConcurrentDictionary(); + + // Setting Timeout has side effects (forces ApiClient creation). + Timeout = 100000; + } + + /// + /// Initializes a new instance of the class + /// + public Configuration( + IDictionary defaultHeader, + IDictionary apiKey, + IDictionary apiKeyPrefix, + string basePath = "https://api.aylien.com/news") : this() + { + if (string.IsNullOrWhiteSpace(basePath)) + throw new ArgumentException("The provided basePath is invalid.", "basePath"); + if (defaultHeader == null) + throw new ArgumentNullException("defaultHeader"); + if (apiKey == null) + throw new ArgumentNullException("apiKey"); + if (apiKeyPrefix == null) + throw new ArgumentNullException("apiKeyPrefix"); + + BasePath = basePath; + + foreach (var keyValuePair in defaultHeader) + { + DefaultHeader.Add(keyValuePair); + } + + foreach (var keyValuePair in apiKey) + { + ApiKey.Add(keyValuePair); + } + + foreach (var keyValuePair in apiKeyPrefix) + { + ApiKeyPrefix.Add(keyValuePair); + } + } + + /// + /// Initializes a new instance of the class with different settings + /// + /// Api client + /// Dictionary of default HTTP header + /// Username + /// Password + /// accessToken + /// Dictionary of API key + /// Dictionary of API key prefix + /// Temp folder path + /// DateTime format string + /// HTTP connection timeout (in milliseconds) + /// HTTP user agent + [Obsolete("Use explicit object construction and setting of properties.", true)] + public Configuration( + // ReSharper disable UnusedParameter.Local + ApiClient apiClient = null, + IDictionary defaultHeader = null, + string username = null, + string password = null, + string accessToken = null, + IDictionary apiKey = null, + IDictionary apiKeyPrefix = null, + string tempFolderPath = null, + string dateTimeFormat = null, + int timeout = 100000, + string userAgent = "OpenAPI-Generator/3.0.0/csharp" + // ReSharper restore UnusedParameter.Local + ) + { + + } + + /// + /// Initializes a new instance of the Configuration class. + /// + /// Api client. + [Obsolete("This constructor caused unexpected sharing of static data. It is no longer supported.", true)] + // ReSharper disable once UnusedParameter.Local + public Configuration(ApiClient apiClient) + { + + } + + #endregion Constructors + + + #region Properties + + private ApiClient _apiClient = null; + /// + /// Gets an instance of an ApiClient for this configuration + /// + public virtual ApiClient ApiClient + { + get + { + if (_apiClient == null) _apiClient = CreateApiClient(); + return _apiClient; + } + } + + private String _basePath = null; + /// + /// Gets or sets the base path for API access. + /// + public virtual string BasePath { + get { return _basePath; } + set { + _basePath = value; + // pass-through to ApiClient if it's set. + if(_apiClient != null) { + _apiClient.RestClient.BaseUrl = new Uri(_basePath); + } + } + } + + /// + /// Gets or sets the default header. + /// + public virtual IDictionary DefaultHeader { get; set; } + + /// + /// Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds. + /// + public virtual int Timeout + { + get { return (int)ApiClient.RestClient.Timeout.GetValueOrDefault(TimeSpan.FromSeconds(0)).TotalMilliseconds; } + set { ApiClient.RestClient.Timeout = TimeSpan.FromMilliseconds(value); } + } + + /// + /// Gets or sets the HTTP user agent. + /// + /// Http user agent. + public virtual string UserAgent { get; set; } + + /// + /// Gets or sets the username (HTTP basic authentication). + /// + /// The username. + public virtual string Username { get; set; } + + /// + /// Gets or sets the password (HTTP basic authentication). + /// + /// The password. + public virtual string Password { get; set; } + + /// + /// Gets the API key with prefix. + /// + /// API key identifier (authentication scheme). + /// API key with prefix. + public string GetApiKeyWithPrefix(string apiKeyIdentifier) + { + var apiKeyValue = ""; + ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); + var apiKeyPrefix = ""; + if (ApiKeyPrefix.TryGetValue (apiKeyIdentifier, out apiKeyPrefix)) + return apiKeyPrefix + " " + apiKeyValue; + else + return apiKeyValue; + } + + /// + /// Gets or sets the access token for OAuth2 authentication. + /// + /// The access token. + public virtual string AccessToken { get; set; } + + /// + /// Gets or sets the temporary folder path to store the files downloaded from the server. + /// + /// Folder path. + public virtual string TempFolderPath + { + get { return _tempFolderPath; } + + set + { + if (string.IsNullOrEmpty(value)) + { + _tempFolderPath = Path.GetTempPath(); + return; + } + + // create the directory if it does not exist + if (!Directory.Exists(value)) + { + Directory.CreateDirectory(value); + } + + // check if the path contains directory separator at the end + if (value[value.Length - 1] == Path.DirectorySeparatorChar) + { + _tempFolderPath = value; + } + else + { + _tempFolderPath = value + Path.DirectorySeparatorChar; + } + } + } + + /// + /// Gets or sets the date time format used when serializing in the ApiClient + /// By default, it's set to ISO 8601 - "o", for others see: + /// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx + /// and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx + /// No validation is done to ensure that the string you're providing is valid + /// + /// The DateTimeFormat string + public virtual string DateTimeFormat + { + get { return _dateTimeFormat; } + set + { + if (string.IsNullOrEmpty(value)) + { + // Never allow a blank or null string, go back to the default + _dateTimeFormat = ISO8601_DATETIME_FORMAT; + return; + } + + // Caution, no validation when you choose date time format other than ISO 8601 + // Take a look at the above links + _dateTimeFormat = value; + } + } + + /// + /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. + /// + /// The prefix of the API key. + public virtual IDictionary ApiKeyPrefix + { + get { return _apiKeyPrefix; } + set + { + if (value == null) + { + throw new InvalidOperationException("ApiKeyPrefix collection may not be null."); + } + _apiKeyPrefix = value; + } + } + + /// + /// Gets or sets the API key based on the authentication name. + /// + /// The API key. + public virtual IDictionary ApiKey + { + get { return _apiKey; } + set + { + if (value == null) + { + throw new InvalidOperationException("ApiKey collection may not be null."); + } + _apiKey = value; + } + } + + #endregion Properties + + #region Methods + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + public void AddDefaultHeader(string key, string value) + { + DefaultHeader[key] = value; + } + + /// + /// Creates a new based on this instance. + /// + /// + public ApiClient CreateApiClient() + { + return new ApiClient(BasePath) { Configuration = this }; + } + + + /// + /// Returns a string with essential information for debugging. + /// + public static String ToDebugReport() + { + String report = "C# SDK (Aylien.NewsApi) Debug Report:\n"; + report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n"; + report += " Version of the API: 3.0\n"; + report += " SDK Package Version: 3.0.0\n"; + + return report; + } + + /// + /// Add Api Key Header. + /// + /// Api Key name. + /// Api Key value. + /// + public void AddApiKey(string key, string value) + { + ApiKey[key] = value; + } + + /// + /// Sets the API key prefix. + /// + /// Api Key name. + /// Api Key value. + public void AddApiKeyPrefix(string key, string value) + { + ApiKeyPrefix[key] = value; + } + + #endregion Methods + } +} diff --git a/src/Aylien.NewsApi/Client/ExceptionFactory.cs b/src/Aylien.NewsApi/Client/ExceptionFactory.cs new file mode 100644 index 0000000..eee66c6 --- /dev/null +++ b/src/Aylien.NewsApi/Client/ExceptionFactory.cs @@ -0,0 +1,24 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using RestSharp.Portable; + +namespace Aylien.NewsApi.Client +{ + /// + /// A delegate to ExceptionFactory method + /// + /// Method name + /// Response + /// Exceptions + public delegate Exception ExceptionFactory(string methodName, IRestResponse response); +} diff --git a/src/Aylien.NewsApi/Client/GlobalConfiguration.cs b/src/Aylien.NewsApi/Client/GlobalConfiguration.cs new file mode 100644 index 0000000..964d29b --- /dev/null +++ b/src/Aylien.NewsApi/Client/GlobalConfiguration.cs @@ -0,0 +1,34 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Reflection; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading; + +namespace Aylien.NewsApi.Client +{ + /// + /// provides a compile-time extension point for globally configuring + /// API Clients. + /// + /// + /// A customized implementation via partial class may reside in another file and may + /// be excluded from automatic generation via a .openapi-generator-ignore file. + /// + public partial class GlobalConfiguration : Configuration + { + + } +} \ No newline at end of file diff --git a/src/main/csharp/Aylien.NewsApi/Client/IApiAccessor.cs b/src/Aylien.NewsApi/Client/IApiAccessor.cs similarity index 58% rename from src/main/csharp/Aylien.NewsApi/Client/IApiAccessor.cs rename to src/Aylien.NewsApi/Client/IApiAccessor.cs index 00c3dcc..f930932 100644 --- a/src/main/csharp/Aylien.NewsApi/Client/IApiAccessor.cs +++ b/src/Aylien.NewsApi/Client/IApiAccessor.cs @@ -1,27 +1,19 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -using RestSharp; +using RestSharp.Portable; namespace Aylien.NewsApi.Client { diff --git a/src/Aylien.NewsApi/Client/IReadableConfiguration.cs b/src/Aylien.NewsApi/Client/IReadableConfiguration.cs new file mode 100644 index 0000000..9fd6cae --- /dev/null +++ b/src/Aylien.NewsApi/Client/IReadableConfiguration.cs @@ -0,0 +1,94 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System.Collections.Generic; + +namespace Aylien.NewsApi.Client +{ + /// + /// Represents a readable-only configuration contract. + /// + public interface IReadableConfiguration + { + /// + /// Gets the access token. + /// + /// Access token. + string AccessToken { get; } + + /// + /// Gets the API key. + /// + /// API key. + IDictionary ApiKey { get; } + + /// + /// Gets the API key prefix. + /// + /// API key prefix. + IDictionary ApiKeyPrefix { get; } + + /// + /// Gets the base path. + /// + /// Base path. + string BasePath { get; } + + /// + /// Gets the date time format. + /// + /// Date time foramt. + string DateTimeFormat { get; } + + /// + /// Gets the default header. + /// + /// Default header. + IDictionary DefaultHeader { get; } + + /// + /// Gets the temp folder path. + /// + /// Temp folder path. + string TempFolderPath { get; } + + /// + /// Gets the HTTP connection timeout (in milliseconds) + /// + /// HTTP connection timeout. + int Timeout { get; } + + /// + /// Gets the user agent. + /// + /// User agent. + string UserAgent { get; } + + /// + /// Gets the username. + /// + /// Username. + string Username { get; } + + /// + /// Gets the password. + /// + /// Password. + string Password { get; } + + /// + /// Gets the API key with prefix. + /// + /// API key identifier (authentication scheme). + /// API key with prefix. + string GetApiKeyWithPrefix(string apiKeyIdentifier); + } +} diff --git a/src/Aylien.NewsApi/Client/OpenAPIDateConverter.cs b/src/Aylien.NewsApi/Client/OpenAPIDateConverter.cs new file mode 100644 index 0000000..6f620b9 --- /dev/null +++ b/src/Aylien.NewsApi/Client/OpenAPIDateConverter.cs @@ -0,0 +1,30 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using Newtonsoft.Json.Converters; + +namespace Aylien.NewsApi.Client +{ + /// + /// Formatter for 'date' openapi formats ss defined by full-date - RFC3339 + /// see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#data-types + /// + public class OpenAPIDateConverter : IsoDateTimeConverter + { + /// + /// Initializes a new instance of the class. + /// + public OpenAPIDateConverter() + { + // full-date = date-fullyear "-" date-month "-" date-mday + DateTimeFormat = "yyyy-MM-dd"; + } + } +} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Author.cs b/src/Aylien.NewsApi/Model/Author.cs similarity index 53% rename from src/main/csharp/Aylien.NewsApi/Model/Author.cs rename to src/Aylien.NewsApi/Model/Author.cs index 18e25b4..40777b8 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Author.cs +++ b/src/Aylien.NewsApi/Model/Author.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,39 +26,42 @@ namespace Aylien.NewsApi.Model /// Author /// [DataContract] - public partial class Author : IEquatable, IValidatableObject + public partial class Author : IEquatable { /// /// Initializes a new instance of the class. /// - /// A unique identification for the author. - /// The extracted author full name. - /// A URL which points to the author avatar. - public Author(long? Id = default(long?), string Name = default(string), string AvatarUrl = default(string)) + /// A URL which points to the author avatar. + /// A unique identification for the author. + /// The extracted author full name. + public Author(string avatarUrl = default(string), long id = default(long), string name = default(string)) { - this.Id = Id; - this.Name = Name; - this.AvatarUrl = AvatarUrl; + this.AvatarUrl = avatarUrl; + this.Id = id; + this.Name = name; } + /// + /// A URL which points to the author avatar + /// + /// A URL which points to the author avatar + [DataMember(Name="avatar_url", EmitDefaultValue=false)] + public string AvatarUrl { get; set; } + /// /// A unique identification for the author /// /// A unique identification for the author [DataMember(Name="id", EmitDefaultValue=false)] - public long? Id { get; set; } + public long Id { get; set; } + /// /// The extracted author full name /// /// The extracted author full name [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } - /// - /// A URL which points to the author avatar - /// - /// A URL which points to the author avatar - [DataMember(Name="avatar_url", EmitDefaultValue=false)] - public string AvatarUrl { get; set; } + /// /// Returns the string presentation of the object /// @@ -76,9 +70,9 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Author {\n"); + sb.Append(" AvatarUrl: ").Append(AvatarUrl).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" AvatarUrl: ").Append(AvatarUrl).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -87,7 +81,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -95,40 +89,38 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Author); + return this.Equals(input as Author); } /// /// Returns true if Author instances are equal /// - /// Instance of Author to be compared + /// Instance of Author to be compared /// Boolean - public bool Equals(Author other) + public bool Equals(Author input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) + this.AvatarUrl == input.AvatarUrl || + (this.AvatarUrl != null && + this.AvatarUrl.Equals(input.AvatarUrl)) ) && ( - this.Name == other.Name || - this.Name != null && - this.Name.Equals(other.Name) + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) ) && ( - this.AvatarUrl == other.AvatarUrl || - this.AvatarUrl != null && - this.AvatarUrl.Equals(other.AvatarUrl) + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) ); } @@ -138,25 +130,18 @@ public bool Equals(Author other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; + if (this.AvatarUrl != null) + hashCode = hashCode * 59 + this.AvatarUrl.GetHashCode(); if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); + hashCode = hashCode * 59 + this.Id.GetHashCode(); if (this.Name != null) - hash = hash * 59 + this.Name.GetHashCode(); - if (this.AvatarUrl != null) - hash = hash * 59 + this.AvatarUrl.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Name.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Autocomplete.cs b/src/Aylien.NewsApi/Model/Autocomplete.cs similarity index 55% rename from src/main/csharp/Aylien.NewsApi/Model/Autocomplete.cs rename to src/Aylien.NewsApi/Model/Autocomplete.cs index 5e09d4e..d35910f 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Autocomplete.cs +++ b/src/Aylien.NewsApi/Model/Autocomplete.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,17 +26,17 @@ namespace Aylien.NewsApi.Model /// Autocomplete /// [DataContract] - public partial class Autocomplete : IEquatable, IValidatableObject + public partial class Autocomplete : IEquatable { /// /// Initializes a new instance of the class. /// - /// ID of the autocomplete. - /// Text of the autocomplete. - public Autocomplete(string Id = default(string), string Text = default(string)) + /// ID of the autocomplete. + /// Text of the autocomplete. + public Autocomplete(string id = default(string), string text = default(string)) { - this.Id = Id; - this.Text = Text; + this.Id = id; + this.Text = text; } /// @@ -54,12 +45,14 @@ public partial class Autocomplete : IEquatable, IValidatableObjec /// ID of the autocomplete [DataMember(Name="id", EmitDefaultValue=false)] public string Id { get; set; } + /// /// Text of the autocomplete /// /// Text of the autocomplete [DataMember(Name="text", EmitDefaultValue=false)] public string Text { get; set; } + /// /// Returns the string presentation of the object /// @@ -78,7 +71,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -86,35 +79,33 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Autocomplete); + return this.Equals(input as Autocomplete); } /// /// Returns true if Autocomplete instances are equal /// - /// Instance of Autocomplete to be compared + /// Instance of Autocomplete to be compared /// Boolean - public bool Equals(Autocomplete other) + public bool Equals(Autocomplete input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) ) && ( - this.Text == other.Text || - this.Text != null && - this.Text.Equals(other.Text) + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) ); } @@ -124,23 +115,16 @@ public bool Equals(Autocomplete other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); + hashCode = hashCode * 59 + this.Id.GetHashCode(); if (this.Text != null) - hash = hash * 59 + this.Text.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Text.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Autocompletes.cs b/src/Aylien.NewsApi/Model/Autocompletes.cs similarity index 55% rename from src/main/csharp/Aylien.NewsApi/Model/Autocompletes.cs rename to src/Aylien.NewsApi/Model/Autocompletes.cs index 769b143..c9b7193 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Autocompletes.cs +++ b/src/Aylien.NewsApi/Model/Autocompletes.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,15 +26,15 @@ namespace Aylien.NewsApi.Model /// Autocompletes /// [DataContract] - public partial class Autocompletes : IEquatable, IValidatableObject + public partial class Autocompletes : IEquatable { /// /// Initializes a new instance of the class. /// - /// An array of autocompletes. - public Autocompletes(List _Autocompletes = default(List)) + /// An array of autocompletes. + public Autocompletes(List autocompletes = default(List)) { - this._Autocompletes = _Autocompletes; + this._Autocompletes = autocompletes; } /// @@ -52,6 +43,7 @@ public partial class Autocompletes : IEquatable, IValidatableObj /// An array of autocompletes [DataMember(Name="autocompletes", EmitDefaultValue=false)] public List _Autocompletes { get; set; } + /// /// Returns the string presentation of the object /// @@ -69,7 +61,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -77,30 +69,29 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Autocompletes); + return this.Equals(input as Autocompletes); } /// /// Returns true if Autocompletes instances are equal /// - /// Instance of Autocompletes to be compared + /// Instance of Autocompletes to be compared /// Boolean - public bool Equals(Autocompletes other) + public bool Equals(Autocompletes input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this._Autocompletes == other._Autocompletes || + this._Autocompletes == input._Autocompletes || this._Autocompletes != null && - this._Autocompletes.SequenceEqual(other._Autocompletes) + input._Autocompletes != null && + this._Autocompletes.SequenceEqual(input._Autocompletes) ); } @@ -110,21 +101,14 @@ public bool Equals(Autocompletes other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this._Autocompletes != null) - hash = hash * 59 + this._Autocompletes.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this._Autocompletes.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Category.cs b/src/Aylien.NewsApi/Model/Category.cs similarity index 52% rename from src/main/csharp/Aylien.NewsApi/Model/Category.cs rename to src/Aylien.NewsApi/Model/Category.cs index 40fd968..7b45c6d 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Category.cs +++ b/src/Aylien.NewsApi/Model/Category.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,7 +26,7 @@ namespace Aylien.NewsApi.Model /// Category /// [DataContract] - public partial class Category : IEquatable, IValidatableObject + public partial class Category : IEquatable { /// /// The taxonomy of the category @@ -44,18 +35,18 @@ public partial class Category : IEquatable, IValidatableObject [JsonConverter(typeof(StringEnumConverter))] public enum TaxonomyEnum { - /// - /// Enum Iabqag for "iab-qag" + /// Enum IabQag for value: iab-qag /// [EnumMember(Value = "iab-qag")] - Iabqag, - + IabQag = 1, + /// - /// Enum Iptcsubjectcode for "iptc-subjectcode" + /// Enum IptcSubjectcode for value: iptc-subjectcode /// [EnumMember(Value = "iptc-subjectcode")] - Iptcsubjectcode + IptcSubjectcode = 2 + } /// @@ -67,52 +58,57 @@ public enum TaxonomyEnum /// /// Initializes a new instance of the class. /// - /// The ID of the category. - /// The taxonomy of the category. - /// The level of the category. - /// The score of the category. - /// It defines whether the extracted category is confident or not. - /// Related links for the category. - public Category(string Id = default(string), TaxonomyEnum? Taxonomy = default(TaxonomyEnum?), int? Level = default(int?), double? Score = default(double?), bool? Confident = default(bool?), CategoryLinks Links = default(CategoryLinks)) + /// It defines whether the extracted category is confident or not. + /// The ID of the category. + /// The level of the category. + /// links. + /// The score of the category. + /// The taxonomy of the category. + public Category(bool confident = default(bool), string id = default(string), int level = default(int), CategoryLinks links = default(CategoryLinks), double score = default(double), TaxonomyEnum? taxonomy = default(TaxonomyEnum?)) { - this.Id = Id; - this.Taxonomy = Taxonomy; - this.Level = Level; - this.Score = Score; - this.Confident = Confident; - this.Links = Links; + this.Confident = confident; + this.Id = id; + this.Level = level; + this.Links = links; + this.Score = score; + this.Taxonomy = taxonomy; } + /// + /// It defines whether the extracted category is confident or not + /// + /// It defines whether the extracted category is confident or not + [DataMember(Name="confident", EmitDefaultValue=false)] + public bool Confident { get; set; } + /// /// The ID of the category /// /// The ID of the category [DataMember(Name="id", EmitDefaultValue=false)] public string Id { get; set; } + /// /// The level of the category /// /// The level of the category [DataMember(Name="level", EmitDefaultValue=false)] - public int? Level { get; set; } + public int Level { get; set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="links", EmitDefaultValue=false)] + public CategoryLinks Links { get; set; } + /// /// The score of the category /// /// The score of the category [DataMember(Name="score", EmitDefaultValue=false)] - public double? Score { get; set; } - /// - /// It defines whether the extracted category is confident or not - /// - /// It defines whether the extracted category is confident or not - [DataMember(Name="confident", EmitDefaultValue=false)] - public bool? Confident { get; set; } - /// - /// Related links for the category - /// - /// Related links for the category - [DataMember(Name="links", EmitDefaultValue=false)] - public CategoryLinks Links { get; set; } + public double Score { get; set; } + + /// /// Returns the string presentation of the object /// @@ -121,12 +117,12 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Category {\n"); + sb.Append(" Confident: ").Append(Confident).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Taxonomy: ").Append(Taxonomy).Append("\n"); sb.Append(" Level: ").Append(Level).Append("\n"); - sb.Append(" Score: ").Append(Score).Append("\n"); - sb.Append(" Confident: ").Append(Confident).Append("\n"); sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append(" Score: ").Append(Score).Append("\n"); + sb.Append(" Taxonomy: ").Append(Taxonomy).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -135,7 +131,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -143,55 +139,53 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Category); + return this.Equals(input as Category); } /// /// Returns true if Category instances are equal /// - /// Instance of Category to be compared + /// Instance of Category to be compared /// Boolean - public bool Equals(Category other) + public bool Equals(Category input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) + this.Confident == input.Confident || + (this.Confident != null && + this.Confident.Equals(input.Confident)) ) && ( - this.Taxonomy == other.Taxonomy || - this.Taxonomy != null && - this.Taxonomy.Equals(other.Taxonomy) + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) ) && ( - this.Level == other.Level || - this.Level != null && - this.Level.Equals(other.Level) + this.Level == input.Level || + (this.Level != null && + this.Level.Equals(input.Level)) ) && ( - this.Score == other.Score || - this.Score != null && - this.Score.Equals(other.Score) + this.Links == input.Links || + (this.Links != null && + this.Links.Equals(input.Links)) ) && ( - this.Confident == other.Confident || - this.Confident != null && - this.Confident.Equals(other.Confident) + this.Score == input.Score || + (this.Score != null && + this.Score.Equals(input.Score)) ) && ( - this.Links == other.Links || - this.Links != null && - this.Links.Equals(other.Links) + this.Taxonomy == input.Taxonomy || + (this.Taxonomy != null && + this.Taxonomy.Equals(input.Taxonomy)) ); } @@ -201,31 +195,24 @@ public bool Equals(Category other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; + if (this.Confident != null) + hashCode = hashCode * 59 + this.Confident.GetHashCode(); if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); - if (this.Taxonomy != null) - hash = hash * 59 + this.Taxonomy.GetHashCode(); + hashCode = hashCode * 59 + this.Id.GetHashCode(); if (this.Level != null) - hash = hash * 59 + this.Level.GetHashCode(); - if (this.Score != null) - hash = hash * 59 + this.Score.GetHashCode(); - if (this.Confident != null) - hash = hash * 59 + this.Confident.GetHashCode(); + hashCode = hashCode * 59 + this.Level.GetHashCode(); if (this.Links != null) - hash = hash * 59 + this.Links.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Links.GetHashCode(); + if (this.Score != null) + hashCode = hashCode * 59 + this.Score.GetHashCode(); + if (this.Taxonomy != null) + hashCode = hashCode * 59 + this.Taxonomy.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/CategoryLinks.cs b/src/Aylien.NewsApi/Model/CategoryLinks.cs similarity index 55% rename from src/main/csharp/Aylien.NewsApi/Model/CategoryLinks.cs rename to src/Aylien.NewsApi/Model/CategoryLinks.cs index 610ba6a..dea9f6c 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/CategoryLinks.cs +++ b/src/Aylien.NewsApi/Model/CategoryLinks.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,31 +26,33 @@ namespace Aylien.NewsApi.Model /// CategoryLinks /// [DataContract] - public partial class CategoryLinks : IEquatable, IValidatableObject + public partial class CategoryLinks : IEquatable { /// /// Initializes a new instance of the class. /// - /// A URL pointing to the category. - /// A URL pointing to the parent category. - public CategoryLinks(string Self = default(string), string Parent = default(string)) + /// A URL pointing to the parent category. + /// A URL pointing to the category. + public CategoryLinks(string parent = default(string), string self = default(string)) { - this.Self = Self; - this.Parent = Parent; + this.Parent = parent; + this.Self = self; } - /// - /// A URL pointing to the category - /// - /// A URL pointing to the category - [DataMember(Name="self", EmitDefaultValue=false)] - public string Self { get; set; } /// /// A URL pointing to the parent category /// /// A URL pointing to the parent category [DataMember(Name="parent", EmitDefaultValue=false)] public string Parent { get; set; } + + /// + /// A URL pointing to the category + /// + /// A URL pointing to the category + [DataMember(Name="self", EmitDefaultValue=false)] + public string Self { get; set; } + /// /// Returns the string presentation of the object /// @@ -68,8 +61,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class CategoryLinks {\n"); - sb.Append(" Self: ").Append(Self).Append("\n"); sb.Append(" Parent: ").Append(Parent).Append("\n"); + sb.Append(" Self: ").Append(Self).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -78,7 +71,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -86,35 +79,33 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as CategoryLinks); + return this.Equals(input as CategoryLinks); } /// /// Returns true if CategoryLinks instances are equal /// - /// Instance of CategoryLinks to be compared + /// Instance of CategoryLinks to be compared /// Boolean - public bool Equals(CategoryLinks other) + public bool Equals(CategoryLinks input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Self == other.Self || - this.Self != null && - this.Self.Equals(other.Self) + this.Parent == input.Parent || + (this.Parent != null && + this.Parent.Equals(input.Parent)) ) && ( - this.Parent == other.Parent || - this.Parent != null && - this.Parent.Equals(other.Parent) + this.Self == input.Self || + (this.Self != null && + this.Self.Equals(input.Self)) ); } @@ -124,23 +115,16 @@ public bool Equals(CategoryLinks other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Self != null) - hash = hash * 59 + this.Self.GetHashCode(); + int hashCode = 41; if (this.Parent != null) - hash = hash * 59 + this.Parent.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Parent.GetHashCode(); + if (this.Self != null) + hashCode = hashCode * 59 + this.Self.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/Aylien.NewsApi/Model/Cluster.cs b/src/Aylien.NewsApi/Model/Cluster.cs new file mode 100644 index 0000000..7aae687 --- /dev/null +++ b/src/Aylien.NewsApi/Model/Cluster.cs @@ -0,0 +1,213 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// Cluster + /// + [DataContract] + public partial class Cluster : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Publication date of the earliest story in cluster. + /// ID of the cluster which is a unique identification. + /// Publication date of the latest story in cluster. + /// location. + /// representativeStory. + /// Number of stories associated with the cluster. + /// Time of the event. + public Cluster(DateTime earliestStory = default(DateTime), long id = default(long), DateTime latestStory = default(DateTime), Location location = default(Location), RepresentativeStory representativeStory = default(RepresentativeStory), int storyCount = default(int), DateTime time = default(DateTime)) + { + this.EarliestStory = earliestStory; + this.Id = id; + this.LatestStory = latestStory; + this.Location = location; + this.RepresentativeStory = representativeStory; + this.StoryCount = storyCount; + this.Time = time; + } + + /// + /// Publication date of the earliest story in cluster + /// + /// Publication date of the earliest story in cluster + [DataMember(Name="earliest_story", EmitDefaultValue=false)] + public DateTime EarliestStory { get; set; } + + /// + /// ID of the cluster which is a unique identification + /// + /// ID of the cluster which is a unique identification + [DataMember(Name="id", EmitDefaultValue=false)] + public long Id { get; set; } + + /// + /// Publication date of the latest story in cluster + /// + /// Publication date of the latest story in cluster + [DataMember(Name="latest_story", EmitDefaultValue=false)] + public DateTime LatestStory { get; set; } + + /// + /// Gets or Sets Location + /// + [DataMember(Name="location", EmitDefaultValue=false)] + public Location Location { get; set; } + + /// + /// Gets or Sets RepresentativeStory + /// + [DataMember(Name="representative_story", EmitDefaultValue=false)] + public RepresentativeStory RepresentativeStory { get; set; } + + /// + /// Number of stories associated with the cluster + /// + /// Number of stories associated with the cluster + [DataMember(Name="story_count", EmitDefaultValue=false)] + public int StoryCount { get; set; } + + /// + /// Time of the event + /// + /// Time of the event + [DataMember(Name="time", EmitDefaultValue=false)] + public DateTime Time { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Cluster {\n"); + sb.Append(" EarliestStory: ").Append(EarliestStory).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" LatestStory: ").Append(LatestStory).Append("\n"); + sb.Append(" Location: ").Append(Location).Append("\n"); + sb.Append(" RepresentativeStory: ").Append(RepresentativeStory).Append("\n"); + sb.Append(" StoryCount: ").Append(StoryCount).Append("\n"); + sb.Append(" Time: ").Append(Time).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Cluster); + } + + /// + /// Returns true if Cluster instances are equal + /// + /// Instance of Cluster to be compared + /// Boolean + public bool Equals(Cluster input) + { + if (input == null) + return false; + + return + ( + this.EarliestStory == input.EarliestStory || + (this.EarliestStory != null && + this.EarliestStory.Equals(input.EarliestStory)) + ) && + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.LatestStory == input.LatestStory || + (this.LatestStory != null && + this.LatestStory.Equals(input.LatestStory)) + ) && + ( + this.Location == input.Location || + (this.Location != null && + this.Location.Equals(input.Location)) + ) && + ( + this.RepresentativeStory == input.RepresentativeStory || + (this.RepresentativeStory != null && + this.RepresentativeStory.Equals(input.RepresentativeStory)) + ) && + ( + this.StoryCount == input.StoryCount || + (this.StoryCount != null && + this.StoryCount.Equals(input.StoryCount)) + ) && + ( + this.Time == input.Time || + (this.Time != null && + this.Time.Equals(input.Time)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.EarliestStory != null) + hashCode = hashCode * 59 + this.EarliestStory.GetHashCode(); + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.LatestStory != null) + hashCode = hashCode * 59 + this.LatestStory.GetHashCode(); + if (this.Location != null) + hashCode = hashCode * 59 + this.Location.GetHashCode(); + if (this.RepresentativeStory != null) + hashCode = hashCode * 59 + this.RepresentativeStory.GetHashCode(); + if (this.StoryCount != null) + hashCode = hashCode * 59 + this.StoryCount.GetHashCode(); + if (this.Time != null) + hashCode = hashCode * 59 + this.Time.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/Aylien.NewsApi/Model/Clusters.cs b/src/Aylien.NewsApi/Model/Clusters.cs new file mode 100644 index 0000000..14f89dd --- /dev/null +++ b/src/Aylien.NewsApi/Model/Clusters.cs @@ -0,0 +1,148 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// Clusters + /// + [DataContract] + public partial class Clusters : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// The total number of clusters. + /// An array of clusters. + /// The next page cursor. + public Clusters(long clusterCount = default(long), List clusters = default(List), string nextPageCursor = default(string)) + { + this.ClusterCount = clusterCount; + this._Clusters = clusters; + this.NextPageCursor = nextPageCursor; + } + + /// + /// The total number of clusters + /// + /// The total number of clusters + [DataMember(Name="cluster_count", EmitDefaultValue=false)] + public long ClusterCount { get; set; } + + /// + /// An array of clusters + /// + /// An array of clusters + [DataMember(Name="clusters", EmitDefaultValue=false)] + public List _Clusters { get; set; } + + /// + /// The next page cursor + /// + /// The next page cursor + [DataMember(Name="next_page_cursor", EmitDefaultValue=false)] + public string NextPageCursor { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Clusters {\n"); + sb.Append(" ClusterCount: ").Append(ClusterCount).Append("\n"); + sb.Append(" _Clusters: ").Append(_Clusters).Append("\n"); + sb.Append(" NextPageCursor: ").Append(NextPageCursor).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Clusters); + } + + /// + /// Returns true if Clusters instances are equal + /// + /// Instance of Clusters to be compared + /// Boolean + public bool Equals(Clusters input) + { + if (input == null) + return false; + + return + ( + this.ClusterCount == input.ClusterCount || + (this.ClusterCount != null && + this.ClusterCount.Equals(input.ClusterCount)) + ) && + ( + this._Clusters == input._Clusters || + this._Clusters != null && + input._Clusters != null && + this._Clusters.SequenceEqual(input._Clusters) + ) && + ( + this.NextPageCursor == input.NextPageCursor || + (this.NextPageCursor != null && + this.NextPageCursor.Equals(input.NextPageCursor)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ClusterCount != null) + hashCode = hashCode * 59 + this.ClusterCount.GetHashCode(); + if (this._Clusters != null) + hashCode = hashCode * 59 + this._Clusters.GetHashCode(); + if (this.NextPageCursor != null) + hashCode = hashCode * 59 + this.NextPageCursor.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/Aylien.NewsApi/Model/Coverages.cs b/src/Aylien.NewsApi/Model/Coverages.cs new file mode 100644 index 0000000..0e3fcd7 --- /dev/null +++ b/src/Aylien.NewsApi/Model/Coverages.cs @@ -0,0 +1,182 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// Coverages + /// + [DataContract] + public partial class Coverages : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// An array of coverages for the input story. + /// The input story body. + /// The input story language. + /// The input story published date. + /// The input story title. + public Coverages(List coverages = default(List), string storyBody = default(string), string storyLanguage = default(string), DateTime storyPublishedAt = default(DateTime), string storyTitle = default(string)) + { + this._Coverages = coverages; + this.StoryBody = storyBody; + this.StoryLanguage = storyLanguage; + this.StoryPublishedAt = storyPublishedAt; + this.StoryTitle = storyTitle; + } + + /// + /// An array of coverages for the input story + /// + /// An array of coverages for the input story + [DataMember(Name="coverages", EmitDefaultValue=false)] + public List _Coverages { get; set; } + + /// + /// The input story body + /// + /// The input story body + [DataMember(Name="story_body", EmitDefaultValue=false)] + public string StoryBody { get; set; } + + /// + /// The input story language + /// + /// The input story language + [DataMember(Name="story_language", EmitDefaultValue=false)] + public string StoryLanguage { get; set; } + + /// + /// The input story published date + /// + /// The input story published date + [DataMember(Name="story_published_at", EmitDefaultValue=false)] + public DateTime StoryPublishedAt { get; set; } + + /// + /// The input story title + /// + /// The input story title + [DataMember(Name="story_title", EmitDefaultValue=false)] + public string StoryTitle { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Coverages {\n"); + sb.Append(" _Coverages: ").Append(_Coverages).Append("\n"); + sb.Append(" StoryBody: ").Append(StoryBody).Append("\n"); + sb.Append(" StoryLanguage: ").Append(StoryLanguage).Append("\n"); + sb.Append(" StoryPublishedAt: ").Append(StoryPublishedAt).Append("\n"); + sb.Append(" StoryTitle: ").Append(StoryTitle).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Coverages); + } + + /// + /// Returns true if Coverages instances are equal + /// + /// Instance of Coverages to be compared + /// Boolean + public bool Equals(Coverages input) + { + if (input == null) + return false; + + return + ( + this._Coverages == input._Coverages || + this._Coverages != null && + input._Coverages != null && + this._Coverages.SequenceEqual(input._Coverages) + ) && + ( + this.StoryBody == input.StoryBody || + (this.StoryBody != null && + this.StoryBody.Equals(input.StoryBody)) + ) && + ( + this.StoryLanguage == input.StoryLanguage || + (this.StoryLanguage != null && + this.StoryLanguage.Equals(input.StoryLanguage)) + ) && + ( + this.StoryPublishedAt == input.StoryPublishedAt || + (this.StoryPublishedAt != null && + this.StoryPublishedAt.Equals(input.StoryPublishedAt)) + ) && + ( + this.StoryTitle == input.StoryTitle || + (this.StoryTitle != null && + this.StoryTitle.Equals(input.StoryTitle)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this._Coverages != null) + hashCode = hashCode * 59 + this._Coverages.GetHashCode(); + if (this.StoryBody != null) + hashCode = hashCode * 59 + this.StoryBody.GetHashCode(); + if (this.StoryLanguage != null) + hashCode = hashCode * 59 + this.StoryLanguage.GetHashCode(); + if (this.StoryPublishedAt != null) + hashCode = hashCode * 59 + this.StoryPublishedAt.GetHashCode(); + if (this.StoryTitle != null) + hashCode = hashCode * 59 + this.StoryTitle.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Entities.cs b/src/Aylien.NewsApi/Model/Entities.cs similarity index 56% rename from src/main/csharp/Aylien.NewsApi/Model/Entities.cs rename to src/Aylien.NewsApi/Model/Entities.cs index 2b8b624..0f8f297 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Entities.cs +++ b/src/Aylien.NewsApi/Model/Entities.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,31 +26,33 @@ namespace Aylien.NewsApi.Model /// Entities /// [DataContract] - public partial class Entities : IEquatable, IValidatableObject + public partial class Entities : IEquatable { /// /// Initializes a new instance of the class. /// - /// An array of extracted entities from the story title. - /// An array of extracted entities from the story body. - public Entities(List Title = default(List), List Body = default(List)) + /// An array of extracted entities from the story body. + /// An array of extracted entities from the story title. + public Entities(List body = default(List), List title = default(List)) { - this.Title = Title; - this.Body = Body; + this.Body = body; + this.Title = title; } - /// - /// An array of extracted entities from the story title - /// - /// An array of extracted entities from the story title - [DataMember(Name="title", EmitDefaultValue=false)] - public List Title { get; set; } /// /// An array of extracted entities from the story body /// /// An array of extracted entities from the story body [DataMember(Name="body", EmitDefaultValue=false)] public List Body { get; set; } + + /// + /// An array of extracted entities from the story title + /// + /// An array of extracted entities from the story title + [DataMember(Name="title", EmitDefaultValue=false)] + public List Title { get; set; } + /// /// Returns the string presentation of the object /// @@ -68,8 +61,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Entities {\n"); - sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" Body: ").Append(Body).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -78,7 +71,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -86,35 +79,35 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Entities); + return this.Equals(input as Entities); } /// /// Returns true if Entities instances are equal /// - /// Instance of Entities to be compared + /// Instance of Entities to be compared /// Boolean - public bool Equals(Entities other) + public bool Equals(Entities input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Title == other.Title || - this.Title != null && - this.Title.SequenceEqual(other.Title) + this.Body == input.Body || + this.Body != null && + input.Body != null && + this.Body.SequenceEqual(input.Body) ) && ( - this.Body == other.Body || - this.Body != null && - this.Body.SequenceEqual(other.Body) + this.Title == input.Title || + this.Title != null && + input.Title != null && + this.Title.SequenceEqual(input.Title) ); } @@ -124,23 +117,16 @@ public bool Equals(Entities other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Title != null) - hash = hash * 59 + this.Title.GetHashCode(); + int hashCode = 41; if (this.Body != null) - hash = hash * 59 + this.Body.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Body.GetHashCode(); + if (this.Title != null) + hashCode = hashCode * 59 + this.Title.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/Aylien.NewsApi/Model/Entity.cs b/src/Aylien.NewsApi/Model/Entity.cs new file mode 100644 index 0000000..ed0c409 --- /dev/null +++ b/src/Aylien.NewsApi/Model/Entity.cs @@ -0,0 +1,182 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// Entity + /// + [DataContract] + public partial class Entity : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// The indices of the entity text. + /// links. + /// The entity score. + /// The entity text. + /// An array of the dbpedia types. + public Entity(List> indices = default(List>), EntityLinks links = default(EntityLinks), double score = default(double), string text = default(string), List types = default(List)) + { + this.Indices = indices; + this.Links = links; + this.Score = score; + this.Text = text; + this.Types = types; + } + + /// + /// The indices of the entity text + /// + /// The indices of the entity text + [DataMember(Name="indices", EmitDefaultValue=false)] + public List> Indices { get; set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="links", EmitDefaultValue=false)] + public EntityLinks Links { get; set; } + + /// + /// The entity score + /// + /// The entity score + [DataMember(Name="score", EmitDefaultValue=false)] + public double Score { get; set; } + + /// + /// The entity text + /// + /// The entity text + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// An array of the dbpedia types + /// + /// An array of the dbpedia types + [DataMember(Name="types", EmitDefaultValue=false)] + public List Types { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Entity {\n"); + sb.Append(" Indices: ").Append(Indices).Append("\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append(" Score: ").Append(Score).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" Types: ").Append(Types).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Entity); + } + + /// + /// Returns true if Entity instances are equal + /// + /// Instance of Entity to be compared + /// Boolean + public bool Equals(Entity input) + { + if (input == null) + return false; + + return + ( + this.Indices == input.Indices || + this.Indices != null && + input.Indices != null && + this.Indices.SequenceEqual(input.Indices) + ) && + ( + this.Links == input.Links || + (this.Links != null && + this.Links.Equals(input.Links)) + ) && + ( + this.Score == input.Score || + (this.Score != null && + this.Score.Equals(input.Score)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.Types == input.Types || + this.Types != null && + input.Types != null && + this.Types.SequenceEqual(input.Types) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Indices != null) + hashCode = hashCode * 59 + this.Indices.GetHashCode(); + if (this.Links != null) + hashCode = hashCode * 59 + this.Links.GetHashCode(); + if (this.Score != null) + hashCode = hashCode * 59 + this.Score.GetHashCode(); + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.Types != null) + hashCode = hashCode * 59 + this.Types.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/main/csharp/Aylien.NewsApi/Model/EntityLinks.cs b/src/Aylien.NewsApi/Model/EntityLinks.cs similarity index 53% rename from src/main/csharp/Aylien.NewsApi/Model/EntityLinks.cs rename to src/Aylien.NewsApi/Model/EntityLinks.cs index 76ebc0e..c68df73 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/EntityLinks.cs +++ b/src/Aylien.NewsApi/Model/EntityLinks.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,15 +26,15 @@ namespace Aylien.NewsApi.Model /// EntityLinks /// [DataContract] - public partial class EntityLinks : IEquatable, IValidatableObject + public partial class EntityLinks : IEquatable { /// /// Initializes a new instance of the class. /// - /// A dbpedia resource URL. - public EntityLinks(string Dbpedia = default(string)) + /// A dbpedia resource URL. + public EntityLinks(string dbpedia = default(string)) { - this.Dbpedia = Dbpedia; + this.Dbpedia = dbpedia; } /// @@ -52,6 +43,7 @@ public partial class EntityLinks : IEquatable, IValidatableObject /// A dbpedia resource URL [DataMember(Name="dbpedia", EmitDefaultValue=false)] public string Dbpedia { get; set; } + /// /// Returns the string presentation of the object /// @@ -69,7 +61,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -77,30 +69,28 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as EntityLinks); + return this.Equals(input as EntityLinks); } /// /// Returns true if EntityLinks instances are equal /// - /// Instance of EntityLinks to be compared + /// Instance of EntityLinks to be compared /// Boolean - public bool Equals(EntityLinks other) + public bool Equals(EntityLinks input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Dbpedia == other.Dbpedia || - this.Dbpedia != null && - this.Dbpedia.Equals(other.Dbpedia) + this.Dbpedia == input.Dbpedia || + (this.Dbpedia != null && + this.Dbpedia.Equals(input.Dbpedia)) ); } @@ -110,21 +100,14 @@ public bool Equals(EntityLinks other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Dbpedia != null) - hash = hash * 59 + this.Dbpedia.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Dbpedia.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Error.cs b/src/Aylien.NewsApi/Model/Error.cs similarity index 51% rename from src/main/csharp/Aylien.NewsApi/Model/Error.cs rename to src/Aylien.NewsApi/Model/Error.cs index 7480dd9..82e318d 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Error.cs +++ b/src/Aylien.NewsApi/Model/Error.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,57 +26,63 @@ namespace Aylien.NewsApi.Model /// Error /// [DataContract] - public partial class Error : IEquatable, IValidatableObject + public partial class Error : IEquatable { /// /// Initializes a new instance of the class. /// - /// Id. - /// Links. - /// Status. - /// Code. - /// Title. - /// Detail. - public Error(string Id = default(string), ErrorLinks Links = default(ErrorLinks), string Status = default(string), string Code = default(string), string Title = default(string), string Detail = default(string)) + /// code. + /// detail. + /// id. + /// links. + /// status. + /// title. + public Error(string code = default(string), string detail = default(string), string id = default(string), ErrorLinks links = default(ErrorLinks), string status = default(string), string title = default(string)) { - this.Id = Id; - this.Links = Links; - this.Status = Status; - this.Code = Code; - this.Title = Title; - this.Detail = Detail; + this.Code = code; + this.Detail = detail; + this.Id = id; + this.Links = links; + this.Status = status; + this.Title = title; } + /// + /// Gets or Sets Code + /// + [DataMember(Name="code", EmitDefaultValue=false)] + public string Code { get; set; } + + /// + /// Gets or Sets Detail + /// + [DataMember(Name="detail", EmitDefaultValue=false)] + public string Detail { get; set; } + /// /// Gets or Sets Id /// [DataMember(Name="id", EmitDefaultValue=false)] public string Id { get; set; } + /// /// Gets or Sets Links /// [DataMember(Name="links", EmitDefaultValue=false)] public ErrorLinks Links { get; set; } + /// /// Gets or Sets Status /// [DataMember(Name="status", EmitDefaultValue=false)] public string Status { get; set; } - /// - /// Gets or Sets Code - /// - [DataMember(Name="code", EmitDefaultValue=false)] - public string Code { get; set; } + /// /// Gets or Sets Title /// [DataMember(Name="title", EmitDefaultValue=false)] public string Title { get; set; } - /// - /// Gets or Sets Detail - /// - [DataMember(Name="detail", EmitDefaultValue=false)] - public string Detail { get; set; } + /// /// Returns the string presentation of the object /// @@ -94,12 +91,12 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Error {\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append(" Detail: ").Append(Detail).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Links: ").Append(Links).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); - sb.Append(" Code: ").Append(Code).Append("\n"); sb.Append(" Title: ").Append(Title).Append("\n"); - sb.Append(" Detail: ").Append(Detail).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -108,7 +105,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -116,55 +113,53 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Error); + return this.Equals(input as Error); } /// /// Returns true if Error instances are equal /// - /// Instance of Error to be compared + /// Instance of Error to be compared /// Boolean - public bool Equals(Error other) + public bool Equals(Error input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) + this.Code == input.Code || + (this.Code != null && + this.Code.Equals(input.Code)) ) && ( - this.Links == other.Links || - this.Links != null && - this.Links.Equals(other.Links) + this.Detail == input.Detail || + (this.Detail != null && + this.Detail.Equals(input.Detail)) ) && ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) ) && ( - this.Code == other.Code || - this.Code != null && - this.Code.Equals(other.Code) + this.Links == input.Links || + (this.Links != null && + this.Links.Equals(input.Links)) ) && ( - this.Title == other.Title || - this.Title != null && - this.Title.Equals(other.Title) + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) ) && ( - this.Detail == other.Detail || - this.Detail != null && - this.Detail.Equals(other.Detail) + this.Title == input.Title || + (this.Title != null && + this.Title.Equals(input.Title)) ); } @@ -174,31 +169,24 @@ public bool Equals(Error other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; + if (this.Code != null) + hashCode = hashCode * 59 + this.Code.GetHashCode(); + if (this.Detail != null) + hashCode = hashCode * 59 + this.Detail.GetHashCode(); if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); + hashCode = hashCode * 59 + this.Id.GetHashCode(); if (this.Links != null) - hash = hash * 59 + this.Links.GetHashCode(); + hashCode = hashCode * 59 + this.Links.GetHashCode(); if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); - if (this.Code != null) - hash = hash * 59 + this.Code.GetHashCode(); + hashCode = hashCode * 59 + this.Status.GetHashCode(); if (this.Title != null) - hash = hash * 59 + this.Title.GetHashCode(); - if (this.Detail != null) - hash = hash * 59 + this.Detail.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Title.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/ErrorLinks.cs b/src/Aylien.NewsApi/Model/ErrorLinks.cs similarity index 53% rename from src/main/csharp/Aylien.NewsApi/Model/ErrorLinks.cs rename to src/Aylien.NewsApi/Model/ErrorLinks.cs index eb88743..7b07a09 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/ErrorLinks.cs +++ b/src/Aylien.NewsApi/Model/ErrorLinks.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,15 +26,15 @@ namespace Aylien.NewsApi.Model /// ErrorLinks /// [DataContract] - public partial class ErrorLinks : IEquatable, IValidatableObject + public partial class ErrorLinks : IEquatable { /// /// Initializes a new instance of the class. /// - /// About. - public ErrorLinks(string About = default(string)) + /// about. + public ErrorLinks(string about = default(string)) { - this.About = About; + this.About = about; } /// @@ -51,6 +42,7 @@ public partial class ErrorLinks : IEquatable, IValidatableObject /// [DataMember(Name="about", EmitDefaultValue=false)] public string About { get; set; } + /// /// Returns the string presentation of the object /// @@ -68,7 +60,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -76,30 +68,28 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as ErrorLinks); + return this.Equals(input as ErrorLinks); } /// /// Returns true if ErrorLinks instances are equal /// - /// Instance of ErrorLinks to be compared + /// Instance of ErrorLinks to be compared /// Boolean - public bool Equals(ErrorLinks other) + public bool Equals(ErrorLinks input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.About == other.About || - this.About != null && - this.About.Equals(other.About) + this.About == input.About || + (this.About != null && + this.About.Equals(input.About)) ); } @@ -109,21 +99,14 @@ public bool Equals(ErrorLinks other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.About != null) - hash = hash * 59 + this.About.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.About.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Errors.cs b/src/Aylien.NewsApi/Model/Errors.cs similarity index 53% rename from src/main/csharp/Aylien.NewsApi/Model/Errors.cs rename to src/Aylien.NewsApi/Model/Errors.cs index a03deb3..fbceaf9 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Errors.cs +++ b/src/Aylien.NewsApi/Model/Errors.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,15 +26,15 @@ namespace Aylien.NewsApi.Model /// Errors /// [DataContract] - public partial class Errors : IEquatable, IValidatableObject + public partial class Errors : IEquatable { /// /// Initializes a new instance of the class. /// - /// _Errors. - public Errors(List _Errors = default(List)) + /// errors. + public Errors(List errors = default(List)) { - this._Errors = _Errors; + this._Errors = errors; } /// @@ -51,6 +42,7 @@ public partial class Errors : IEquatable, IValidatableObject /// [DataMember(Name="errors", EmitDefaultValue=false)] public List _Errors { get; set; } + /// /// Returns the string presentation of the object /// @@ -68,7 +60,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -76,30 +68,29 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Errors); + return this.Equals(input as Errors); } /// /// Returns true if Errors instances are equal /// - /// Instance of Errors to be compared + /// Instance of Errors to be compared /// Boolean - public bool Equals(Errors other) + public bool Equals(Errors input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this._Errors == other._Errors || + this._Errors == input._Errors || this._Errors != null && - this._Errors.SequenceEqual(other._Errors) + input._Errors != null && + this._Errors.SequenceEqual(input._Errors) ); } @@ -109,21 +100,14 @@ public bool Equals(Errors other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this._Errors != null) - hash = hash * 59 + this._Errors.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this._Errors.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/HistogramInterval.cs b/src/Aylien.NewsApi/Model/HistogramInterval.cs similarity index 53% rename from src/main/csharp/Aylien.NewsApi/Model/HistogramInterval.cs rename to src/Aylien.NewsApi/Model/HistogramInterval.cs index 6d53c20..a04b8be 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/HistogramInterval.cs +++ b/src/Aylien.NewsApi/Model/HistogramInterval.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,17 +26,17 @@ namespace Aylien.NewsApi.Model /// HistogramInterval /// [DataContract] - public partial class HistogramInterval : IEquatable, IValidatableObject + public partial class HistogramInterval : IEquatable { /// /// Initializes a new instance of the class. /// - /// Histogram bin. - /// Histogram bin size. - public HistogramInterval(int? Bin = default(int?), int? Count = default(int?)) + /// Histogram bin. + /// Histogram bin size. + public HistogramInterval(int bin = default(int), int count = default(int)) { - this.Bin = Bin; - this.Count = Count; + this.Bin = bin; + this.Count = count; } /// @@ -53,13 +44,15 @@ public partial class HistogramInterval : IEquatable, IValida /// /// Histogram bin [DataMember(Name="bin", EmitDefaultValue=false)] - public int? Bin { get; set; } + public int Bin { get; set; } + /// /// Histogram bin size /// /// Histogram bin size [DataMember(Name="count", EmitDefaultValue=false)] - public int? Count { get; set; } + public int Count { get; set; } + /// /// Returns the string presentation of the object /// @@ -78,7 +71,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -86,35 +79,33 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as HistogramInterval); + return this.Equals(input as HistogramInterval); } /// /// Returns true if HistogramInterval instances are equal /// - /// Instance of HistogramInterval to be compared + /// Instance of HistogramInterval to be compared /// Boolean - public bool Equals(HistogramInterval other) + public bool Equals(HistogramInterval input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Bin == other.Bin || - this.Bin != null && - this.Bin.Equals(other.Bin) + this.Bin == input.Bin || + (this.Bin != null && + this.Bin.Equals(input.Bin)) ) && ( - this.Count == other.Count || - this.Count != null && - this.Count.Equals(other.Count) + this.Count == input.Count || + (this.Count != null && + this.Count.Equals(input.Count)) ); } @@ -124,23 +115,16 @@ public bool Equals(HistogramInterval other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Bin != null) - hash = hash * 59 + this.Bin.GetHashCode(); + hashCode = hashCode * 59 + this.Bin.GetHashCode(); if (this.Count != null) - hash = hash * 59 + this.Count.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Count.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Histograms.cs b/src/Aylien.NewsApi/Model/Histograms.cs similarity index 51% rename from src/main/csharp/Aylien.NewsApi/Model/Histograms.cs rename to src/Aylien.NewsApi/Model/Histograms.cs index 725becd..2a8ae3e 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Histograms.cs +++ b/src/Aylien.NewsApi/Model/Histograms.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,54 +26,59 @@ namespace Aylien.NewsApi.Model /// Histograms /// [DataContract] - public partial class Histograms : IEquatable, IValidatableObject + public partial class Histograms : IEquatable { /// /// Initializes a new instance of the class. /// - /// The intervals of the histograms. - /// The start interval of the histogram. - /// The end interval of the histogram. - /// The width of the histogram. - /// Field. - public Histograms(List Intervals = default(List), int? IntervalStart = default(int?), int? IntervalEnd = default(int?), int? IntervalWidth = default(int?), string Field = default(string)) + /// field. + /// The end interval of the histogram. + /// The start interval of the histogram. + /// The width of the histogram. + /// The intervals of the histograms. + public Histograms(string field = default(string), int intervalEnd = default(int), int intervalStart = default(int), int intervalWidth = default(int), List intervals = default(List)) { - this.Intervals = Intervals; - this.IntervalStart = IntervalStart; - this.IntervalEnd = IntervalEnd; - this.IntervalWidth = IntervalWidth; - this.Field = Field; + this.Field = field; + this.IntervalEnd = intervalEnd; + this.IntervalStart = intervalStart; + this.IntervalWidth = intervalWidth; + this.Intervals = intervals; } /// - /// The intervals of the histograms - /// - /// The intervals of the histograms - [DataMember(Name="intervals", EmitDefaultValue=false)] - public List Intervals { get; set; } - /// - /// The start interval of the histogram + /// Gets or Sets Field /// - /// The start interval of the histogram - [DataMember(Name="interval.start", EmitDefaultValue=false)] - public int? IntervalStart { get; set; } + [DataMember(Name="field", EmitDefaultValue=false)] + public string Field { get; set; } + /// /// The end interval of the histogram /// /// The end interval of the histogram [DataMember(Name="interval.end", EmitDefaultValue=false)] - public int? IntervalEnd { get; set; } + public int IntervalEnd { get; set; } + + /// + /// The start interval of the histogram + /// + /// The start interval of the histogram + [DataMember(Name="interval.start", EmitDefaultValue=false)] + public int IntervalStart { get; set; } + /// /// The width of the histogram /// /// The width of the histogram [DataMember(Name="interval.width", EmitDefaultValue=false)] - public int? IntervalWidth { get; set; } + public int IntervalWidth { get; set; } + /// - /// Gets or Sets Field + /// The intervals of the histograms /// - [DataMember(Name="field", EmitDefaultValue=false)] - public string Field { get; set; } + /// The intervals of the histograms + [DataMember(Name="intervals", EmitDefaultValue=false)] + public List Intervals { get; set; } + /// /// Returns the string presentation of the object /// @@ -91,11 +87,11 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Histograms {\n"); - sb.Append(" Intervals: ").Append(Intervals).Append("\n"); - sb.Append(" IntervalStart: ").Append(IntervalStart).Append("\n"); + sb.Append(" Field: ").Append(Field).Append("\n"); sb.Append(" IntervalEnd: ").Append(IntervalEnd).Append("\n"); + sb.Append(" IntervalStart: ").Append(IntervalStart).Append("\n"); sb.Append(" IntervalWidth: ").Append(IntervalWidth).Append("\n"); - sb.Append(" Field: ").Append(Field).Append("\n"); + sb.Append(" Intervals: ").Append(Intervals).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -104,7 +100,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -112,50 +108,49 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Histograms); + return this.Equals(input as Histograms); } /// /// Returns true if Histograms instances are equal /// - /// Instance of Histograms to be compared + /// Instance of Histograms to be compared /// Boolean - public bool Equals(Histograms other) + public bool Equals(Histograms input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Intervals == other.Intervals || - this.Intervals != null && - this.Intervals.SequenceEqual(other.Intervals) + this.Field == input.Field || + (this.Field != null && + this.Field.Equals(input.Field)) ) && ( - this.IntervalStart == other.IntervalStart || - this.IntervalStart != null && - this.IntervalStart.Equals(other.IntervalStart) + this.IntervalEnd == input.IntervalEnd || + (this.IntervalEnd != null && + this.IntervalEnd.Equals(input.IntervalEnd)) ) && ( - this.IntervalEnd == other.IntervalEnd || - this.IntervalEnd != null && - this.IntervalEnd.Equals(other.IntervalEnd) + this.IntervalStart == input.IntervalStart || + (this.IntervalStart != null && + this.IntervalStart.Equals(input.IntervalStart)) ) && ( - this.IntervalWidth == other.IntervalWidth || - this.IntervalWidth != null && - this.IntervalWidth.Equals(other.IntervalWidth) + this.IntervalWidth == input.IntervalWidth || + (this.IntervalWidth != null && + this.IntervalWidth.Equals(input.IntervalWidth)) ) && ( - this.Field == other.Field || - this.Field != null && - this.Field.Equals(other.Field) + this.Intervals == input.Intervals || + this.Intervals != null && + input.Intervals != null && + this.Intervals.SequenceEqual(input.Intervals) ); } @@ -165,29 +160,22 @@ public bool Equals(Histograms other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Intervals != null) - hash = hash * 59 + this.Intervals.GetHashCode(); - if (this.IntervalStart != null) - hash = hash * 59 + this.IntervalStart.GetHashCode(); + int hashCode = 41; + if (this.Field != null) + hashCode = hashCode * 59 + this.Field.GetHashCode(); if (this.IntervalEnd != null) - hash = hash * 59 + this.IntervalEnd.GetHashCode(); + hashCode = hashCode * 59 + this.IntervalEnd.GetHashCode(); + if (this.IntervalStart != null) + hashCode = hashCode * 59 + this.IntervalStart.GetHashCode(); if (this.IntervalWidth != null) - hash = hash * 59 + this.IntervalWidth.GetHashCode(); - if (this.Field != null) - hash = hash * 59 + this.Field.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.IntervalWidth.GetHashCode(); + if (this.Intervals != null) + hashCode = hashCode * 59 + this.Intervals.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Location.cs b/src/Aylien.NewsApi/Model/Location.cs similarity index 54% rename from src/main/csharp/Aylien.NewsApi/Model/Location.cs rename to src/Aylien.NewsApi/Model/Location.cs index 5f89ea4..30223a3 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Location.cs +++ b/src/Aylien.NewsApi/Model/Location.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,39 +26,42 @@ namespace Aylien.NewsApi.Model /// Location /// [DataContract] - public partial class Location : IEquatable, IValidatableObject + public partial class Location : IEquatable { /// /// Initializes a new instance of the class. /// - /// The country code of the location. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes.. - /// The state of the location. - /// The city of the location. - public Location(string Country = default(string), string State = default(string), string City = default(string)) + /// The city of the location. + /// The country code of the location. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. . + /// The state of the location. + public Location(string city = default(string), string country = default(string), string state = default(string)) { - this.Country = Country; - this.State = State; - this.City = City; + this.City = city; + this.Country = country; + this.State = state; } /// - /// The country code of the location. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. + /// The city of the location + /// + /// The city of the location + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// The country code of the location. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. /// - /// The country code of the location. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. + /// The country code of the location. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [DataMember(Name="country", EmitDefaultValue=false)] public string Country { get; set; } + /// /// The state of the location /// /// The state of the location [DataMember(Name="state", EmitDefaultValue=false)] public string State { get; set; } - /// - /// The city of the location - /// - /// The city of the location - [DataMember(Name="city", EmitDefaultValue=false)] - public string City { get; set; } + /// /// Returns the string presentation of the object /// @@ -76,9 +70,9 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Location {\n"); + sb.Append(" City: ").Append(City).Append("\n"); sb.Append(" Country: ").Append(Country).Append("\n"); sb.Append(" State: ").Append(State).Append("\n"); - sb.Append(" City: ").Append(City).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -87,7 +81,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -95,40 +89,38 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Location); + return this.Equals(input as Location); } /// /// Returns true if Location instances are equal /// - /// Instance of Location to be compared + /// Instance of Location to be compared /// Boolean - public bool Equals(Location other) + public bool Equals(Location input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Country == other.Country || - this.Country != null && - this.Country.Equals(other.Country) + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) ) && ( - this.State == other.State || - this.State != null && - this.State.Equals(other.State) + this.Country == input.Country || + (this.Country != null && + this.Country.Equals(input.Country)) ) && ( - this.City == other.City || - this.City != null && - this.City.Equals(other.City) + this.State == input.State || + (this.State != null && + this.State.Equals(input.State)) ); } @@ -138,25 +130,18 @@ public bool Equals(Location other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); if (this.Country != null) - hash = hash * 59 + this.Country.GetHashCode(); + hashCode = hashCode * 59 + this.Country.GetHashCode(); if (this.State != null) - hash = hash * 59 + this.State.GetHashCode(); - if (this.City != null) - hash = hash * 59 + this.City.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.State.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Media.cs b/src/Aylien.NewsApi/Model/Media.cs similarity index 55% rename from src/main/csharp/Aylien.NewsApi/Model/Media.cs rename to src/Aylien.NewsApi/Model/Media.cs index c763ae7..540c9b6 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Media.cs +++ b/src/Aylien.NewsApi/Model/Media.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,29 +26,8 @@ namespace Aylien.NewsApi.Model /// Media /// [DataContract] - public partial class Media : IEquatable, IValidatableObject + public partial class Media : IEquatable { - /// - /// The type of media - /// - /// The type of media - [JsonConverter(typeof(StringEnumConverter))] - public enum TypeEnum - { - - /// - /// Enum Image for "image" - /// - [EnumMember(Value = "image")] - Image, - - /// - /// Enum Video for "video" - /// - [EnumMember(Value = "video")] - Video - } - /// /// The format of media /// @@ -65,74 +35,68 @@ public enum TypeEnum [JsonConverter(typeof(StringEnumConverter))] public enum FormatEnum { - /// - /// Enum BMP for "BMP" + /// Enum BMP for value: BMP /// [EnumMember(Value = "BMP")] - BMP, - + BMP = 1, + /// - /// Enum GIF for "GIF" + /// Enum GIF for value: GIF /// [EnumMember(Value = "GIF")] - GIF, - + GIF = 2, + /// - /// Enum JPEG for "JPEG" + /// Enum JPEG for value: JPEG /// [EnumMember(Value = "JPEG")] - JPEG, - + JPEG = 3, + /// - /// Enum PNG for "PNG" + /// Enum PNG for value: PNG /// [EnumMember(Value = "PNG")] - PNG, - + PNG = 4, + /// - /// Enum TIFF for "TIFF" + /// Enum TIFF for value: TIFF /// [EnumMember(Value = "TIFF")] - TIFF, - + TIFF = 5, + /// - /// Enum PSD for "PSD" + /// Enum PSD for value: PSD /// [EnumMember(Value = "PSD")] - PSD, - + PSD = 6, + /// - /// Enum ICO for "ICO" + /// Enum ICO for value: ICO /// [EnumMember(Value = "ICO")] - ICO, - + ICO = 7, + /// - /// Enum CUR for "CUR" + /// Enum CUR for value: CUR /// [EnumMember(Value = "CUR")] - CUR, - + CUR = 8, + /// - /// Enum WEBP for "WEBP" + /// Enum WEBP for value: WEBP /// [EnumMember(Value = "WEBP")] - WEBP, - + WEBP = 9, + /// - /// Enum SVG for "SVG" + /// Enum SVG for value: SVG /// [EnumMember(Value = "SVG")] - SVG + SVG = 10 + } - /// - /// The type of media - /// - /// The type of media - [DataMember(Name="type", EmitDefaultValue=false)] - public TypeEnum? Type { get; set; } /// /// The format of media /// @@ -140,48 +104,81 @@ public enum FormatEnum [DataMember(Name="format", EmitDefaultValue=false)] public FormatEnum? Format { get; set; } /// + /// The type of media + /// + /// The type of media + [JsonConverter(typeof(StringEnumConverter))] + public enum TypeEnum + { + /// + /// Enum Image for value: image + /// + [EnumMember(Value = "image")] + Image = 1, + + /// + /// Enum Video for value: video + /// + [EnumMember(Value = "video")] + Video = 2 + + } + + /// + /// The type of media + /// + /// The type of media + [DataMember(Name="type", EmitDefaultValue=false)] + public TypeEnum? Type { get; set; } + /// /// Initializes a new instance of the class. /// - /// The type of media. - /// A URL which points to the media file. - /// The format of media. - /// The content length of media. - /// The width of media. - /// The height of media. - public Media(TypeEnum? Type = default(TypeEnum?), string Url = default(string), FormatEnum? Format = default(FormatEnum?), int? ContentLength = default(int?), int? Width = default(int?), int? Height = default(int?)) + /// The content length of media. + /// The format of media. + /// The height of media. + /// The type of media. + /// A URL which points to the media file. + /// The width of media. + public Media(int contentLength = default(int), FormatEnum? format = default(FormatEnum?), int height = default(int), TypeEnum? type = default(TypeEnum?), string url = default(string), int width = default(int)) { - this.Type = Type; - this.Url = Url; - this.Format = Format; - this.ContentLength = ContentLength; - this.Width = Width; - this.Height = Height; + this.ContentLength = contentLength; + this.Format = format; + this.Height = height; + this.Type = type; + this.Url = url; + this.Width = width; } + /// + /// The content length of media + /// + /// The content length of media + [DataMember(Name="content_length", EmitDefaultValue=false)] + public int ContentLength { get; set; } + + + /// + /// The height of media + /// + /// The height of media + [DataMember(Name="height", EmitDefaultValue=false)] + public int Height { get; set; } + + /// /// A URL which points to the media file /// /// A URL which points to the media file [DataMember(Name="url", EmitDefaultValue=false)] public string Url { get; set; } - /// - /// The content length of media - /// - /// The content length of media - [DataMember(Name="content_length", EmitDefaultValue=false)] - public int? ContentLength { get; set; } + /// /// The width of media /// /// The width of media [DataMember(Name="width", EmitDefaultValue=false)] - public int? Width { get; set; } - /// - /// The height of media - /// - /// The height of media - [DataMember(Name="height", EmitDefaultValue=false)] - public int? Height { get; set; } + public int Width { get; set; } + /// /// Returns the string presentation of the object /// @@ -190,12 +187,12 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Media {\n"); + sb.Append(" ContentLength: ").Append(ContentLength).Append("\n"); + sb.Append(" Format: ").Append(Format).Append("\n"); + sb.Append(" Height: ").Append(Height).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append(" Url: ").Append(Url).Append("\n"); - sb.Append(" Format: ").Append(Format).Append("\n"); - sb.Append(" ContentLength: ").Append(ContentLength).Append("\n"); sb.Append(" Width: ").Append(Width).Append("\n"); - sb.Append(" Height: ").Append(Height).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -204,7 +201,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -212,55 +209,53 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Media); + return this.Equals(input as Media); } /// /// Returns true if Media instances are equal /// - /// Instance of Media to be compared + /// Instance of Media to be compared /// Boolean - public bool Equals(Media other) + public bool Equals(Media input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Type == other.Type || - this.Type != null && - this.Type.Equals(other.Type) + this.ContentLength == input.ContentLength || + (this.ContentLength != null && + this.ContentLength.Equals(input.ContentLength)) ) && ( - this.Url == other.Url || - this.Url != null && - this.Url.Equals(other.Url) + this.Format == input.Format || + (this.Format != null && + this.Format.Equals(input.Format)) ) && ( - this.Format == other.Format || - this.Format != null && - this.Format.Equals(other.Format) + this.Height == input.Height || + (this.Height != null && + this.Height.Equals(input.Height)) ) && ( - this.ContentLength == other.ContentLength || - this.ContentLength != null && - this.ContentLength.Equals(other.ContentLength) + this.Type == input.Type || + (this.Type != null && + this.Type.Equals(input.Type)) ) && ( - this.Width == other.Width || - this.Width != null && - this.Width.Equals(other.Width) + this.Url == input.Url || + (this.Url != null && + this.Url.Equals(input.Url)) ) && ( - this.Height == other.Height || - this.Height != null && - this.Height.Equals(other.Height) + this.Width == input.Width || + (this.Width != null && + this.Width.Equals(input.Width)) ); } @@ -270,31 +265,24 @@ public bool Equals(Media other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; + if (this.ContentLength != null) + hashCode = hashCode * 59 + this.ContentLength.GetHashCode(); + if (this.Format != null) + hashCode = hashCode * 59 + this.Format.GetHashCode(); + if (this.Height != null) + hashCode = hashCode * 59 + this.Height.GetHashCode(); if (this.Type != null) - hash = hash * 59 + this.Type.GetHashCode(); + hashCode = hashCode * 59 + this.Type.GetHashCode(); if (this.Url != null) - hash = hash * 59 + this.Url.GetHashCode(); - if (this.Format != null) - hash = hash * 59 + this.Format.GetHashCode(); - if (this.ContentLength != null) - hash = hash * 59 + this.ContentLength.GetHashCode(); + hashCode = hashCode * 59 + this.Url.GetHashCode(); if (this.Width != null) - hash = hash * 59 + this.Width.GetHashCode(); - if (this.Height != null) - hash = hash * 59 + this.Height.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Width.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Rank.cs b/src/Aylien.NewsApi/Model/Rank.cs similarity index 52% rename from src/main/csharp/Aylien.NewsApi/Model/Rank.cs rename to src/Aylien.NewsApi/Model/Rank.cs index 6c34f62..3125359 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Rank.cs +++ b/src/Aylien.NewsApi/Model/Rank.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,39 +26,42 @@ namespace Aylien.NewsApi.Model /// Rank /// [DataContract] - public partial class Rank : IEquatable, IValidatableObject + public partial class Rank : IEquatable { /// /// Initializes a new instance of the class. /// - /// The rank. - /// The country code which the rank is in it. - /// The fetched date of the rank. - public Rank(int? _Rank = default(int?), string Country = default(string), DateTime? FetchedAt = default(DateTime?)) + /// The country code which the rank is in it. + /// The fetched date of the rank. + /// The rank. + public Rank(string country = default(string), DateTime fetchedAt = default(DateTime), int rank = default(int)) { - this._Rank = _Rank; - this.Country = Country; - this.FetchedAt = FetchedAt; + this.Country = country; + this.FetchedAt = fetchedAt; + this._Rank = rank; } - /// - /// The rank - /// - /// The rank - [DataMember(Name="rank", EmitDefaultValue=false)] - public int? _Rank { get; set; } /// /// The country code which the rank is in it /// /// The country code which the rank is in it [DataMember(Name="country", EmitDefaultValue=false)] public string Country { get; set; } + /// /// The fetched date of the rank /// /// The fetched date of the rank [DataMember(Name="fetched_at", EmitDefaultValue=false)] - public DateTime? FetchedAt { get; set; } + public DateTime FetchedAt { get; set; } + + /// + /// The rank + /// + /// The rank + [DataMember(Name="rank", EmitDefaultValue=false)] + public int _Rank { get; set; } + /// /// Returns the string presentation of the object /// @@ -76,9 +70,9 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Rank {\n"); - sb.Append(" _Rank: ").Append(_Rank).Append("\n"); sb.Append(" Country: ").Append(Country).Append("\n"); sb.Append(" FetchedAt: ").Append(FetchedAt).Append("\n"); + sb.Append(" _Rank: ").Append(_Rank).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -87,7 +81,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -95,40 +89,38 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Rank); + return this.Equals(input as Rank); } /// /// Returns true if Rank instances are equal /// - /// Instance of Rank to be compared + /// Instance of Rank to be compared /// Boolean - public bool Equals(Rank other) + public bool Equals(Rank input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this._Rank == other._Rank || - this._Rank != null && - this._Rank.Equals(other._Rank) + this.Country == input.Country || + (this.Country != null && + this.Country.Equals(input.Country)) ) && ( - this.Country == other.Country || - this.Country != null && - this.Country.Equals(other.Country) + this.FetchedAt == input.FetchedAt || + (this.FetchedAt != null && + this.FetchedAt.Equals(input.FetchedAt)) ) && ( - this.FetchedAt == other.FetchedAt || - this.FetchedAt != null && - this.FetchedAt.Equals(other.FetchedAt) + this._Rank == input._Rank || + (this._Rank != null && + this._Rank.Equals(input._Rank)) ); } @@ -138,25 +130,18 @@ public bool Equals(Rank other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this._Rank != null) - hash = hash * 59 + this._Rank.GetHashCode(); + int hashCode = 41; if (this.Country != null) - hash = hash * 59 + this.Country.GetHashCode(); + hashCode = hashCode * 59 + this.Country.GetHashCode(); if (this.FetchedAt != null) - hash = hash * 59 + this.FetchedAt.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.FetchedAt.GetHashCode(); + if (this._Rank != null) + hashCode = hashCode * 59 + this._Rank.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Rankings.cs b/src/Aylien.NewsApi/Model/Rankings.cs similarity index 54% rename from src/main/csharp/Aylien.NewsApi/Model/Rankings.cs rename to src/Aylien.NewsApi/Model/Rankings.cs index 6c8129b..681a1f0 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Rankings.cs +++ b/src/Aylien.NewsApi/Model/Rankings.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,15 +26,15 @@ namespace Aylien.NewsApi.Model /// Rankings /// [DataContract] - public partial class Rankings : IEquatable, IValidatableObject + public partial class Rankings : IEquatable { /// /// Initializes a new instance of the class. /// - /// Alexa. - public Rankings(List Alexa = default(List)) + /// alexa. + public Rankings(List alexa = default(List)) { - this.Alexa = Alexa; + this.Alexa = alexa; } /// @@ -51,6 +42,7 @@ public partial class Rankings : IEquatable, IValidatableObject /// [DataMember(Name="alexa", EmitDefaultValue=false)] public List Alexa { get; set; } + /// /// Returns the string presentation of the object /// @@ -68,7 +60,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -76,30 +68,29 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Rankings); + return this.Equals(input as Rankings); } /// /// Returns true if Rankings instances are equal /// - /// Instance of Rankings to be compared + /// Instance of Rankings to be compared /// Boolean - public bool Equals(Rankings other) + public bool Equals(Rankings input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Alexa == other.Alexa || + this.Alexa == input.Alexa || this.Alexa != null && - this.Alexa.SequenceEqual(other.Alexa) + input.Alexa != null && + this.Alexa.SequenceEqual(input.Alexa) ); } @@ -109,21 +100,14 @@ public bool Equals(Rankings other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Alexa != null) - hash = hash * 59 + this.Alexa.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Alexa.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/Aylien.NewsApi/Model/RelatedStories.cs b/src/Aylien.NewsApi/Model/RelatedStories.cs new file mode 100644 index 0000000..1ad60f6 --- /dev/null +++ b/src/Aylien.NewsApi/Model/RelatedStories.cs @@ -0,0 +1,165 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// RelatedStories + /// + [DataContract] + public partial class RelatedStories : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// An array of related stories for the input story. + /// The input story body. + /// The input story language. + /// The input story title. + public RelatedStories(List relatedStories = default(List), string storyBody = default(string), string storyLanguage = default(string), string storyTitle = default(string)) + { + this._RelatedStories = relatedStories; + this.StoryBody = storyBody; + this.StoryLanguage = storyLanguage; + this.StoryTitle = storyTitle; + } + + /// + /// An array of related stories for the input story + /// + /// An array of related stories for the input story + [DataMember(Name="related_stories", EmitDefaultValue=false)] + public List _RelatedStories { get; set; } + + /// + /// The input story body + /// + /// The input story body + [DataMember(Name="story_body", EmitDefaultValue=false)] + public string StoryBody { get; set; } + + /// + /// The input story language + /// + /// The input story language + [DataMember(Name="story_language", EmitDefaultValue=false)] + public string StoryLanguage { get; set; } + + /// + /// The input story title + /// + /// The input story title + [DataMember(Name="story_title", EmitDefaultValue=false)] + public string StoryTitle { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RelatedStories {\n"); + sb.Append(" _RelatedStories: ").Append(_RelatedStories).Append("\n"); + sb.Append(" StoryBody: ").Append(StoryBody).Append("\n"); + sb.Append(" StoryLanguage: ").Append(StoryLanguage).Append("\n"); + sb.Append(" StoryTitle: ").Append(StoryTitle).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as RelatedStories); + } + + /// + /// Returns true if RelatedStories instances are equal + /// + /// Instance of RelatedStories to be compared + /// Boolean + public bool Equals(RelatedStories input) + { + if (input == null) + return false; + + return + ( + this._RelatedStories == input._RelatedStories || + this._RelatedStories != null && + input._RelatedStories != null && + this._RelatedStories.SequenceEqual(input._RelatedStories) + ) && + ( + this.StoryBody == input.StoryBody || + (this.StoryBody != null && + this.StoryBody.Equals(input.StoryBody)) + ) && + ( + this.StoryLanguage == input.StoryLanguage || + (this.StoryLanguage != null && + this.StoryLanguage.Equals(input.StoryLanguage)) + ) && + ( + this.StoryTitle == input.StoryTitle || + (this.StoryTitle != null && + this.StoryTitle.Equals(input.StoryTitle)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this._RelatedStories != null) + hashCode = hashCode * 59 + this._RelatedStories.GetHashCode(); + if (this.StoryBody != null) + hashCode = hashCode * 59 + this.StoryBody.GetHashCode(); + if (this.StoryLanguage != null) + hashCode = hashCode * 59 + this.StoryLanguage.GetHashCode(); + if (this.StoryTitle != null) + hashCode = hashCode * 59 + this.StoryTitle.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/Aylien.NewsApi/Model/RepresentativeStory.cs b/src/Aylien.NewsApi/Model/RepresentativeStory.cs new file mode 100644 index 0000000..f06ee9b --- /dev/null +++ b/src/Aylien.NewsApi/Model/RepresentativeStory.cs @@ -0,0 +1,164 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// RepresentativeStory + /// + [DataContract] + public partial class RepresentativeStory : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// ID of the story which is a unique identification. + /// The story permalink URL. + /// Published date of the story. + /// Title of the story. + public RepresentativeStory(long id = default(long), string permalink = default(string), DateTime publishedAt = default(DateTime), string title = default(string)) + { + this.Id = id; + this.Permalink = permalink; + this.PublishedAt = publishedAt; + this.Title = title; + } + + /// + /// ID of the story which is a unique identification + /// + /// ID of the story which is a unique identification + [DataMember(Name="id", EmitDefaultValue=false)] + public long Id { get; set; } + + /// + /// The story permalink URL + /// + /// The story permalink URL + [DataMember(Name="permalink", EmitDefaultValue=false)] + public string Permalink { get; set; } + + /// + /// Published date of the story + /// + /// Published date of the story + [DataMember(Name="published_at", EmitDefaultValue=false)] + public DateTime PublishedAt { get; set; } + + /// + /// Title of the story + /// + /// Title of the story + [DataMember(Name="title", EmitDefaultValue=false)] + public string Title { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RepresentativeStory {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Permalink: ").Append(Permalink).Append("\n"); + sb.Append(" PublishedAt: ").Append(PublishedAt).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as RepresentativeStory); + } + + /// + /// Returns true if RepresentativeStory instances are equal + /// + /// Instance of RepresentativeStory to be compared + /// Boolean + public bool Equals(RepresentativeStory input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Permalink == input.Permalink || + (this.Permalink != null && + this.Permalink.Equals(input.Permalink)) + ) && + ( + this.PublishedAt == input.PublishedAt || + (this.PublishedAt != null && + this.PublishedAt.Equals(input.PublishedAt)) + ) && + ( + this.Title == input.Title || + (this.Title != null && + this.Title.Equals(input.Title)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Permalink != null) + hashCode = hashCode * 59 + this.Permalink.GetHashCode(); + if (this.PublishedAt != null) + hashCode = hashCode * 59 + this.PublishedAt.GetHashCode(); + if (this.Title != null) + hashCode = hashCode * 59 + this.Title.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Scope.cs b/src/Aylien.NewsApi/Model/Scope.cs similarity index 55% rename from src/main/csharp/Aylien.NewsApi/Model/Scope.cs rename to src/Aylien.NewsApi/Model/Scope.cs index fec2ac8..aa43c3f 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Scope.cs +++ b/src/Aylien.NewsApi/Model/Scope.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,7 +26,7 @@ namespace Aylien.NewsApi.Model /// Scope /// [DataContract] - public partial class Scope : IEquatable, IValidatableObject + public partial class Scope : IEquatable { /// /// The scope by level @@ -44,24 +35,24 @@ public partial class Scope : IEquatable, IValidatableObject [JsonConverter(typeof(StringEnumConverter))] public enum LevelEnum { - /// - /// Enum International for "international" + /// Enum International for value: international /// [EnumMember(Value = "international")] - International, - + International = 1, + /// - /// Enum National for "national" + /// Enum National for value: national /// [EnumMember(Value = "national")] - National, - + National = 2, + /// - /// Enum Local for "local" + /// Enum Local for value: local /// [EnumMember(Value = "local")] - Local + Local = 3 + } /// @@ -73,36 +64,40 @@ public enum LevelEnum /// /// Initializes a new instance of the class. /// - /// The source scope by country code. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes.. - /// The scope by state. - /// The scope by city. - /// The scope by level. - public Scope(string Country = default(string), string State = default(string), string City = default(string), LevelEnum? Level = default(LevelEnum?)) + /// The scope by city. + /// The source scope by country code. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. . + /// The scope by level. + /// The scope by state. + public Scope(string city = default(string), string country = default(string), LevelEnum? level = default(LevelEnum?), string state = default(string)) { - this.Country = Country; - this.State = State; - this.City = City; - this.Level = Level; + this.City = city; + this.Country = country; + this.Level = level; + this.State = state; } /// - /// The source scope by country code. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. + /// The scope by city + /// + /// The scope by city + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// The source scope by country code. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. /// - /// The source scope by country code. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. + /// The source scope by country code. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [DataMember(Name="country", EmitDefaultValue=false)] public string Country { get; set; } + + /// /// The scope by state /// /// The scope by state [DataMember(Name="state", EmitDefaultValue=false)] public string State { get; set; } - /// - /// The scope by city - /// - /// The scope by city - [DataMember(Name="city", EmitDefaultValue=false)] - public string City { get; set; } + /// /// Returns the string presentation of the object /// @@ -111,10 +106,10 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Scope {\n"); - sb.Append(" Country: ").Append(Country).Append("\n"); - sb.Append(" State: ").Append(State).Append("\n"); sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); sb.Append(" Level: ").Append(Level).Append("\n"); + sb.Append(" State: ").Append(State).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -123,7 +118,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -131,45 +126,43 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Scope); + return this.Equals(input as Scope); } /// /// Returns true if Scope instances are equal /// - /// Instance of Scope to be compared + /// Instance of Scope to be compared /// Boolean - public bool Equals(Scope other) + public bool Equals(Scope input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Country == other.Country || - this.Country != null && - this.Country.Equals(other.Country) + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) ) && ( - this.State == other.State || - this.State != null && - this.State.Equals(other.State) + this.Country == input.Country || + (this.Country != null && + this.Country.Equals(input.Country)) ) && ( - this.City == other.City || - this.City != null && - this.City.Equals(other.City) + this.Level == input.Level || + (this.Level != null && + this.Level.Equals(input.Level)) ) && ( - this.Level == other.Level || - this.Level != null && - this.Level.Equals(other.Level) + this.State == input.State || + (this.State != null && + this.State.Equals(input.State)) ); } @@ -179,27 +172,20 @@ public bool Equals(Scope other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Country != null) - hash = hash * 59 + this.Country.GetHashCode(); - if (this.State != null) - hash = hash * 59 + this.State.GetHashCode(); + int hashCode = 41; if (this.City != null) - hash = hash * 59 + this.City.GetHashCode(); + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.Country != null) + hashCode = hashCode * 59 + this.Country.GetHashCode(); if (this.Level != null) - hash = hash * 59 + this.Level.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Level.GetHashCode(); + if (this.State != null) + hashCode = hashCode * 59 + this.State.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Sentiment.cs b/src/Aylien.NewsApi/Model/Sentiment.cs similarity index 50% rename from src/main/csharp/Aylien.NewsApi/Model/Sentiment.cs rename to src/Aylien.NewsApi/Model/Sentiment.cs index f2029ce..9fcb9c7 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Sentiment.cs +++ b/src/Aylien.NewsApi/Model/Sentiment.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,7 +26,7 @@ namespace Aylien.NewsApi.Model /// Sentiment /// [DataContract] - public partial class Sentiment : IEquatable, IValidatableObject + public partial class Sentiment : IEquatable { /// /// Polarity of the sentiment @@ -44,24 +35,24 @@ public partial class Sentiment : IEquatable, IValidatableObject [JsonConverter(typeof(StringEnumConverter))] public enum PolarityEnum { - /// - /// Enum Positive for "positive" + /// Enum Positive for value: positive /// [EnumMember(Value = "positive")] - Positive, - + Positive = 1, + /// - /// Enum Neutral for "neutral" + /// Enum Neutral for value: neutral /// [EnumMember(Value = "neutral")] - Neutral, - + Neutral = 2, + /// - /// Enum Negative for "negative" + /// Enum Negative for value: negative /// [EnumMember(Value = "negative")] - Negative + Negative = 3 + } /// @@ -73,20 +64,22 @@ public enum PolarityEnum /// /// Initializes a new instance of the class. /// - /// Polarity of the sentiment. - /// Polarity score of the sentiment. - public Sentiment(PolarityEnum? Polarity = default(PolarityEnum?), double? Score = default(double?)) + /// Polarity of the sentiment. + /// Polarity score of the sentiment. + public Sentiment(PolarityEnum? polarity = default(PolarityEnum?), double score = default(double)) { - this.Polarity = Polarity; - this.Score = Score; + this.Polarity = polarity; + this.Score = score; } + /// /// Polarity score of the sentiment /// /// Polarity score of the sentiment [DataMember(Name="score", EmitDefaultValue=false)] - public double? Score { get; set; } + public double Score { get; set; } + /// /// Returns the string presentation of the object /// @@ -105,7 +98,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -113,35 +106,33 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Sentiment); + return this.Equals(input as Sentiment); } /// /// Returns true if Sentiment instances are equal /// - /// Instance of Sentiment to be compared + /// Instance of Sentiment to be compared /// Boolean - public bool Equals(Sentiment other) + public bool Equals(Sentiment input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Polarity == other.Polarity || - this.Polarity != null && - this.Polarity.Equals(other.Polarity) + this.Polarity == input.Polarity || + (this.Polarity != null && + this.Polarity.Equals(input.Polarity)) ) && ( - this.Score == other.Score || - this.Score != null && - this.Score.Equals(other.Score) + this.Score == input.Score || + (this.Score != null && + this.Score.Equals(input.Score)) ); } @@ -151,35 +142,16 @@ public bool Equals(Sentiment other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Polarity != null) - hash = hash * 59 + this.Polarity.GetHashCode(); + hashCode = hashCode * 59 + this.Polarity.GetHashCode(); if (this.Score != null) - hash = hash * 59 + this.Score.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Score.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - // Score (double?) maximum - if(this.Score > (double?)1) - { - yield return new ValidationResult("Invalid value for Score, must be a value less than or equal to 1.", new [] { "Score" }); - } - - // Score (double?) minimum - if(this.Score < (double?)0) - { - yield return new ValidationResult("Invalid value for Score, must be a value greater than or equal to 0.", new [] { "Score" }); - } - - yield break; - } } } diff --git a/src/Aylien.NewsApi/Model/Sentiments.cs b/src/Aylien.NewsApi/Model/Sentiments.cs new file mode 100644 index 0000000..6a1bfec --- /dev/null +++ b/src/Aylien.NewsApi/Model/Sentiments.cs @@ -0,0 +1,128 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// Sentiments + /// + [DataContract] + public partial class Sentiments : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// body. + /// title. + public Sentiments(Sentiment body = default(Sentiment), Sentiment title = default(Sentiment)) + { + this.Body = body; + this.Title = title; + } + + /// + /// Gets or Sets Body + /// + [DataMember(Name="body", EmitDefaultValue=false)] + public Sentiment Body { get; set; } + + /// + /// Gets or Sets Title + /// + [DataMember(Name="title", EmitDefaultValue=false)] + public Sentiment Title { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Sentiments {\n"); + sb.Append(" Body: ").Append(Body).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Sentiments); + } + + /// + /// Returns true if Sentiments instances are equal + /// + /// Instance of Sentiments to be compared + /// Boolean + public bool Equals(Sentiments input) + { + if (input == null) + return false; + + return + ( + this.Body == input.Body || + (this.Body != null && + this.Body.Equals(input.Body)) + ) && + ( + this.Title == input.Title || + (this.Title != null && + this.Title.Equals(input.Title)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Body != null) + hashCode = hashCode * 59 + this.Body.GetHashCode(); + if (this.Title != null) + hashCode = hashCode * 59 + this.Title.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/main/csharp/Aylien.NewsApi/Model/ShareCount.cs b/src/Aylien.NewsApi/Model/ShareCount.cs similarity index 51% rename from src/main/csharp/Aylien.NewsApi/Model/ShareCount.cs rename to src/Aylien.NewsApi/Model/ShareCount.cs index 3556cbc..21695fe 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/ShareCount.cs +++ b/src/Aylien.NewsApi/Model/ShareCount.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,17 +26,17 @@ namespace Aylien.NewsApi.Model /// ShareCount /// [DataContract] - public partial class ShareCount : IEquatable, IValidatableObject + public partial class ShareCount : IEquatable { /// /// Initializes a new instance of the class. /// - /// The number of shares. - /// The fetched date of the shares. - public ShareCount(int? Count = default(int?), DateTime? FetchedAt = default(DateTime?)) + /// The number of shares. + /// The fetched date of the shares. + public ShareCount(int count = default(int), DateTime fetchedAt = default(DateTime)) { - this.Count = Count; - this.FetchedAt = FetchedAt; + this.Count = count; + this.FetchedAt = fetchedAt; } /// @@ -53,13 +44,15 @@ public partial class ShareCount : IEquatable, IValidatableObject /// /// The number of shares [DataMember(Name="count", EmitDefaultValue=false)] - public int? Count { get; set; } + public int Count { get; set; } + /// /// The fetched date of the shares /// /// The fetched date of the shares [DataMember(Name="fetched_at", EmitDefaultValue=false)] - public DateTime? FetchedAt { get; set; } + public DateTime FetchedAt { get; set; } + /// /// Returns the string presentation of the object /// @@ -78,7 +71,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -86,35 +79,33 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as ShareCount); + return this.Equals(input as ShareCount); } /// /// Returns true if ShareCount instances are equal /// - /// Instance of ShareCount to be compared + /// Instance of ShareCount to be compared /// Boolean - public bool Equals(ShareCount other) + public bool Equals(ShareCount input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Count == other.Count || - this.Count != null && - this.Count.Equals(other.Count) + this.Count == input.Count || + (this.Count != null && + this.Count.Equals(input.Count)) ) && ( - this.FetchedAt == other.FetchedAt || - this.FetchedAt != null && - this.FetchedAt.Equals(other.FetchedAt) + this.FetchedAt == input.FetchedAt || + (this.FetchedAt != null && + this.FetchedAt.Equals(input.FetchedAt)) ); } @@ -124,23 +115,16 @@ public bool Equals(ShareCount other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Count != null) - hash = hash * 59 + this.Count.GetHashCode(); + hashCode = hashCode * 59 + this.Count.GetHashCode(); if (this.FetchedAt != null) - hash = hash * 59 + this.FetchedAt.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.FetchedAt.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/ShareCounts.cs b/src/Aylien.NewsApi/Model/ShareCounts.cs similarity index 55% rename from src/main/csharp/Aylien.NewsApi/Model/ShareCounts.cs rename to src/Aylien.NewsApi/Model/ShareCounts.cs index 172c78e..7eb2ef1 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/ShareCounts.cs +++ b/src/Aylien.NewsApi/Model/ShareCounts.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,21 +26,21 @@ namespace Aylien.NewsApi.Model /// ShareCounts /// [DataContract] - public partial class ShareCounts : IEquatable, IValidatableObject + public partial class ShareCounts : IEquatable { /// /// Initializes a new instance of the class. /// - /// Facebook shares count. - /// Google Plus shares count. - /// LinkedIn shares count. - /// Reddit shares count. - public ShareCounts(List Facebook = default(List), List GooglePlus = default(List), List Linkedin = default(List), List Reddit = default(List)) + /// Facebook shares count. + /// Google Plus shares count. + /// LinkedIn shares count. + /// Reddit shares count. + public ShareCounts(List facebook = default(List), List googlePlus = default(List), List linkedin = default(List), List reddit = default(List)) { - this.Facebook = Facebook; - this.GooglePlus = GooglePlus; - this.Linkedin = Linkedin; - this.Reddit = Reddit; + this.Facebook = facebook; + this.GooglePlus = googlePlus; + this.Linkedin = linkedin; + this.Reddit = reddit; } /// @@ -58,24 +49,28 @@ public partial class ShareCounts : IEquatable, IValidatableObject /// Facebook shares count [DataMember(Name="facebook", EmitDefaultValue=false)] public List Facebook { get; set; } + /// /// Google Plus shares count /// /// Google Plus shares count [DataMember(Name="google_plus", EmitDefaultValue=false)] public List GooglePlus { get; set; } + /// /// LinkedIn shares count /// /// LinkedIn shares count [DataMember(Name="linkedin", EmitDefaultValue=false)] public List Linkedin { get; set; } + /// /// Reddit shares count /// /// Reddit shares count [DataMember(Name="reddit", EmitDefaultValue=false)] public List Reddit { get; set; } + /// /// Returns the string presentation of the object /// @@ -96,7 +91,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -104,45 +99,47 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as ShareCounts); + return this.Equals(input as ShareCounts); } /// /// Returns true if ShareCounts instances are equal /// - /// Instance of ShareCounts to be compared + /// Instance of ShareCounts to be compared /// Boolean - public bool Equals(ShareCounts other) + public bool Equals(ShareCounts input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Facebook == other.Facebook || + this.Facebook == input.Facebook || this.Facebook != null && - this.Facebook.SequenceEqual(other.Facebook) + input.Facebook != null && + this.Facebook.SequenceEqual(input.Facebook) ) && ( - this.GooglePlus == other.GooglePlus || + this.GooglePlus == input.GooglePlus || this.GooglePlus != null && - this.GooglePlus.SequenceEqual(other.GooglePlus) + input.GooglePlus != null && + this.GooglePlus.SequenceEqual(input.GooglePlus) ) && ( - this.Linkedin == other.Linkedin || + this.Linkedin == input.Linkedin || this.Linkedin != null && - this.Linkedin.SequenceEqual(other.Linkedin) + input.Linkedin != null && + this.Linkedin.SequenceEqual(input.Linkedin) ) && ( - this.Reddit == other.Reddit || + this.Reddit == input.Reddit || this.Reddit != null && - this.Reddit.SequenceEqual(other.Reddit) + input.Reddit != null && + this.Reddit.SequenceEqual(input.Reddit) ); } @@ -152,27 +149,20 @@ public bool Equals(ShareCounts other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Facebook != null) - hash = hash * 59 + this.Facebook.GetHashCode(); + hashCode = hashCode * 59 + this.Facebook.GetHashCode(); if (this.GooglePlus != null) - hash = hash * 59 + this.GooglePlus.GetHashCode(); + hashCode = hashCode * 59 + this.GooglePlus.GetHashCode(); if (this.Linkedin != null) - hash = hash * 59 + this.Linkedin.GetHashCode(); + hashCode = hashCode * 59 + this.Linkedin.GetHashCode(); if (this.Reddit != null) - hash = hash * 59 + this.Reddit.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Reddit.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Source.cs b/src/Aylien.NewsApi/Model/Source.cs similarity index 53% rename from src/main/csharp/Aylien.NewsApi/Model/Source.cs rename to src/Aylien.NewsApi/Model/Source.cs index b1f9e52..6a494c1 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Source.cs +++ b/src/Aylien.NewsApi/Model/Source.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,103 +26,113 @@ namespace Aylien.NewsApi.Model /// Source /// [DataContract] - public partial class Source : IEquatable, IValidatableObject + public partial class Source : IEquatable { /// /// Initializes a new instance of the class. /// - /// The source id which is a unique value. - /// The source name. - /// The title of the home page URL. - /// A general explanation about the source. - /// The number of websites that link to the source. - /// The home page URL of the source. - /// The domain name of the source which is extracted from the source URL. - /// A URL which points to the source logo. - /// The source locations which are tend to be the physical locations of the source, e.g. BBC headquarter is located in London.. - /// The source scopes which is tend to be scope locations of the source, e.g. BBC scopes is international.. - /// The web rankings of the source. - public Source(int? Id = default(int?), string Name = default(string), string Title = default(string), string Description = default(string), int? LinksInCount = default(int?), string HomePageUrl = default(string), string Domain = default(string), string LogoUrl = default(string), List Locations = default(List), List Scopes = default(List), Rankings Rankings = default(Rankings)) + /// A general explanation about the source. + /// The domain name of the source which is extracted from the source URL. + /// The home page URL of the source. + /// The source id which is a unique value. + /// The number of websites that link to the source. + /// The source locations which are tend to be the physical locations of the source, e.g. BBC headquarter is located in London. . + /// A URL which points to the source logo. + /// The source name. + /// rankings. + /// The source scopes which is tend to be scope locations of the source, e.g. BBC scopes is international. . + /// The title of the home page URL. + public Source(string description = default(string), string domain = default(string), string homePageUrl = default(string), int id = default(int), int linksInCount = default(int), List locations = default(List), string logoUrl = default(string), string name = default(string), Rankings rankings = default(Rankings), List scopes = default(List), string title = default(string)) { - this.Id = Id; - this.Name = Name; - this.Title = Title; - this.Description = Description; - this.LinksInCount = LinksInCount; - this.HomePageUrl = HomePageUrl; - this.Domain = Domain; - this.LogoUrl = LogoUrl; - this.Locations = Locations; - this.Scopes = Scopes; - this.Rankings = Rankings; + this.Description = description; + this.Domain = domain; + this.HomePageUrl = homePageUrl; + this.Id = id; + this.LinksInCount = linksInCount; + this.Locations = locations; + this.LogoUrl = logoUrl; + this.Name = name; + this.Rankings = rankings; + this.Scopes = scopes; + this.Title = title; } - /// - /// The source id which is a unique value - /// - /// The source id which is a unique value - [DataMember(Name="id", EmitDefaultValue=false)] - public int? Id { get; set; } - /// - /// The source name - /// - /// The source name - [DataMember(Name="name", EmitDefaultValue=false)] - public string Name { get; set; } - /// - /// The title of the home page URL - /// - /// The title of the home page URL - [DataMember(Name="title", EmitDefaultValue=false)] - public string Title { get; set; } /// /// A general explanation about the source /// /// A general explanation about the source [DataMember(Name="description", EmitDefaultValue=false)] public string Description { get; set; } + /// - /// The number of websites that link to the source + /// The domain name of the source which is extracted from the source URL /// - /// The number of websites that link to the source - [DataMember(Name="links_in_count", EmitDefaultValue=false)] - public int? LinksInCount { get; set; } + /// The domain name of the source which is extracted from the source URL + [DataMember(Name="domain", EmitDefaultValue=false)] + public string Domain { get; set; } + /// /// The home page URL of the source /// /// The home page URL of the source [DataMember(Name="home_page_url", EmitDefaultValue=false)] public string HomePageUrl { get; set; } + /// - /// The domain name of the source which is extracted from the source URL + /// The source id which is a unique value /// - /// The domain name of the source which is extracted from the source URL - [DataMember(Name="domain", EmitDefaultValue=false)] - public string Domain { get; set; } + /// The source id which is a unique value + [DataMember(Name="id", EmitDefaultValue=false)] + public int Id { get; set; } + + /// + /// The number of websites that link to the source + /// + /// The number of websites that link to the source + [DataMember(Name="links_in_count", EmitDefaultValue=false)] + public int LinksInCount { get; set; } + + /// + /// The source locations which are tend to be the physical locations of the source, e.g. BBC headquarter is located in London. + /// + /// The source locations which are tend to be the physical locations of the source, e.g. BBC headquarter is located in London. + [DataMember(Name="locations", EmitDefaultValue=false)] + public List Locations { get; set; } + /// /// A URL which points to the source logo /// /// A URL which points to the source logo [DataMember(Name="logo_url", EmitDefaultValue=false)] public string LogoUrl { get; set; } + + /// + /// The source name + /// + /// The source name + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + /// - /// The source locations which are tend to be the physical locations of the source, e.g. BBC headquarter is located in London. + /// Gets or Sets Rankings /// - /// The source locations which are tend to be the physical locations of the source, e.g. BBC headquarter is located in London. - [DataMember(Name="locations", EmitDefaultValue=false)] - public List Locations { get; set; } + [DataMember(Name="rankings", EmitDefaultValue=false)] + public Rankings Rankings { get; set; } + /// - /// The source scopes which is tend to be scope locations of the source, e.g. BBC scopes is international. + /// The source scopes which is tend to be scope locations of the source, e.g. BBC scopes is international. /// - /// The source scopes which is tend to be scope locations of the source, e.g. BBC scopes is international. + /// The source scopes which is tend to be scope locations of the source, e.g. BBC scopes is international. [DataMember(Name="scopes", EmitDefaultValue=false)] public List Scopes { get; set; } + /// - /// The web rankings of the source + /// The title of the home page URL /// - /// The web rankings of the source - [DataMember(Name="rankings", EmitDefaultValue=false)] - public Rankings Rankings { get; set; } + /// The title of the home page URL + [DataMember(Name="title", EmitDefaultValue=false)] + public string Title { get; set; } + /// /// Returns the string presentation of the object /// @@ -140,17 +141,17 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Source {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" Description: ").Append(Description).Append("\n"); - sb.Append(" LinksInCount: ").Append(LinksInCount).Append("\n"); - sb.Append(" HomePageUrl: ").Append(HomePageUrl).Append("\n"); sb.Append(" Domain: ").Append(Domain).Append("\n"); - sb.Append(" LogoUrl: ").Append(LogoUrl).Append("\n"); + sb.Append(" HomePageUrl: ").Append(HomePageUrl).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" LinksInCount: ").Append(LinksInCount).Append("\n"); sb.Append(" Locations: ").Append(Locations).Append("\n"); - sb.Append(" Scopes: ").Append(Scopes).Append("\n"); + sb.Append(" LogoUrl: ").Append(LogoUrl).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" Rankings: ").Append(Rankings).Append("\n"); + sb.Append(" Scopes: ").Append(Scopes).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -159,7 +160,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -167,80 +168,80 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Source); + return this.Equals(input as Source); } /// /// Returns true if Source instances are equal /// - /// Instance of Source to be compared + /// Instance of Source to be compared /// Boolean - public bool Equals(Source other) + public bool Equals(Source input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) ) && ( - this.Name == other.Name || - this.Name != null && - this.Name.Equals(other.Name) + this.Domain == input.Domain || + (this.Domain != null && + this.Domain.Equals(input.Domain)) ) && ( - this.Title == other.Title || - this.Title != null && - this.Title.Equals(other.Title) + this.HomePageUrl == input.HomePageUrl || + (this.HomePageUrl != null && + this.HomePageUrl.Equals(input.HomePageUrl)) ) && ( - this.Description == other.Description || - this.Description != null && - this.Description.Equals(other.Description) + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) ) && ( - this.LinksInCount == other.LinksInCount || - this.LinksInCount != null && - this.LinksInCount.Equals(other.LinksInCount) + this.LinksInCount == input.LinksInCount || + (this.LinksInCount != null && + this.LinksInCount.Equals(input.LinksInCount)) ) && ( - this.HomePageUrl == other.HomePageUrl || - this.HomePageUrl != null && - this.HomePageUrl.Equals(other.HomePageUrl) + this.Locations == input.Locations || + this.Locations != null && + input.Locations != null && + this.Locations.SequenceEqual(input.Locations) ) && ( - this.Domain == other.Domain || - this.Domain != null && - this.Domain.Equals(other.Domain) + this.LogoUrl == input.LogoUrl || + (this.LogoUrl != null && + this.LogoUrl.Equals(input.LogoUrl)) ) && ( - this.LogoUrl == other.LogoUrl || - this.LogoUrl != null && - this.LogoUrl.Equals(other.LogoUrl) + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) ) && ( - this.Locations == other.Locations || - this.Locations != null && - this.Locations.SequenceEqual(other.Locations) + this.Rankings == input.Rankings || + (this.Rankings != null && + this.Rankings.Equals(input.Rankings)) ) && ( - this.Scopes == other.Scopes || + this.Scopes == input.Scopes || this.Scopes != null && - this.Scopes.SequenceEqual(other.Scopes) + input.Scopes != null && + this.Scopes.SequenceEqual(input.Scopes) ) && ( - this.Rankings == other.Rankings || - this.Rankings != null && - this.Rankings.Equals(other.Rankings) + this.Title == input.Title || + (this.Title != null && + this.Title.Equals(input.Title)) ); } @@ -250,41 +251,34 @@ public bool Equals(Source other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); - if (this.Name != null) - hash = hash * 59 + this.Name.GetHashCode(); - if (this.Title != null) - hash = hash * 59 + this.Title.GetHashCode(); + int hashCode = 41; if (this.Description != null) - hash = hash * 59 + this.Description.GetHashCode(); - if (this.LinksInCount != null) - hash = hash * 59 + this.LinksInCount.GetHashCode(); - if (this.HomePageUrl != null) - hash = hash * 59 + this.HomePageUrl.GetHashCode(); + hashCode = hashCode * 59 + this.Description.GetHashCode(); if (this.Domain != null) - hash = hash * 59 + this.Domain.GetHashCode(); - if (this.LogoUrl != null) - hash = hash * 59 + this.LogoUrl.GetHashCode(); + hashCode = hashCode * 59 + this.Domain.GetHashCode(); + if (this.HomePageUrl != null) + hashCode = hashCode * 59 + this.HomePageUrl.GetHashCode(); + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.LinksInCount != null) + hashCode = hashCode * 59 + this.LinksInCount.GetHashCode(); if (this.Locations != null) - hash = hash * 59 + this.Locations.GetHashCode(); - if (this.Scopes != null) - hash = hash * 59 + this.Scopes.GetHashCode(); + hashCode = hashCode * 59 + this.Locations.GetHashCode(); + if (this.LogoUrl != null) + hashCode = hashCode * 59 + this.LogoUrl.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); if (this.Rankings != null) - hash = hash * 59 + this.Rankings.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Rankings.GetHashCode(); + if (this.Scopes != null) + hashCode = hashCode * 59 + this.Scopes.GetHashCode(); + if (this.Title != null) + hashCode = hashCode * 59 + this.Title.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/Aylien.NewsApi/Model/Stories.cs b/src/Aylien.NewsApi/Model/Stories.cs new file mode 100644 index 0000000..7cc4225 --- /dev/null +++ b/src/Aylien.NewsApi/Model/Stories.cs @@ -0,0 +1,131 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// Stories + /// + [DataContract] + public partial class Stories : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// The next page cursor. + /// An array of stories. + public Stories(string nextPageCursor = default(string), List stories = default(List)) + { + this.NextPageCursor = nextPageCursor; + this._Stories = stories; + } + + /// + /// The next page cursor + /// + /// The next page cursor + [DataMember(Name="next_page_cursor", EmitDefaultValue=false)] + public string NextPageCursor { get; set; } + + /// + /// An array of stories + /// + /// An array of stories + [DataMember(Name="stories", EmitDefaultValue=false)] + public List _Stories { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Stories {\n"); + sb.Append(" NextPageCursor: ").Append(NextPageCursor).Append("\n"); + sb.Append(" _Stories: ").Append(_Stories).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Stories); + } + + /// + /// Returns true if Stories instances are equal + /// + /// Instance of Stories to be compared + /// Boolean + public bool Equals(Stories input) + { + if (input == null) + return false; + + return + ( + this.NextPageCursor == input.NextPageCursor || + (this.NextPageCursor != null && + this.NextPageCursor.Equals(input.NextPageCursor)) + ) && + ( + this._Stories == input._Stories || + this._Stories != null && + input._Stories != null && + this._Stories.SequenceEqual(input._Stories) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.NextPageCursor != null) + hashCode = hashCode * 59 + this.NextPageCursor.GetHashCode(); + if (this._Stories != null) + hashCode = hashCode * 59 + this._Stories.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/Aylien.NewsApi/Model/Story.cs b/src/Aylien.NewsApi/Model/Story.cs new file mode 100644 index 0000000..e12cf9a --- /dev/null +++ b/src/Aylien.NewsApi/Model/Story.cs @@ -0,0 +1,467 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// Story + /// + [DataContract] + public partial class Story : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// author. + /// Body of the story. + /// Suggested categories for the story. + /// Character count of the story body. + /// An array of clusters the story is associated with. + /// entities. + /// An array of suggested Story hashtags. + /// ID of the story which is a unique identification. + /// Extracted keywords mentioned in the story title or body. + /// Language of the story. + /// links. + /// An array of extracted media such as images and videos. + /// Paragraph count of the story body. + /// Published date of the story. + /// Sentence count of the story body. + /// sentiment. + /// socialSharesCount. + /// source. + /// summary. + /// Title of the story. + /// translations. + /// Word count of the story body. + public Story(Author author = default(Author), string body = default(string), List categories = default(List), int charactersCount = default(int), List clusters = default(List), Entities entities = default(Entities), List hashtags = default(List), long id = default(long), List keywords = default(List), string language = default(string), StoryLinks links = default(StoryLinks), List media = default(List), int paragraphsCount = default(int), DateTime publishedAt = default(DateTime), int sentencesCount = default(int), Sentiments sentiment = default(Sentiments), ShareCounts socialSharesCount = default(ShareCounts), Source source = default(Source), Summary summary = default(Summary), string title = default(string), StoryTranslations translations = default(StoryTranslations), int wordsCount = default(int)) + { + this.Author = author; + this.Body = body; + this.Categories = categories; + this.CharactersCount = charactersCount; + this.Clusters = clusters; + this.Entities = entities; + this.Hashtags = hashtags; + this.Id = id; + this.Keywords = keywords; + this.Language = language; + this.Links = links; + this.Media = media; + this.ParagraphsCount = paragraphsCount; + this.PublishedAt = publishedAt; + this.SentencesCount = sentencesCount; + this.Sentiment = sentiment; + this.SocialSharesCount = socialSharesCount; + this.Source = source; + this.Summary = summary; + this.Title = title; + this.Translations = translations; + this.WordsCount = wordsCount; + } + + /// + /// Gets or Sets Author + /// + [DataMember(Name="author", EmitDefaultValue=false)] + public Author Author { get; set; } + + /// + /// Body of the story + /// + /// Body of the story + [DataMember(Name="body", EmitDefaultValue=false)] + public string Body { get; set; } + + /// + /// Suggested categories for the story + /// + /// Suggested categories for the story + [DataMember(Name="categories", EmitDefaultValue=false)] + public List Categories { get; set; } + + /// + /// Character count of the story body + /// + /// Character count of the story body + [DataMember(Name="characters_count", EmitDefaultValue=false)] + public int CharactersCount { get; set; } + + /// + /// An array of clusters the story is associated with + /// + /// An array of clusters the story is associated with + [DataMember(Name="clusters", EmitDefaultValue=false)] + public List Clusters { get; set; } + + /// + /// Gets or Sets Entities + /// + [DataMember(Name="entities", EmitDefaultValue=false)] + public Entities Entities { get; set; } + + /// + /// An array of suggested Story hashtags + /// + /// An array of suggested Story hashtags + [DataMember(Name="hashtags", EmitDefaultValue=false)] + public List Hashtags { get; set; } + + /// + /// ID of the story which is a unique identification + /// + /// ID of the story which is a unique identification + [DataMember(Name="id", EmitDefaultValue=false)] + public long Id { get; set; } + + /// + /// Extracted keywords mentioned in the story title or body + /// + /// Extracted keywords mentioned in the story title or body + [DataMember(Name="keywords", EmitDefaultValue=false)] + public List Keywords { get; set; } + + /// + /// Language of the story + /// + /// Language of the story + [DataMember(Name="language", EmitDefaultValue=false)] + public string Language { get; set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="links", EmitDefaultValue=false)] + public StoryLinks Links { get; set; } + + /// + /// An array of extracted media such as images and videos + /// + /// An array of extracted media such as images and videos + [DataMember(Name="media", EmitDefaultValue=false)] + public List Media { get; set; } + + /// + /// Paragraph count of the story body + /// + /// Paragraph count of the story body + [DataMember(Name="paragraphs_count", EmitDefaultValue=false)] + public int ParagraphsCount { get; set; } + + /// + /// Published date of the story + /// + /// Published date of the story + [DataMember(Name="published_at", EmitDefaultValue=false)] + public DateTime PublishedAt { get; set; } + + /// + /// Sentence count of the story body + /// + /// Sentence count of the story body + [DataMember(Name="sentences_count", EmitDefaultValue=false)] + public int SentencesCount { get; set; } + + /// + /// Gets or Sets Sentiment + /// + [DataMember(Name="sentiment", EmitDefaultValue=false)] + public Sentiments Sentiment { get; set; } + + /// + /// Gets or Sets SocialSharesCount + /// + [DataMember(Name="social_shares_count", EmitDefaultValue=false)] + public ShareCounts SocialSharesCount { get; set; } + + /// + /// Gets or Sets Source + /// + [DataMember(Name="source", EmitDefaultValue=false)] + public Source Source { get; set; } + + /// + /// Gets or Sets Summary + /// + [DataMember(Name="summary", EmitDefaultValue=false)] + public Summary Summary { get; set; } + + /// + /// Title of the story + /// + /// Title of the story + [DataMember(Name="title", EmitDefaultValue=false)] + public string Title { get; set; } + + /// + /// Gets or Sets Translations + /// + [DataMember(Name="translations", EmitDefaultValue=false)] + public StoryTranslations Translations { get; set; } + + /// + /// Word count of the story body + /// + /// Word count of the story body + [DataMember(Name="words_count", EmitDefaultValue=false)] + public int WordsCount { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Story {\n"); + sb.Append(" Author: ").Append(Author).Append("\n"); + sb.Append(" Body: ").Append(Body).Append("\n"); + sb.Append(" Categories: ").Append(Categories).Append("\n"); + sb.Append(" CharactersCount: ").Append(CharactersCount).Append("\n"); + sb.Append(" Clusters: ").Append(Clusters).Append("\n"); + sb.Append(" Entities: ").Append(Entities).Append("\n"); + sb.Append(" Hashtags: ").Append(Hashtags).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Keywords: ").Append(Keywords).Append("\n"); + sb.Append(" Language: ").Append(Language).Append("\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append(" Media: ").Append(Media).Append("\n"); + sb.Append(" ParagraphsCount: ").Append(ParagraphsCount).Append("\n"); + sb.Append(" PublishedAt: ").Append(PublishedAt).Append("\n"); + sb.Append(" SentencesCount: ").Append(SentencesCount).Append("\n"); + sb.Append(" Sentiment: ").Append(Sentiment).Append("\n"); + sb.Append(" SocialSharesCount: ").Append(SocialSharesCount).Append("\n"); + sb.Append(" Source: ").Append(Source).Append("\n"); + sb.Append(" Summary: ").Append(Summary).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); + sb.Append(" Translations: ").Append(Translations).Append("\n"); + sb.Append(" WordsCount: ").Append(WordsCount).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Story); + } + + /// + /// Returns true if Story instances are equal + /// + /// Instance of Story to be compared + /// Boolean + public bool Equals(Story input) + { + if (input == null) + return false; + + return + ( + this.Author == input.Author || + (this.Author != null && + this.Author.Equals(input.Author)) + ) && + ( + this.Body == input.Body || + (this.Body != null && + this.Body.Equals(input.Body)) + ) && + ( + this.Categories == input.Categories || + this.Categories != null && + input.Categories != null && + this.Categories.SequenceEqual(input.Categories) + ) && + ( + this.CharactersCount == input.CharactersCount || + (this.CharactersCount != null && + this.CharactersCount.Equals(input.CharactersCount)) + ) && + ( + this.Clusters == input.Clusters || + this.Clusters != null && + input.Clusters != null && + this.Clusters.SequenceEqual(input.Clusters) + ) && + ( + this.Entities == input.Entities || + (this.Entities != null && + this.Entities.Equals(input.Entities)) + ) && + ( + this.Hashtags == input.Hashtags || + this.Hashtags != null && + input.Hashtags != null && + this.Hashtags.SequenceEqual(input.Hashtags) + ) && + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Keywords == input.Keywords || + this.Keywords != null && + input.Keywords != null && + this.Keywords.SequenceEqual(input.Keywords) + ) && + ( + this.Language == input.Language || + (this.Language != null && + this.Language.Equals(input.Language)) + ) && + ( + this.Links == input.Links || + (this.Links != null && + this.Links.Equals(input.Links)) + ) && + ( + this.Media == input.Media || + this.Media != null && + input.Media != null && + this.Media.SequenceEqual(input.Media) + ) && + ( + this.ParagraphsCount == input.ParagraphsCount || + (this.ParagraphsCount != null && + this.ParagraphsCount.Equals(input.ParagraphsCount)) + ) && + ( + this.PublishedAt == input.PublishedAt || + (this.PublishedAt != null && + this.PublishedAt.Equals(input.PublishedAt)) + ) && + ( + this.SentencesCount == input.SentencesCount || + (this.SentencesCount != null && + this.SentencesCount.Equals(input.SentencesCount)) + ) && + ( + this.Sentiment == input.Sentiment || + (this.Sentiment != null && + this.Sentiment.Equals(input.Sentiment)) + ) && + ( + this.SocialSharesCount == input.SocialSharesCount || + (this.SocialSharesCount != null && + this.SocialSharesCount.Equals(input.SocialSharesCount)) + ) && + ( + this.Source == input.Source || + (this.Source != null && + this.Source.Equals(input.Source)) + ) && + ( + this.Summary == input.Summary || + (this.Summary != null && + this.Summary.Equals(input.Summary)) + ) && + ( + this.Title == input.Title || + (this.Title != null && + this.Title.Equals(input.Title)) + ) && + ( + this.Translations == input.Translations || + (this.Translations != null && + this.Translations.Equals(input.Translations)) + ) && + ( + this.WordsCount == input.WordsCount || + (this.WordsCount != null && + this.WordsCount.Equals(input.WordsCount)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Author != null) + hashCode = hashCode * 59 + this.Author.GetHashCode(); + if (this.Body != null) + hashCode = hashCode * 59 + this.Body.GetHashCode(); + if (this.Categories != null) + hashCode = hashCode * 59 + this.Categories.GetHashCode(); + if (this.CharactersCount != null) + hashCode = hashCode * 59 + this.CharactersCount.GetHashCode(); + if (this.Clusters != null) + hashCode = hashCode * 59 + this.Clusters.GetHashCode(); + if (this.Entities != null) + hashCode = hashCode * 59 + this.Entities.GetHashCode(); + if (this.Hashtags != null) + hashCode = hashCode * 59 + this.Hashtags.GetHashCode(); + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Keywords != null) + hashCode = hashCode * 59 + this.Keywords.GetHashCode(); + if (this.Language != null) + hashCode = hashCode * 59 + this.Language.GetHashCode(); + if (this.Links != null) + hashCode = hashCode * 59 + this.Links.GetHashCode(); + if (this.Media != null) + hashCode = hashCode * 59 + this.Media.GetHashCode(); + if (this.ParagraphsCount != null) + hashCode = hashCode * 59 + this.ParagraphsCount.GetHashCode(); + if (this.PublishedAt != null) + hashCode = hashCode * 59 + this.PublishedAt.GetHashCode(); + if (this.SentencesCount != null) + hashCode = hashCode * 59 + this.SentencesCount.GetHashCode(); + if (this.Sentiment != null) + hashCode = hashCode * 59 + this.Sentiment.GetHashCode(); + if (this.SocialSharesCount != null) + hashCode = hashCode * 59 + this.SocialSharesCount.GetHashCode(); + if (this.Source != null) + hashCode = hashCode * 59 + this.Source.GetHashCode(); + if (this.Summary != null) + hashCode = hashCode * 59 + this.Summary.GetHashCode(); + if (this.Title != null) + hashCode = hashCode * 59 + this.Title.GetHashCode(); + if (this.Translations != null) + hashCode = hashCode * 59 + this.Translations.GetHashCode(); + if (this.WordsCount != null) + hashCode = hashCode * 59 + this.WordsCount.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/main/csharp/Aylien.NewsApi/Model/StoryCluster.cs b/src/Aylien.NewsApi/Model/StoryCluster.cs similarity index 53% rename from src/main/csharp/Aylien.NewsApi/Model/StoryCluster.cs rename to src/Aylien.NewsApi/Model/StoryCluster.cs index 8e1769f..29339dd 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/StoryCluster.cs +++ b/src/Aylien.NewsApi/Model/StoryCluster.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,23 +26,23 @@ namespace Aylien.NewsApi.Model /// StoryCluster /// [DataContract] - public partial class StoryCluster : IEquatable, IValidatableObject + public partial class StoryCluster : IEquatable { /// /// Initializes a new instance of the class. /// - /// A unique identification for the cluster. - /// Suggested labels for the cluster. - /// Size of the cluster. - /// Story ids which are in the cluster. - /// The cluster score. - public StoryCluster(int? Id = default(int?), List Phrases = default(List), int? Size = default(int?), List Stories = default(List), double? Score = default(double?)) + /// A unique identification for the cluster. + /// Suggested labels for the cluster. + /// The cluster score. + /// Size of the cluster. + /// Story ids which are in the cluster. + public StoryCluster(int id = default(int), List phrases = default(List), double score = default(double), int size = default(int), List stories = default(List)) { - this.Id = Id; - this.Phrases = Phrases; - this.Size = Size; - this.Stories = Stories; - this.Score = Score; + this.Id = id; + this.Phrases = phrases; + this.Score = score; + this.Size = size; + this.Stories = stories; } /// @@ -59,31 +50,36 @@ public partial class StoryCluster : IEquatable, IValidatableObjec /// /// A unique identification for the cluster [DataMember(Name="id", EmitDefaultValue=false)] - public int? Id { get; set; } + public int Id { get; set; } + /// /// Suggested labels for the cluster /// /// Suggested labels for the cluster [DataMember(Name="phrases", EmitDefaultValue=false)] public List Phrases { get; set; } + + /// + /// The cluster score + /// + /// The cluster score + [DataMember(Name="score", EmitDefaultValue=false)] + public double Score { get; set; } + /// /// Size of the cluster /// /// Size of the cluster [DataMember(Name="size", EmitDefaultValue=false)] - public int? Size { get; set; } + public int Size { get; set; } + /// /// Story ids which are in the cluster /// /// Story ids which are in the cluster [DataMember(Name="stories", EmitDefaultValue=false)] - public List Stories { get; set; } - /// - /// The cluster score - /// - /// The cluster score - [DataMember(Name="score", EmitDefaultValue=false)] - public double? Score { get; set; } + public List Stories { get; set; } + /// /// Returns the string presentation of the object /// @@ -94,9 +90,9 @@ public override string ToString() sb.Append("class StoryCluster {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Phrases: ").Append(Phrases).Append("\n"); + sb.Append(" Score: ").Append(Score).Append("\n"); sb.Append(" Size: ").Append(Size).Append("\n"); sb.Append(" Stories: ").Append(Stories).Append("\n"); - sb.Append(" Score: ").Append(Score).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -105,7 +101,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -113,50 +109,50 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as StoryCluster); + return this.Equals(input as StoryCluster); } /// /// Returns true if StoryCluster instances are equal /// - /// Instance of StoryCluster to be compared + /// Instance of StoryCluster to be compared /// Boolean - public bool Equals(StoryCluster other) + public bool Equals(StoryCluster input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) ) && ( - this.Phrases == other.Phrases || + this.Phrases == input.Phrases || this.Phrases != null && - this.Phrases.SequenceEqual(other.Phrases) + input.Phrases != null && + this.Phrases.SequenceEqual(input.Phrases) ) && ( - this.Size == other.Size || - this.Size != null && - this.Size.Equals(other.Size) + this.Score == input.Score || + (this.Score != null && + this.Score.Equals(input.Score)) ) && ( - this.Stories == other.Stories || - this.Stories != null && - this.Stories.SequenceEqual(other.Stories) + this.Size == input.Size || + (this.Size != null && + this.Size.Equals(input.Size)) ) && ( - this.Score == other.Score || - this.Score != null && - this.Score.Equals(other.Score) + this.Stories == input.Stories || + this.Stories != null && + input.Stories != null && + this.Stories.SequenceEqual(input.Stories) ); } @@ -166,29 +162,22 @@ public bool Equals(StoryCluster other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); + hashCode = hashCode * 59 + this.Id.GetHashCode(); if (this.Phrases != null) - hash = hash * 59 + this.Phrases.GetHashCode(); + hashCode = hashCode * 59 + this.Phrases.GetHashCode(); + if (this.Score != null) + hashCode = hashCode * 59 + this.Score.GetHashCode(); if (this.Size != null) - hash = hash * 59 + this.Size.GetHashCode(); + hashCode = hashCode * 59 + this.Size.GetHashCode(); if (this.Stories != null) - hash = hash * 59 + this.Stories.GetHashCode(); - if (this.Score != null) - hash = hash * 59 + this.Score.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Stories.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/StoryLinks.cs b/src/Aylien.NewsApi/Model/StoryLinks.cs similarity index 52% rename from src/main/csharp/Aylien.NewsApi/Model/StoryLinks.cs rename to src/Aylien.NewsApi/Model/StoryLinks.cs index d63520c..7a16ec6 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/StoryLinks.cs +++ b/src/Aylien.NewsApi/Model/StoryLinks.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,47 +26,51 @@ namespace Aylien.NewsApi.Model /// StoryLinks /// [DataContract] - public partial class StoryLinks : IEquatable, IValidatableObject + public partial class StoryLinks : IEquatable { /// /// Initializes a new instance of the class. /// - /// The story permalink URL. - /// The related stories URL. - /// The coverages URL. - /// The story canonical URL. - public StoryLinks(string Permalink = default(string), string RelatedStories = default(string), string Coverages = default(string), string Canonical = default(string)) + /// The story canonical URL. + /// The coverages URL. + /// The story permalink URL. + /// The related stories URL. + public StoryLinks(string canonical = default(string), string coverages = default(string), string permalink = default(string), string relatedStories = default(string)) { - this.Permalink = Permalink; - this.RelatedStories = RelatedStories; - this.Coverages = Coverages; - this.Canonical = Canonical; + this.Canonical = canonical; + this.Coverages = coverages; + this.Permalink = permalink; + this.RelatedStories = relatedStories; } + /// + /// The story canonical URL + /// + /// The story canonical URL + [DataMember(Name="canonical", EmitDefaultValue=false)] + public string Canonical { get; set; } + + /// + /// The coverages URL + /// + /// The coverages URL + [DataMember(Name="coverages", EmitDefaultValue=false)] + public string Coverages { get; set; } + /// /// The story permalink URL /// /// The story permalink URL [DataMember(Name="permalink", EmitDefaultValue=false)] public string Permalink { get; set; } + /// /// The related stories URL /// /// The related stories URL [DataMember(Name="related_stories", EmitDefaultValue=false)] public string RelatedStories { get; set; } - /// - /// The coverages URL - /// - /// The coverages URL - [DataMember(Name="coverages", EmitDefaultValue=false)] - public string Coverages { get; set; } - /// - /// The story canonical URL - /// - /// The story canonical URL - [DataMember(Name="canonical", EmitDefaultValue=false)] - public string Canonical { get; set; } + /// /// Returns the string presentation of the object /// @@ -84,10 +79,10 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class StoryLinks {\n"); + sb.Append(" Canonical: ").Append(Canonical).Append("\n"); + sb.Append(" Coverages: ").Append(Coverages).Append("\n"); sb.Append(" Permalink: ").Append(Permalink).Append("\n"); sb.Append(" RelatedStories: ").Append(RelatedStories).Append("\n"); - sb.Append(" Coverages: ").Append(Coverages).Append("\n"); - sb.Append(" Canonical: ").Append(Canonical).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -96,7 +91,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -104,45 +99,43 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as StoryLinks); + return this.Equals(input as StoryLinks); } /// /// Returns true if StoryLinks instances are equal /// - /// Instance of StoryLinks to be compared + /// Instance of StoryLinks to be compared /// Boolean - public bool Equals(StoryLinks other) + public bool Equals(StoryLinks input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Permalink == other.Permalink || - this.Permalink != null && - this.Permalink.Equals(other.Permalink) + this.Canonical == input.Canonical || + (this.Canonical != null && + this.Canonical.Equals(input.Canonical)) ) && ( - this.RelatedStories == other.RelatedStories || - this.RelatedStories != null && - this.RelatedStories.Equals(other.RelatedStories) + this.Coverages == input.Coverages || + (this.Coverages != null && + this.Coverages.Equals(input.Coverages)) ) && ( - this.Coverages == other.Coverages || - this.Coverages != null && - this.Coverages.Equals(other.Coverages) + this.Permalink == input.Permalink || + (this.Permalink != null && + this.Permalink.Equals(input.Permalink)) ) && ( - this.Canonical == other.Canonical || - this.Canonical != null && - this.Canonical.Equals(other.Canonical) + this.RelatedStories == input.RelatedStories || + (this.RelatedStories != null && + this.RelatedStories.Equals(input.RelatedStories)) ); } @@ -152,27 +145,20 @@ public bool Equals(StoryLinks other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; + if (this.Canonical != null) + hashCode = hashCode * 59 + this.Canonical.GetHashCode(); + if (this.Coverages != null) + hashCode = hashCode * 59 + this.Coverages.GetHashCode(); if (this.Permalink != null) - hash = hash * 59 + this.Permalink.GetHashCode(); + hashCode = hashCode * 59 + this.Permalink.GetHashCode(); if (this.RelatedStories != null) - hash = hash * 59 + this.RelatedStories.GetHashCode(); - if (this.Coverages != null) - hash = hash * 59 + this.Coverages.GetHashCode(); - if (this.Canonical != null) - hash = hash * 59 + this.Canonical.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.RelatedStories.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/Aylien.NewsApi/Model/StoryTranslations.cs b/src/Aylien.NewsApi/Model/StoryTranslations.cs new file mode 100644 index 0000000..b74ca75 --- /dev/null +++ b/src/Aylien.NewsApi/Model/StoryTranslations.cs @@ -0,0 +1,112 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// Translations of the story. Each language has it's own key and object + /// + [DataContract] + public partial class StoryTranslations : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// en. + public StoryTranslations(StoryTranslationsEn en = default(StoryTranslationsEn)) + { + this.En = en; + } + + /// + /// Gets or Sets En + /// + [DataMember(Name="en", EmitDefaultValue=false)] + public StoryTranslationsEn En { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class StoryTranslations {\n"); + sb.Append(" En: ").Append(En).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as StoryTranslations); + } + + /// + /// Returns true if StoryTranslations instances are equal + /// + /// Instance of StoryTranslations to be compared + /// Boolean + public bool Equals(StoryTranslations input) + { + if (input == null) + return false; + + return + ( + this.En == input.En || + (this.En != null && + this.En.Equals(input.En)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.En != null) + hashCode = hashCode * 59 + this.En.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/Aylien.NewsApi/Model/StoryTranslationsEn.cs b/src/Aylien.NewsApi/Model/StoryTranslationsEn.cs new file mode 100644 index 0000000..a07b511 --- /dev/null +++ b/src/Aylien.NewsApi/Model/StoryTranslationsEn.cs @@ -0,0 +1,147 @@ +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; + +namespace Aylien.NewsApi.Model +{ + /// + /// StoryTranslationsEn + /// + [DataContract] + public partial class StoryTranslationsEn : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Translation of body. + /// Translation of a concatenation of title and body. + /// Translation of title. + public StoryTranslationsEn(string body = default(string), string text = default(string), string title = default(string)) + { + this.Body = body; + this.Text = text; + this.Title = title; + } + + /// + /// Translation of body + /// + /// Translation of body + [DataMember(Name="body", EmitDefaultValue=false)] + public string Body { get; set; } + + /// + /// Translation of a concatenation of title and body + /// + /// Translation of a concatenation of title and body + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// Translation of title + /// + /// Translation of title + [DataMember(Name="title", EmitDefaultValue=false)] + public string Title { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class StoryTranslationsEn {\n"); + sb.Append(" Body: ").Append(Body).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as StoryTranslationsEn); + } + + /// + /// Returns true if StoryTranslationsEn instances are equal + /// + /// Instance of StoryTranslationsEn to be compared + /// Boolean + public bool Equals(StoryTranslationsEn input) + { + if (input == null) + return false; + + return + ( + this.Body == input.Body || + (this.Body != null && + this.Body.Equals(input.Body)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.Title == input.Title || + (this.Title != null && + this.Title.Equals(input.Title)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Body != null) + hashCode = hashCode * 59 + this.Body.GetHashCode(); + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.Title != null) + hashCode = hashCode * 59 + this.Title.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Summary.cs b/src/Aylien.NewsApi/Model/Summary.cs similarity index 55% rename from src/main/csharp/Aylien.NewsApi/Model/Summary.cs rename to src/Aylien.NewsApi/Model/Summary.cs index bebd5cb..bc524dc 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Summary.cs +++ b/src/Aylien.NewsApi/Model/Summary.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,15 +26,15 @@ namespace Aylien.NewsApi.Model /// Summary /// [DataContract] - public partial class Summary : IEquatable, IValidatableObject + public partial class Summary : IEquatable { /// /// Initializes a new instance of the class. /// - /// An array of the suggested summary sentences. - public Summary(List Sentences = default(List)) + /// An array of the suggested summary sentences. + public Summary(List sentences = default(List)) { - this.Sentences = Sentences; + this.Sentences = sentences; } /// @@ -52,6 +43,7 @@ public partial class Summary : IEquatable, IValidatableObject /// An array of the suggested summary sentences [DataMember(Name="sentences", EmitDefaultValue=false)] public List Sentences { get; set; } + /// /// Returns the string presentation of the object /// @@ -69,7 +61,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -77,30 +69,29 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Summary); + return this.Equals(input as Summary); } /// /// Returns true if Summary instances are equal /// - /// Instance of Summary to be compared + /// Instance of Summary to be compared /// Boolean - public bool Equals(Summary other) + public bool Equals(Summary input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Sentences == other.Sentences || + this.Sentences == input.Sentences || this.Sentences != null && - this.Sentences.SequenceEqual(other.Sentences) + input.Sentences != null && + this.Sentences.SequenceEqual(input.Sentences) ); } @@ -110,21 +101,14 @@ public bool Equals(Summary other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) + int hashCode = 41; if (this.Sentences != null) - hash = hash * 59 + this.Sentences.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Sentences.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/TimeSeries.cs b/src/Aylien.NewsApi/Model/TimeSeries.cs similarity index 52% rename from src/main/csharp/Aylien.NewsApi/Model/TimeSeries.cs rename to src/Aylien.NewsApi/Model/TimeSeries.cs index 73b4d67..ca721cb 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/TimeSeries.cs +++ b/src/Aylien.NewsApi/Model/TimeSeries.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,31 +26,33 @@ namespace Aylien.NewsApi.Model /// TimeSeries /// [DataContract] - public partial class TimeSeries : IEquatable, IValidatableObject + public partial class TimeSeries : IEquatable { /// /// Initializes a new instance of the class. /// - /// The published date of the time series bin. - /// The count of time series bin. - public TimeSeries(DateTime? PublishedAt = default(DateTime?), int? Count = default(int?)) + /// The count of time series bin. + /// The published date of the time series bin. + public TimeSeries(int count = default(int), DateTime publishedAt = default(DateTime)) { - this.PublishedAt = PublishedAt; - this.Count = Count; + this.Count = count; + this.PublishedAt = publishedAt; } - /// - /// The published date of the time series bin - /// - /// The published date of the time series bin - [DataMember(Name="published_at", EmitDefaultValue=false)] - public DateTime? PublishedAt { get; set; } /// /// The count of time series bin /// /// The count of time series bin [DataMember(Name="count", EmitDefaultValue=false)] - public int? Count { get; set; } + public int Count { get; set; } + + /// + /// The published date of the time series bin + /// + /// The published date of the time series bin + [DataMember(Name="published_at", EmitDefaultValue=false)] + public DateTime PublishedAt { get; set; } + /// /// Returns the string presentation of the object /// @@ -68,8 +61,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class TimeSeries {\n"); - sb.Append(" PublishedAt: ").Append(PublishedAt).Append("\n"); sb.Append(" Count: ").Append(Count).Append("\n"); + sb.Append(" PublishedAt: ").Append(PublishedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -78,7 +71,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -86,35 +79,33 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as TimeSeries); + return this.Equals(input as TimeSeries); } /// /// Returns true if TimeSeries instances are equal /// - /// Instance of TimeSeries to be compared + /// Instance of TimeSeries to be compared /// Boolean - public bool Equals(TimeSeries other) + public bool Equals(TimeSeries input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.PublishedAt == other.PublishedAt || - this.PublishedAt != null && - this.PublishedAt.Equals(other.PublishedAt) + this.Count == input.Count || + (this.Count != null && + this.Count.Equals(input.Count)) ) && ( - this.Count == other.Count || - this.Count != null && - this.Count.Equals(other.Count) + this.PublishedAt == input.PublishedAt || + (this.PublishedAt != null && + this.PublishedAt.Equals(input.PublishedAt)) ); } @@ -124,23 +115,16 @@ public bool Equals(TimeSeries other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.PublishedAt != null) - hash = hash * 59 + this.PublishedAt.GetHashCode(); + int hashCode = 41; if (this.Count != null) - hash = hash * 59 + this.Count.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Count.GetHashCode(); + if (this.PublishedAt != null) + hashCode = hashCode * 59 + this.PublishedAt.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/TimeSeriesList.cs b/src/Aylien.NewsApi/Model/TimeSeriesList.cs similarity index 52% rename from src/main/csharp/Aylien.NewsApi/Model/TimeSeriesList.cs rename to src/Aylien.NewsApi/Model/TimeSeriesList.cs index 0c7ace8..3be746b 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/TimeSeriesList.cs +++ b/src/Aylien.NewsApi/Model/TimeSeriesList.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,47 +26,51 @@ namespace Aylien.NewsApi.Model /// TimeSeriesList /// [DataContract] - public partial class TimeSeriesList : IEquatable, IValidatableObject + public partial class TimeSeriesList : IEquatable { /// /// Initializes a new instance of the class. /// - /// An array of time series. - /// The size of each date range expressed as an interval to be added to the lower bound.. - /// The start published date of the time series. - /// The end published date of the time series. - public TimeSeriesList(List TimeSeries = default(List), string Period = default(string), DateTime? PublishedAtStart = default(DateTime?), DateTime? PublishedAtEnd = default(DateTime?)) + /// The size of each date range expressed as an interval to be added to the lower bound. . + /// The end published date of the time series. + /// The start published date of the time series. + /// An array of time series. + public TimeSeriesList(string period = default(string), DateTime publishedAtEnd = default(DateTime), DateTime publishedAtStart = default(DateTime), List timeSeries = default(List)) { - this.TimeSeries = TimeSeries; - this.Period = Period; - this.PublishedAtStart = PublishedAtStart; - this.PublishedAtEnd = PublishedAtEnd; + this.Period = period; + this.PublishedAtEnd = publishedAtEnd; + this.PublishedAtStart = publishedAtStart; + this.TimeSeries = timeSeries; } /// - /// An array of time series - /// - /// An array of time series - [DataMember(Name="time_series", EmitDefaultValue=false)] - public List TimeSeries { get; set; } - /// - /// The size of each date range expressed as an interval to be added to the lower bound. + /// The size of each date range expressed as an interval to be added to the lower bound. /// - /// The size of each date range expressed as an interval to be added to the lower bound. + /// The size of each date range expressed as an interval to be added to the lower bound. [DataMember(Name="period", EmitDefaultValue=false)] public string Period { get; set; } + + /// + /// The end published date of the time series + /// + /// The end published date of the time series + [DataMember(Name="published_at.end", EmitDefaultValue=false)] + public DateTime PublishedAtEnd { get; set; } + /// /// The start published date of the time series /// /// The start published date of the time series [DataMember(Name="published_at.start", EmitDefaultValue=false)] - public DateTime? PublishedAtStart { get; set; } + public DateTime PublishedAtStart { get; set; } + /// - /// The end published date of the time series + /// An array of time series /// - /// The end published date of the time series - [DataMember(Name="published_at.end", EmitDefaultValue=false)] - public DateTime? PublishedAtEnd { get; set; } + /// An array of time series + [DataMember(Name="time_series", EmitDefaultValue=false)] + public List TimeSeries { get; set; } + /// /// Returns the string presentation of the object /// @@ -84,10 +79,10 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class TimeSeriesList {\n"); - sb.Append(" TimeSeries: ").Append(TimeSeries).Append("\n"); sb.Append(" Period: ").Append(Period).Append("\n"); - sb.Append(" PublishedAtStart: ").Append(PublishedAtStart).Append("\n"); sb.Append(" PublishedAtEnd: ").Append(PublishedAtEnd).Append("\n"); + sb.Append(" PublishedAtStart: ").Append(PublishedAtStart).Append("\n"); + sb.Append(" TimeSeries: ").Append(TimeSeries).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -96,7 +91,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -104,45 +99,44 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as TimeSeriesList); + return this.Equals(input as TimeSeriesList); } /// /// Returns true if TimeSeriesList instances are equal /// - /// Instance of TimeSeriesList to be compared + /// Instance of TimeSeriesList to be compared /// Boolean - public bool Equals(TimeSeriesList other) + public bool Equals(TimeSeriesList input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.TimeSeries == other.TimeSeries || - this.TimeSeries != null && - this.TimeSeries.SequenceEqual(other.TimeSeries) + this.Period == input.Period || + (this.Period != null && + this.Period.Equals(input.Period)) ) && ( - this.Period == other.Period || - this.Period != null && - this.Period.Equals(other.Period) + this.PublishedAtEnd == input.PublishedAtEnd || + (this.PublishedAtEnd != null && + this.PublishedAtEnd.Equals(input.PublishedAtEnd)) ) && ( - this.PublishedAtStart == other.PublishedAtStart || - this.PublishedAtStart != null && - this.PublishedAtStart.Equals(other.PublishedAtStart) + this.PublishedAtStart == input.PublishedAtStart || + (this.PublishedAtStart != null && + this.PublishedAtStart.Equals(input.PublishedAtStart)) ) && ( - this.PublishedAtEnd == other.PublishedAtEnd || - this.PublishedAtEnd != null && - this.PublishedAtEnd.Equals(other.PublishedAtEnd) + this.TimeSeries == input.TimeSeries || + this.TimeSeries != null && + input.TimeSeries != null && + this.TimeSeries.SequenceEqual(input.TimeSeries) ); } @@ -152,27 +146,20 @@ public bool Equals(TimeSeriesList other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.TimeSeries != null) - hash = hash * 59 + this.TimeSeries.GetHashCode(); + int hashCode = 41; if (this.Period != null) - hash = hash * 59 + this.Period.GetHashCode(); - if (this.PublishedAtStart != null) - hash = hash * 59 + this.PublishedAtStart.GetHashCode(); + hashCode = hashCode * 59 + this.Period.GetHashCode(); if (this.PublishedAtEnd != null) - hash = hash * 59 + this.PublishedAtEnd.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.PublishedAtEnd.GetHashCode(); + if (this.PublishedAtStart != null) + hashCode = hashCode * 59 + this.PublishedAtStart.GetHashCode(); + if (this.TimeSeries != null) + hashCode = hashCode * 59 + this.TimeSeries.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Trend.cs b/src/Aylien.NewsApi/Model/Trend.cs similarity index 52% rename from src/main/csharp/Aylien.NewsApi/Model/Trend.cs rename to src/Aylien.NewsApi/Model/Trend.cs index c932c80..aa7a755 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Trend.cs +++ b/src/Aylien.NewsApi/Model/Trend.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,31 +26,33 @@ namespace Aylien.NewsApi.Model /// Trend /// [DataContract] - public partial class Trend : IEquatable, IValidatableObject + public partial class Trend : IEquatable { /// /// Initializes a new instance of the class. /// - /// The value of the trend. - /// The count of the trend. - public Trend(string Value = default(string), int? Count = default(int?)) + /// The count of the trend. + /// The value of the trend. + public Trend(int count = default(int), string value = default(string)) { - this.Value = Value; - this.Count = Count; + this.Count = count; + this.Value = value; } + /// + /// The count of the trend + /// + /// The count of the trend + [DataMember(Name="count", EmitDefaultValue=false)] + public int Count { get; set; } + /// /// The value of the trend /// /// The value of the trend [DataMember(Name="value", EmitDefaultValue=false)] public string Value { get; set; } - /// - /// The count of the trend - /// - /// The count of the trend - [DataMember(Name="count", EmitDefaultValue=false)] - public int? Count { get; set; } + /// /// Returns the string presentation of the object /// @@ -68,8 +61,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Trend {\n"); - sb.Append(" Value: ").Append(Value).Append("\n"); sb.Append(" Count: ").Append(Count).Append("\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -78,7 +71,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -86,35 +79,33 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Trend); + return this.Equals(input as Trend); } /// /// Returns true if Trend instances are equal /// - /// Instance of Trend to be compared + /// Instance of Trend to be compared /// Boolean - public bool Equals(Trend other) + public bool Equals(Trend input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this.Value == other.Value || - this.Value != null && - this.Value.Equals(other.Value) + this.Count == input.Count || + (this.Count != null && + this.Count.Equals(input.Count)) ) && ( - this.Count == other.Count || - this.Count != null && - this.Count.Equals(other.Count) + this.Value == input.Value || + (this.Value != null && + this.Value.Equals(input.Value)) ); } @@ -124,23 +115,16 @@ public bool Equals(Trend other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Value != null) - hash = hash * 59 + this.Value.GetHashCode(); + int hashCode = 41; if (this.Count != null) - hash = hash * 59 + this.Count.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Count.GetHashCode(); + if (this.Value != null) + hashCode = hashCode * 59 + this.Value.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/main/csharp/Aylien.NewsApi/Model/Trends.cs b/src/Aylien.NewsApi/Model/Trends.cs similarity index 54% rename from src/main/csharp/Aylien.NewsApi/Model/Trends.cs rename to src/Aylien.NewsApi/Model/Trends.cs index caeb2ee..bf4e517 100644 --- a/src/main/csharp/Aylien.NewsApi/Model/Trends.cs +++ b/src/Aylien.NewsApi/Model/Trends.cs @@ -1,33 +1,24 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion +/* + * AYLIEN News API + * + * The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. + * + * The version of the OpenAPI document: 3.0 + * Contact: support@aylien.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ using System; using System.Linq; using System.IO; using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Aylien.NewsApi.Client.OpenAPIDateConverter; namespace Aylien.NewsApi.Model { @@ -35,31 +26,33 @@ namespace Aylien.NewsApi.Model /// Trends /// [DataContract] - public partial class Trends : IEquatable, IValidatableObject + public partial class Trends : IEquatable { /// /// Initializes a new instance of the class. /// - /// An array of trends. - /// The field of trends. - public Trends(List _Trends = default(List), string Field = default(string)) + /// The field of trends. + /// An array of trends. + public Trends(string field = default(string), List trends = default(List)) { - this._Trends = _Trends; - this.Field = Field; + this.Field = field; + this._Trends = trends; } - /// - /// An array of trends - /// - /// An array of trends - [DataMember(Name="trends", EmitDefaultValue=false)] - public List _Trends { get; set; } /// /// The field of trends /// /// The field of trends [DataMember(Name="field", EmitDefaultValue=false)] public string Field { get; set; } + + /// + /// An array of trends + /// + /// An array of trends + [DataMember(Name="trends", EmitDefaultValue=false)] + public List _Trends { get; set; } + /// /// Returns the string presentation of the object /// @@ -68,8 +61,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class Trends {\n"); - sb.Append(" _Trends: ").Append(_Trends).Append("\n"); sb.Append(" Field: ").Append(Field).Append("\n"); + sb.Append(" _Trends: ").Append(_Trends).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -78,7 +71,7 @@ public override string ToString() /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object - public string ToJson() + public virtual string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } @@ -86,35 +79,34 @@ public string ToJson() /// /// Returns true if objects are equal /// - /// Object to be compared + /// Object to be compared /// Boolean - public override bool Equals(object obj) + public override bool Equals(object input) { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Trends); + return this.Equals(input as Trends); } /// /// Returns true if Trends instances are equal /// - /// Instance of Trends to be compared + /// Instance of Trends to be compared /// Boolean - public bool Equals(Trends other) + public bool Equals(Trends input) { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) + if (input == null) return false; return ( - this._Trends == other._Trends || - this._Trends != null && - this._Trends.SequenceEqual(other._Trends) + this.Field == input.Field || + (this.Field != null && + this.Field.Equals(input.Field)) ) && ( - this.Field == other.Field || - this.Field != null && - this.Field.Equals(other.Field) + this._Trends == input._Trends || + this._Trends != null && + input._Trends != null && + this._Trends.SequenceEqual(input._Trends) ); } @@ -124,23 +116,16 @@ public bool Equals(Trends other) /// Hash code public override int GetHashCode() { - // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this._Trends != null) - hash = hash * 59 + this._Trends.GetHashCode(); + int hashCode = 41; if (this.Field != null) - hash = hash * 59 + this.Field.GetHashCode(); - return hash; + hashCode = hashCode * 59 + this.Field.GetHashCode(); + if (this._Trends != null) + hashCode = hashCode * 59 + this._Trends.GetHashCode(); + return hashCode; } } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } } } diff --git a/src/Aylien.NewsApi/Properties/AssemblyInfo.cs b/src/Aylien.NewsApi/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..907d494 --- /dev/null +++ b/src/Aylien.NewsApi/Properties/AssemblyInfo.cs @@ -0,0 +1,32 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("OpenAPI Library")] +[assembly: AssemblyDescription("A library generated from a OpenAPI doc")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("OpenAPI")] +[assembly: AssemblyProduct("OpenAPILibrary")] +[assembly: AssemblyCopyright("No Copyright")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("3.0.0")] +[assembly: AssemblyFileVersion("3.0.0")] diff --git a/src/Aylien.NewsApi/project.json b/src/Aylien.NewsApi/project.json new file mode 100644 index 0000000..b06adc0 --- /dev/null +++ b/src/Aylien.NewsApi/project.json @@ -0,0 +1,12 @@ +{ + "supports": {}, + "dependencies": { + "FubarCoder.RestSharp.Portable.Core": "4.0.7", + "FubarCoder.RestSharp.Portable.HttpClient": "4.0.7", + "Newtonsoft.Json": "12.0.1", + "JsonSubTypes": "1.5.2" + }, + "frameworks": { + "netstandard1.3": {} + } +} diff --git a/src/main/csharp/Aylien.NewsApi/Aylien.NewsApi.csproj b/src/main/csharp/Aylien.NewsApi/Aylien.NewsApi.csproj deleted file mode 100644 index da5e425..0000000 --- a/src/main/csharp/Aylien.NewsApi/Aylien.NewsApi.csproj +++ /dev/null @@ -1,78 +0,0 @@ - - - - - Debug - AnyCPU - E6B1EB66-7795-475A-BA07-E81615448DFF - Library - Properties - Aylien.NewsApi - Aylien.NewsApi - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - $(SolutionDir)\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll - ..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll - ..\..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll - ..\..\..\..\vendor\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll - - - $(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll - ..\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll - ..\..\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll - ..\..\..\..\vendor\RestSharp.105.1.0\lib\net45\RestSharp.dll - - - - - - - - - - - - diff --git a/src/main/csharp/Aylien.NewsApi/Client/Configuration.cs b/src/main/csharp/Aylien.NewsApi/Client/Configuration.cs deleted file mode 100644 index 26e1fa7..0000000 --- a/src/main/csharp/Aylien.NewsApi/Client/Configuration.cs +++ /dev/null @@ -1,342 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - -using System; -using System.Reflection; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; - -namespace Aylien.NewsApi.Client -{ - /// - /// Represents a set of configuration settings - /// - public class Configuration - { - /// - /// Initializes a new instance of the Configuration class with different settings - /// - /// Api client - /// Dictionary of default HTTP header - /// Username - /// Password - /// accessToken - /// Dictionary of API key - /// Dictionary of API key prefix - /// Temp folder path - /// DateTime format string - /// HTTP connection timeout (in milliseconds) - /// HTTP user agent - public Configuration(ApiClient apiClient = null, - Dictionary defaultHeader = null, - string username = null, - string password = null, - string accessToken = null, - Dictionary apiKey = null, - Dictionary apiKeyPrefix = null, - string tempFolderPath = null, - string dateTimeFormat = null, - int timeout = 100000, - string userAgent = "aylien-news-api/2.0.0/csharp" - ) - { - setApiClientUsingDefault(apiClient); - - Username = username; - Password = password; - AccessToken = accessToken; - UserAgent = userAgent; - - if (defaultHeader != null) - DefaultHeader = defaultHeader; - if (apiKey != null) - ApiKey = apiKey; - if (apiKeyPrefix != null) - ApiKeyPrefix = apiKeyPrefix; - - TempFolderPath = tempFolderPath; - DateTimeFormat = dateTimeFormat; - Timeout = timeout; - } - - /// - /// Initializes a new instance of the Configuration class. - /// - /// Api client. - public Configuration(ApiClient apiClient) - { - setApiClientUsingDefault(apiClient); - } - - /// - /// Version of the package. - /// - /// Version of the package. - public const string Version = "2.0.0"; - - /// - /// Gets or sets the default Configuration. - /// - /// Configuration. - public static Configuration Default = new Configuration(); - - /// - /// Default creation of exceptions for a given method name and response object - /// - public static readonly ExceptionFactory DefaultExceptionFactory = (methodName, response) => - { - int status = (int) response.StatusCode; - if (status >= 400) return new ApiException(status, String.Format("Error calling {0}: {1}", methodName, response.Content), response.Content); - if (status == 0) return new ApiException(status, String.Format("Error calling {0}: {1}", methodName, response.ErrorMessage), response.ErrorMessage); - return null; - }; - - /// - /// Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds. - /// - /// Timeout. - public int Timeout - { - get { return ApiClient.RestClient.Timeout; } - - set - { - if (ApiClient != null) - ApiClient.RestClient.Timeout = value; - } - } - - /// - /// Gets or sets the default API client for making HTTP calls. - /// - /// The API client. - public ApiClient ApiClient; - - /// - /// Set the ApiClient using Default or ApiClient instance. - /// - /// An instance of ApiClient. - /// - public void setApiClientUsingDefault (ApiClient apiClient = null) - { - if (apiClient == null) - { - if (Default != null && Default.ApiClient == null) - Default.ApiClient = new ApiClient(); - - ApiClient = Default != null ? Default.ApiClient : new ApiClient(); - } - else - { - if (Default != null && Default.ApiClient == null) - Default.ApiClient = apiClient; - - ApiClient = apiClient; - } - } - - private Dictionary _defaultHeaderMap = new Dictionary(); - - /// - /// Gets or sets the default header. - /// - public Dictionary DefaultHeader - { - get { return _defaultHeaderMap; } - - set - { - _defaultHeaderMap = value; - } - } - - /// - /// Add default header. - /// - /// Header field name. - /// Header field value. - /// - public void AddDefaultHeader(string key, string value) - { - _defaultHeaderMap[key] = value; - } - - /// - /// Add Api Key Header. - /// - /// Api Key name. - /// Api Key value. - /// - public void AddApiKey(string key, string value) - { - ApiKey[key] = value; - } - - /// - /// Sets the API key prefix. - /// - /// Api Key name. - /// Api Key value. - public void AddApiKeyPrefix(string key, string value) - { - ApiKeyPrefix[key] = value; - } - - /// - /// Gets or sets the HTTP user agent. - /// - /// Http user agent. - public String UserAgent { get; set; } - - /// - /// Gets or sets the username (HTTP basic authentication). - /// - /// The username. - public String Username { get; set; } - - /// - /// Gets or sets the password (HTTP basic authentication). - /// - /// The password. - public String Password { get; set; } - - /// - /// Gets or sets the access token for OAuth2 authentication. - /// - /// The access token. - public String AccessToken { get; set; } - - /// - /// Gets or sets the API key based on the authentication name. - /// - /// The API key. - public Dictionary ApiKey = new Dictionary(); - - /// - /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. - /// - /// The prefix of the API key. - public Dictionary ApiKeyPrefix = new Dictionary(); - - /// - /// Get the API key with prefix. - /// - /// API key identifier (authentication scheme). - /// API key with prefix. - public string GetApiKeyWithPrefix (string apiKeyIdentifier) - { - var apiKeyValue = ""; - ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); - var apiKeyPrefix = ""; - if (ApiKeyPrefix.TryGetValue (apiKeyIdentifier, out apiKeyPrefix)) - return apiKeyPrefix + " " + apiKeyValue; - else - return apiKeyValue; - } - - private string _tempFolderPath; - - /// - /// Gets or sets the temporary folder path to store the files downloaded from the server. - /// - /// Folder path. - public String TempFolderPath - { - get - { - // default to Path.GetTempPath() if _tempFolderPath is not set - if (String.IsNullOrEmpty(_tempFolderPath)) - { - _tempFolderPath = Path.GetTempPath(); - } - return _tempFolderPath; - } - - set - { - if (String.IsNullOrEmpty(value)) - { - _tempFolderPath = value; - return; - } - - // create the directory if it does not exist - if (!Directory.Exists(value)) - Directory.CreateDirectory(value); - - // check if the path contains directory separator at the end - if (value[value.Length - 1] == Path.DirectorySeparatorChar) - _tempFolderPath = value; - else - _tempFolderPath = value + Path.DirectorySeparatorChar; - } - } - - private const string ISO8601_DATETIME_FORMAT = "o"; - - private string _dateTimeFormat = ISO8601_DATETIME_FORMAT; - - /// - /// Gets or sets the the date time format used when serializing in the ApiClient - /// By default, it's set to ISO 8601 - "o", for others see: - /// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx - /// and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx - /// No validation is done to ensure that the string you're providing is valid - /// - /// The DateTimeFormat string - public String DateTimeFormat - { - get - { - return _dateTimeFormat; - } - set - { - if (string.IsNullOrEmpty(value)) - { - // Never allow a blank or null string, go back to the default - _dateTimeFormat = ISO8601_DATETIME_FORMAT; - return; - } - - // Caution, no validation when you choose date time format other than ISO 8601 - // Take a look at the above links - _dateTimeFormat = value; - } - } - - /// - /// Returns a string with essential information for debugging. - /// - public static String ToDebugReport() - { - String report = "C# SDK (Aylien.NewsApi) Debug Report:\n"; - report += " OS: " + Environment.OSVersion + "\n"; - report += " .NET Framework Version: " + Assembly - .GetExecutingAssembly() - .GetReferencedAssemblies() - .Where(x => x.Name == "System.Core").First().Version.ToString() + "\n"; - report += " Version of the API: 1.0\n"; - report += " SDK Package Version: 2.0.0\n"; - - return report; - } - } -} diff --git a/src/main/csharp/Aylien.NewsApi/Client/ExceptionFactory.cs b/src/main/csharp/Aylien.NewsApi/Client/ExceptionFactory.cs deleted file mode 100644 index 9d54dfa..0000000 --- a/src/main/csharp/Aylien.NewsApi/Client/ExceptionFactory.cs +++ /dev/null @@ -1,32 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - - -using System; -using RestSharp; - -namespace Aylien.NewsApi.Client -{ - /// - /// A delegate to ExceptionFactory method - /// - /// Method name - /// Response - /// Exceptions - public delegate Exception ExceptionFactory(string methodName, IRestResponse response); -} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Coverages.cs b/src/main/csharp/Aylien.NewsApi/Model/Coverages.cs deleted file mode 100644 index 1906722..0000000 --- a/src/main/csharp/Aylien.NewsApi/Model/Coverages.cs +++ /dev/null @@ -1,210 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - -using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Runtime.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; - -namespace Aylien.NewsApi.Model -{ - /// - /// Coverages - /// - [DataContract] - public partial class Coverages : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// The input story title. - /// The input story body. - /// The input story published date. - /// The input story language. - /// An array of coverages for the input story. - /// An array of clusters. - public Coverages(string StoryTitle = default(string), string StoryBody = default(string), DateTime? StoryPublishedAt = default(DateTime?), string StoryLanguage = default(string), List _Coverages = default(List), List Clusters = default(List)) - { - this.StoryTitle = StoryTitle; - this.StoryBody = StoryBody; - this.StoryPublishedAt = StoryPublishedAt; - this.StoryLanguage = StoryLanguage; - this._Coverages = _Coverages; - this.Clusters = Clusters; - } - - /// - /// The input story title - /// - /// The input story title - [DataMember(Name="story_title", EmitDefaultValue=false)] - public string StoryTitle { get; set; } - /// - /// The input story body - /// - /// The input story body - [DataMember(Name="story_body", EmitDefaultValue=false)] - public string StoryBody { get; set; } - /// - /// The input story published date - /// - /// The input story published date - [DataMember(Name="story_published_at", EmitDefaultValue=false)] - public DateTime? StoryPublishedAt { get; set; } - /// - /// The input story language - /// - /// The input story language - [DataMember(Name="story_language", EmitDefaultValue=false)] - public string StoryLanguage { get; set; } - /// - /// An array of coverages for the input story - /// - /// An array of coverages for the input story - [DataMember(Name="coverages", EmitDefaultValue=false)] - public List _Coverages { get; set; } - /// - /// An array of clusters - /// - /// An array of clusters - [DataMember(Name="clusters", EmitDefaultValue=false)] - public List Clusters { get; set; } - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class Coverages {\n"); - sb.Append(" StoryTitle: ").Append(StoryTitle).Append("\n"); - sb.Append(" StoryBody: ").Append(StoryBody).Append("\n"); - sb.Append(" StoryPublishedAt: ").Append(StoryPublishedAt).Append("\n"); - sb.Append(" StoryLanguage: ").Append(StoryLanguage).Append("\n"); - sb.Append(" _Coverages: ").Append(_Coverages).Append("\n"); - sb.Append(" Clusters: ").Append(Clusters).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public string ToJson() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - - /// - /// Returns true if objects are equal - /// - /// Object to be compared - /// Boolean - public override bool Equals(object obj) - { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Coverages); - } - - /// - /// Returns true if Coverages instances are equal - /// - /// Instance of Coverages to be compared - /// Boolean - public bool Equals(Coverages other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this.StoryTitle == other.StoryTitle || - this.StoryTitle != null && - this.StoryTitle.Equals(other.StoryTitle) - ) && - ( - this.StoryBody == other.StoryBody || - this.StoryBody != null && - this.StoryBody.Equals(other.StoryBody) - ) && - ( - this.StoryPublishedAt == other.StoryPublishedAt || - this.StoryPublishedAt != null && - this.StoryPublishedAt.Equals(other.StoryPublishedAt) - ) && - ( - this.StoryLanguage == other.StoryLanguage || - this.StoryLanguage != null && - this.StoryLanguage.Equals(other.StoryLanguage) - ) && - ( - this._Coverages == other._Coverages || - this._Coverages != null && - this._Coverages.SequenceEqual(other._Coverages) - ) && - ( - this.Clusters == other.Clusters || - this.Clusters != null && - this.Clusters.SequenceEqual(other.Clusters) - ); - } - - /// - /// Gets the hash code - /// - /// Hash code - public override int GetHashCode() - { - // credit: http://stackoverflow.com/a/263416/677735 - unchecked // Overflow is fine, just wrap - { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.StoryTitle != null) - hash = hash * 59 + this.StoryTitle.GetHashCode(); - if (this.StoryBody != null) - hash = hash * 59 + this.StoryBody.GetHashCode(); - if (this.StoryPublishedAt != null) - hash = hash * 59 + this.StoryPublishedAt.GetHashCode(); - if (this.StoryLanguage != null) - hash = hash * 59 + this.StoryLanguage.GetHashCode(); - if (this._Coverages != null) - hash = hash * 59 + this._Coverages.GetHashCode(); - if (this.Clusters != null) - hash = hash * 59 + this.Clusters.GetHashCode(); - return hash; - } - } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Entity.cs b/src/main/csharp/Aylien.NewsApi/Model/Entity.cs deleted file mode 100644 index 8b1aec1..0000000 --- a/src/main/csharp/Aylien.NewsApi/Model/Entity.cs +++ /dev/null @@ -1,206 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - -using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Runtime.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; - -namespace Aylien.NewsApi.Model -{ - /// - /// Entity - /// - [DataContract] - public partial class Entity : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// The entity text. - /// The entity score. - /// An array of the dbpedia types. - /// Related links to the entity. - /// The indices of the entity text. - public Entity(string Text = default(string), double? Score = default(double?), List Types = default(List), EntityLinks Links = default(EntityLinks), List> Indices = default(List>)) - { - this.Text = Text; - this.Score = Score; - this.Types = Types; - this.Links = Links; - this.Indices = Indices; - } - - /// - /// The entity text - /// - /// The entity text - [DataMember(Name="text", EmitDefaultValue=false)] - public string Text { get; set; } - /// - /// The entity score - /// - /// The entity score - [DataMember(Name="score", EmitDefaultValue=false)] - public double? Score { get; set; } - /// - /// An array of the dbpedia types - /// - /// An array of the dbpedia types - [DataMember(Name="types", EmitDefaultValue=false)] - public List Types { get; set; } - /// - /// Related links to the entity - /// - /// Related links to the entity - [DataMember(Name="links", EmitDefaultValue=false)] - public EntityLinks Links { get; set; } - /// - /// The indices of the entity text - /// - /// The indices of the entity text - [DataMember(Name="indices", EmitDefaultValue=false)] - public List> Indices { get; set; } - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class Entity {\n"); - sb.Append(" Text: ").Append(Text).Append("\n"); - sb.Append(" Score: ").Append(Score).Append("\n"); - sb.Append(" Types: ").Append(Types).Append("\n"); - sb.Append(" Links: ").Append(Links).Append("\n"); - sb.Append(" Indices: ").Append(Indices).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public string ToJson() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - - /// - /// Returns true if objects are equal - /// - /// Object to be compared - /// Boolean - public override bool Equals(object obj) - { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Entity); - } - - /// - /// Returns true if Entity instances are equal - /// - /// Instance of Entity to be compared - /// Boolean - public bool Equals(Entity other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this.Text == other.Text || - this.Text != null && - this.Text.Equals(other.Text) - ) && - ( - this.Score == other.Score || - this.Score != null && - this.Score.Equals(other.Score) - ) && - ( - this.Types == other.Types || - this.Types != null && - this.Types.SequenceEqual(other.Types) - ) && - ( - this.Links == other.Links || - this.Links != null && - this.Links.Equals(other.Links) - ) && - ( - this.Indices == other.Indices || - this.Indices != null && - this.Indices.SequenceEqual(other.Indices) - ); - } - - /// - /// Gets the hash code - /// - /// Hash code - public override int GetHashCode() - { - // credit: http://stackoverflow.com/a/263416/677735 - unchecked // Overflow is fine, just wrap - { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Text != null) - hash = hash * 59 + this.Text.GetHashCode(); - if (this.Score != null) - hash = hash * 59 + this.Score.GetHashCode(); - if (this.Types != null) - hash = hash * 59 + this.Types.GetHashCode(); - if (this.Links != null) - hash = hash * 59 + this.Links.GetHashCode(); - if (this.Indices != null) - hash = hash * 59 + this.Indices.GetHashCode(); - return hash; - } - } - - public IEnumerable Validate(ValidationContext validationContext) - { - // Score (double?) maximum - if(this.Score > (double?)1) - { - yield return new ValidationResult("Invalid value for Score, must be a value less than or equal to 1.", new [] { "Score" }); - } - - // Score (double?) minimum - if(this.Score < (double?)0) - { - yield return new ValidationResult("Invalid value for Score, must be a value greater than or equal to 0.", new [] { "Score" }); - } - - yield break; - } - } - -} diff --git a/src/main/csharp/Aylien.NewsApi/Model/RelatedStories.cs b/src/main/csharp/Aylien.NewsApi/Model/RelatedStories.cs deleted file mode 100644 index f995e54..0000000 --- a/src/main/csharp/Aylien.NewsApi/Model/RelatedStories.cs +++ /dev/null @@ -1,194 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - -using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Runtime.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; - -namespace Aylien.NewsApi.Model -{ - /// - /// RelatedStories - /// - [DataContract] - public partial class RelatedStories : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// The input story title. - /// The input story body. - /// The input story language. - /// An array of related stories for the input story. - /// An array of clusters. - public RelatedStories(string StoryTitle = default(string), string StoryBody = default(string), string StoryLanguage = default(string), List _RelatedStories = default(List), List Clusters = default(List)) - { - this.StoryTitle = StoryTitle; - this.StoryBody = StoryBody; - this.StoryLanguage = StoryLanguage; - this._RelatedStories = _RelatedStories; - this.Clusters = Clusters; - } - - /// - /// The input story title - /// - /// The input story title - [DataMember(Name="story_title", EmitDefaultValue=false)] - public string StoryTitle { get; set; } - /// - /// The input story body - /// - /// The input story body - [DataMember(Name="story_body", EmitDefaultValue=false)] - public string StoryBody { get; set; } - /// - /// The input story language - /// - /// The input story language - [DataMember(Name="story_language", EmitDefaultValue=false)] - public string StoryLanguage { get; set; } - /// - /// An array of related stories for the input story - /// - /// An array of related stories for the input story - [DataMember(Name="related_stories", EmitDefaultValue=false)] - public List _RelatedStories { get; set; } - /// - /// An array of clusters - /// - /// An array of clusters - [DataMember(Name="clusters", EmitDefaultValue=false)] - public List Clusters { get; set; } - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class RelatedStories {\n"); - sb.Append(" StoryTitle: ").Append(StoryTitle).Append("\n"); - sb.Append(" StoryBody: ").Append(StoryBody).Append("\n"); - sb.Append(" StoryLanguage: ").Append(StoryLanguage).Append("\n"); - sb.Append(" _RelatedStories: ").Append(_RelatedStories).Append("\n"); - sb.Append(" Clusters: ").Append(Clusters).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public string ToJson() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - - /// - /// Returns true if objects are equal - /// - /// Object to be compared - /// Boolean - public override bool Equals(object obj) - { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as RelatedStories); - } - - /// - /// Returns true if RelatedStories instances are equal - /// - /// Instance of RelatedStories to be compared - /// Boolean - public bool Equals(RelatedStories other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this.StoryTitle == other.StoryTitle || - this.StoryTitle != null && - this.StoryTitle.Equals(other.StoryTitle) - ) && - ( - this.StoryBody == other.StoryBody || - this.StoryBody != null && - this.StoryBody.Equals(other.StoryBody) - ) && - ( - this.StoryLanguage == other.StoryLanguage || - this.StoryLanguage != null && - this.StoryLanguage.Equals(other.StoryLanguage) - ) && - ( - this._RelatedStories == other._RelatedStories || - this._RelatedStories != null && - this._RelatedStories.SequenceEqual(other._RelatedStories) - ) && - ( - this.Clusters == other.Clusters || - this.Clusters != null && - this.Clusters.SequenceEqual(other.Clusters) - ); - } - - /// - /// Gets the hash code - /// - /// Hash code - public override int GetHashCode() - { - // credit: http://stackoverflow.com/a/263416/677735 - unchecked // Overflow is fine, just wrap - { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.StoryTitle != null) - hash = hash * 59 + this.StoryTitle.GetHashCode(); - if (this.StoryBody != null) - hash = hash * 59 + this.StoryBody.GetHashCode(); - if (this.StoryLanguage != null) - hash = hash * 59 + this.StoryLanguage.GetHashCode(); - if (this._RelatedStories != null) - hash = hash * 59 + this._RelatedStories.GetHashCode(); - if (this.Clusters != null) - hash = hash * 59 + this.Clusters.GetHashCode(); - return hash; - } - } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Sentiments.cs b/src/main/csharp/Aylien.NewsApi/Model/Sentiments.cs deleted file mode 100644 index 508ab7a..0000000 --- a/src/main/csharp/Aylien.NewsApi/Model/Sentiments.cs +++ /dev/null @@ -1,146 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - -using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Runtime.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; - -namespace Aylien.NewsApi.Model -{ - /// - /// Sentiments - /// - [DataContract] - public partial class Sentiments : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// The sentiment for the story title. - /// The sentiment for the story body. - public Sentiments(Sentiment Title = default(Sentiment), Sentiment Body = default(Sentiment)) - { - this.Title = Title; - this.Body = Body; - } - - /// - /// The sentiment for the story title - /// - /// The sentiment for the story title - [DataMember(Name="title", EmitDefaultValue=false)] - public Sentiment Title { get; set; } - /// - /// The sentiment for the story body - /// - /// The sentiment for the story body - [DataMember(Name="body", EmitDefaultValue=false)] - public Sentiment Body { get; set; } - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class Sentiments {\n"); - sb.Append(" Title: ").Append(Title).Append("\n"); - sb.Append(" Body: ").Append(Body).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public string ToJson() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - - /// - /// Returns true if objects are equal - /// - /// Object to be compared - /// Boolean - public override bool Equals(object obj) - { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Sentiments); - } - - /// - /// Returns true if Sentiments instances are equal - /// - /// Instance of Sentiments to be compared - /// Boolean - public bool Equals(Sentiments other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this.Title == other.Title || - this.Title != null && - this.Title.Equals(other.Title) - ) && - ( - this.Body == other.Body || - this.Body != null && - this.Body.Equals(other.Body) - ); - } - - /// - /// Gets the hash code - /// - /// Hash code - public override int GetHashCode() - { - // credit: http://stackoverflow.com/a/263416/677735 - unchecked // Overflow is fine, just wrap - { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Title != null) - hash = hash * 59 + this.Title.GetHashCode(); - if (this.Body != null) - hash = hash * 59 + this.Body.GetHashCode(); - return hash; - } - } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Stories.cs b/src/main/csharp/Aylien.NewsApi/Model/Stories.cs deleted file mode 100644 index 9ffc660..0000000 --- a/src/main/csharp/Aylien.NewsApi/Model/Stories.cs +++ /dev/null @@ -1,162 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - -using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Runtime.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; - -namespace Aylien.NewsApi.Model -{ - /// - /// Stories - /// - [DataContract] - public partial class Stories : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// An array of stories. - /// An array of clusters. - /// The next page cursor. - public Stories(List _Stories = default(List), List Clusters = default(List), string NextPageCursor = default(string)) - { - this._Stories = _Stories; - this.Clusters = Clusters; - this.NextPageCursor = NextPageCursor; - } - - /// - /// An array of stories - /// - /// An array of stories - [DataMember(Name="stories", EmitDefaultValue=false)] - public List _Stories { get; set; } - /// - /// An array of clusters - /// - /// An array of clusters - [DataMember(Name="clusters", EmitDefaultValue=false)] - public List Clusters { get; set; } - /// - /// The next page cursor - /// - /// The next page cursor - [DataMember(Name="next_page_cursor", EmitDefaultValue=false)] - public string NextPageCursor { get; set; } - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class Stories {\n"); - sb.Append(" _Stories: ").Append(_Stories).Append("\n"); - sb.Append(" Clusters: ").Append(Clusters).Append("\n"); - sb.Append(" NextPageCursor: ").Append(NextPageCursor).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public string ToJson() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - - /// - /// Returns true if objects are equal - /// - /// Object to be compared - /// Boolean - public override bool Equals(object obj) - { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Stories); - } - - /// - /// Returns true if Stories instances are equal - /// - /// Instance of Stories to be compared - /// Boolean - public bool Equals(Stories other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this._Stories == other._Stories || - this._Stories != null && - this._Stories.SequenceEqual(other._Stories) - ) && - ( - this.Clusters == other.Clusters || - this.Clusters != null && - this.Clusters.SequenceEqual(other.Clusters) - ) && - ( - this.NextPageCursor == other.NextPageCursor || - this.NextPageCursor != null && - this.NextPageCursor.Equals(other.NextPageCursor) - ); - } - - /// - /// Gets the hash code - /// - /// Hash code - public override int GetHashCode() - { - // credit: http://stackoverflow.com/a/263416/677735 - unchecked // Overflow is fine, just wrap - { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this._Stories != null) - hash = hash * 59 + this._Stories.GetHashCode(); - if (this.Clusters != null) - hash = hash * 59 + this.Clusters.GetHashCode(); - if (this.NextPageCursor != null) - hash = hash * 59 + this.NextPageCursor.GetHashCode(); - return hash; - } - } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/main/csharp/Aylien.NewsApi/Model/Story.cs b/src/main/csharp/Aylien.NewsApi/Model/Story.cs deleted file mode 100644 index 6d1acc0..0000000 --- a/src/main/csharp/Aylien.NewsApi/Model/Story.cs +++ /dev/null @@ -1,434 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - -using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Runtime.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using System.ComponentModel.DataAnnotations; - -namespace Aylien.NewsApi.Model -{ - /// - /// Story - /// - [DataContract] - public partial class Story : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// ID of the story which is a unique identification. - /// Title of the story. - /// Body of the story. - /// The suggested story summary. - /// The story source. - /// The story author. - /// Extracted entities from the story title or body. - /// Extracted keywords mentioned in the story title or body. - /// An array of suggested Story hashtags. - /// Character count of the story body. - /// Word count of the story body. - /// Sentence count of the story body. - /// Paragraph count of the story body. - /// Suggested categories for the story. - /// Social shares count for the story. - /// An array of extracted media such as images and videos. - /// Suggested sentiments for the story title or body. - /// Language of the story. - /// Published date of the story. - /// Links which is related to the story. - public Story(long? Id = default(long?), string Title = default(string), string Body = default(string), Summary Summary = default(Summary), Source Source = default(Source), Author Author = default(Author), Entities Entities = default(Entities), List Keywords = default(List), List Hashtags = default(List), int? CharactersCount = default(int?), int? WordsCount = default(int?), int? SentencesCount = default(int?), int? ParagraphsCount = default(int?), List Categories = default(List), ShareCounts SocialSharesCount = default(ShareCounts), List Media = default(List), Sentiments Sentiment = default(Sentiments), string Language = default(string), DateTime? PublishedAt = default(DateTime?), StoryLinks Links = default(StoryLinks)) - { - this.Id = Id; - this.Title = Title; - this.Body = Body; - this.Summary = Summary; - this.Source = Source; - this.Author = Author; - this.Entities = Entities; - this.Keywords = Keywords; - this.Hashtags = Hashtags; - this.CharactersCount = CharactersCount; - this.WordsCount = WordsCount; - this.SentencesCount = SentencesCount; - this.ParagraphsCount = ParagraphsCount; - this.Categories = Categories; - this.SocialSharesCount = SocialSharesCount; - this.Media = Media; - this.Sentiment = Sentiment; - this.Language = Language; - this.PublishedAt = PublishedAt; - this.Links = Links; - } - - /// - /// ID of the story which is a unique identification - /// - /// ID of the story which is a unique identification - [DataMember(Name="id", EmitDefaultValue=false)] - public long? Id { get; set; } - /// - /// Title of the story - /// - /// Title of the story - [DataMember(Name="title", EmitDefaultValue=false)] - public string Title { get; set; } - /// - /// Body of the story - /// - /// Body of the story - [DataMember(Name="body", EmitDefaultValue=false)] - public string Body { get; set; } - /// - /// The suggested story summary - /// - /// The suggested story summary - [DataMember(Name="summary", EmitDefaultValue=false)] - public Summary Summary { get; set; } - /// - /// The story source - /// - /// The story source - [DataMember(Name="source", EmitDefaultValue=false)] - public Source Source { get; set; } - /// - /// The story author - /// - /// The story author - [DataMember(Name="author", EmitDefaultValue=false)] - public Author Author { get; set; } - /// - /// Extracted entities from the story title or body - /// - /// Extracted entities from the story title or body - [DataMember(Name="entities", EmitDefaultValue=false)] - public Entities Entities { get; set; } - /// - /// Extracted keywords mentioned in the story title or body - /// - /// Extracted keywords mentioned in the story title or body - [DataMember(Name="keywords", EmitDefaultValue=false)] - public List Keywords { get; set; } - /// - /// An array of suggested Story hashtags - /// - /// An array of suggested Story hashtags - [DataMember(Name="hashtags", EmitDefaultValue=false)] - public List Hashtags { get; set; } - /// - /// Character count of the story body - /// - /// Character count of the story body - [DataMember(Name="characters_count", EmitDefaultValue=false)] - public int? CharactersCount { get; set; } - /// - /// Word count of the story body - /// - /// Word count of the story body - [DataMember(Name="words_count", EmitDefaultValue=false)] - public int? WordsCount { get; set; } - /// - /// Sentence count of the story body - /// - /// Sentence count of the story body - [DataMember(Name="sentences_count", EmitDefaultValue=false)] - public int? SentencesCount { get; set; } - /// - /// Paragraph count of the story body - /// - /// Paragraph count of the story body - [DataMember(Name="paragraphs_count", EmitDefaultValue=false)] - public int? ParagraphsCount { get; set; } - /// - /// Suggested categories for the story - /// - /// Suggested categories for the story - [DataMember(Name="categories", EmitDefaultValue=false)] - public List Categories { get; set; } - /// - /// Social shares count for the story - /// - /// Social shares count for the story - [DataMember(Name="social_shares_count", EmitDefaultValue=false)] - public ShareCounts SocialSharesCount { get; set; } - /// - /// An array of extracted media such as images and videos - /// - /// An array of extracted media such as images and videos - [DataMember(Name="media", EmitDefaultValue=false)] - public List Media { get; set; } - /// - /// Suggested sentiments for the story title or body - /// - /// Suggested sentiments for the story title or body - [DataMember(Name="sentiment", EmitDefaultValue=false)] - public Sentiments Sentiment { get; set; } - /// - /// Language of the story - /// - /// Language of the story - [DataMember(Name="language", EmitDefaultValue=false)] - public string Language { get; set; } - /// - /// Published date of the story - /// - /// Published date of the story - [DataMember(Name="published_at", EmitDefaultValue=false)] - public DateTime? PublishedAt { get; set; } - /// - /// Links which is related to the story - /// - /// Links which is related to the story - [DataMember(Name="links", EmitDefaultValue=false)] - public StoryLinks Links { get; set; } - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class Story {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Title: ").Append(Title).Append("\n"); - sb.Append(" Body: ").Append(Body).Append("\n"); - sb.Append(" Summary: ").Append(Summary).Append("\n"); - sb.Append(" Source: ").Append(Source).Append("\n"); - sb.Append(" Author: ").Append(Author).Append("\n"); - sb.Append(" Entities: ").Append(Entities).Append("\n"); - sb.Append(" Keywords: ").Append(Keywords).Append("\n"); - sb.Append(" Hashtags: ").Append(Hashtags).Append("\n"); - sb.Append(" CharactersCount: ").Append(CharactersCount).Append("\n"); - sb.Append(" WordsCount: ").Append(WordsCount).Append("\n"); - sb.Append(" SentencesCount: ").Append(SentencesCount).Append("\n"); - sb.Append(" ParagraphsCount: ").Append(ParagraphsCount).Append("\n"); - sb.Append(" Categories: ").Append(Categories).Append("\n"); - sb.Append(" SocialSharesCount: ").Append(SocialSharesCount).Append("\n"); - sb.Append(" Media: ").Append(Media).Append("\n"); - sb.Append(" Sentiment: ").Append(Sentiment).Append("\n"); - sb.Append(" Language: ").Append(Language).Append("\n"); - sb.Append(" PublishedAt: ").Append(PublishedAt).Append("\n"); - sb.Append(" Links: ").Append(Links).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public string ToJson() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - - /// - /// Returns true if objects are equal - /// - /// Object to be compared - /// Boolean - public override bool Equals(object obj) - { - // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Story); - } - - /// - /// Returns true if Story instances are equal - /// - /// Instance of Story to be compared - /// Boolean - public bool Equals(Story other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) - ) && - ( - this.Title == other.Title || - this.Title != null && - this.Title.Equals(other.Title) - ) && - ( - this.Body == other.Body || - this.Body != null && - this.Body.Equals(other.Body) - ) && - ( - this.Summary == other.Summary || - this.Summary != null && - this.Summary.Equals(other.Summary) - ) && - ( - this.Source == other.Source || - this.Source != null && - this.Source.Equals(other.Source) - ) && - ( - this.Author == other.Author || - this.Author != null && - this.Author.Equals(other.Author) - ) && - ( - this.Entities == other.Entities || - this.Entities != null && - this.Entities.Equals(other.Entities) - ) && - ( - this.Keywords == other.Keywords || - this.Keywords != null && - this.Keywords.SequenceEqual(other.Keywords) - ) && - ( - this.Hashtags == other.Hashtags || - this.Hashtags != null && - this.Hashtags.SequenceEqual(other.Hashtags) - ) && - ( - this.CharactersCount == other.CharactersCount || - this.CharactersCount != null && - this.CharactersCount.Equals(other.CharactersCount) - ) && - ( - this.WordsCount == other.WordsCount || - this.WordsCount != null && - this.WordsCount.Equals(other.WordsCount) - ) && - ( - this.SentencesCount == other.SentencesCount || - this.SentencesCount != null && - this.SentencesCount.Equals(other.SentencesCount) - ) && - ( - this.ParagraphsCount == other.ParagraphsCount || - this.ParagraphsCount != null && - this.ParagraphsCount.Equals(other.ParagraphsCount) - ) && - ( - this.Categories == other.Categories || - this.Categories != null && - this.Categories.SequenceEqual(other.Categories) - ) && - ( - this.SocialSharesCount == other.SocialSharesCount || - this.SocialSharesCount != null && - this.SocialSharesCount.Equals(other.SocialSharesCount) - ) && - ( - this.Media == other.Media || - this.Media != null && - this.Media.SequenceEqual(other.Media) - ) && - ( - this.Sentiment == other.Sentiment || - this.Sentiment != null && - this.Sentiment.Equals(other.Sentiment) - ) && - ( - this.Language == other.Language || - this.Language != null && - this.Language.Equals(other.Language) - ) && - ( - this.PublishedAt == other.PublishedAt || - this.PublishedAt != null && - this.PublishedAt.Equals(other.PublishedAt) - ) && - ( - this.Links == other.Links || - this.Links != null && - this.Links.Equals(other.Links) - ); - } - - /// - /// Gets the hash code - /// - /// Hash code - public override int GetHashCode() - { - // credit: http://stackoverflow.com/a/263416/677735 - unchecked // Overflow is fine, just wrap - { - int hash = 41; - // Suitable nullity checks etc, of course :) - if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); - if (this.Title != null) - hash = hash * 59 + this.Title.GetHashCode(); - if (this.Body != null) - hash = hash * 59 + this.Body.GetHashCode(); - if (this.Summary != null) - hash = hash * 59 + this.Summary.GetHashCode(); - if (this.Source != null) - hash = hash * 59 + this.Source.GetHashCode(); - if (this.Author != null) - hash = hash * 59 + this.Author.GetHashCode(); - if (this.Entities != null) - hash = hash * 59 + this.Entities.GetHashCode(); - if (this.Keywords != null) - hash = hash * 59 + this.Keywords.GetHashCode(); - if (this.Hashtags != null) - hash = hash * 59 + this.Hashtags.GetHashCode(); - if (this.CharactersCount != null) - hash = hash * 59 + this.CharactersCount.GetHashCode(); - if (this.WordsCount != null) - hash = hash * 59 + this.WordsCount.GetHashCode(); - if (this.SentencesCount != null) - hash = hash * 59 + this.SentencesCount.GetHashCode(); - if (this.ParagraphsCount != null) - hash = hash * 59 + this.ParagraphsCount.GetHashCode(); - if (this.Categories != null) - hash = hash * 59 + this.Categories.GetHashCode(); - if (this.SocialSharesCount != null) - hash = hash * 59 + this.SocialSharesCount.GetHashCode(); - if (this.Media != null) - hash = hash * 59 + this.Media.GetHashCode(); - if (this.Sentiment != null) - hash = hash * 59 + this.Sentiment.GetHashCode(); - if (this.Language != null) - hash = hash * 59 + this.Language.GetHashCode(); - if (this.PublishedAt != null) - hash = hash * 59 + this.PublishedAt.GetHashCode(); - if (this.Links != null) - hash = hash * 59 + this.Links.GetHashCode(); - return hash; - } - } - - public IEnumerable Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/main/csharp/Aylien.NewsApi/Properties/AssemblyInfo.cs b/src/main/csharp/Aylien.NewsApi/Properties/AssemblyInfo.cs deleted file mode 100644 index 348ac61..0000000 --- a/src/main/csharp/Aylien.NewsApi/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,53 +0,0 @@ -#region License -/* -Copyright 2017 Aylien, Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion - -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Aylien.NewsApi")] -[assembly: AssemblyDescription(".NET client for AYLIEN News API")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("AYLIEN Inc.")] -[assembly: AssemblyProduct("Aylien News API library for .NET")] -[assembly: AssemblyCopyright("Copyright © AYLIEN Inc. 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("7274d370-0ae2-11e6-aed0-701e52357c51")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.0.0")] -[assembly: AssemblyFileVersion("2.0.0")] diff --git a/src/main/csharp/Aylien.NewsApi/packages.config b/src/main/csharp/Aylien.NewsApi/packages.config deleted file mode 100644 index 1b35a79..0000000 --- a/src/main/csharp/Aylien.NewsApi/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - -