aylien_news_api 4.5.0 → 5.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -11
- data/aylien_news_api.gemspec +1 -1
- data/docs/Category.md +3 -3
- data/docs/CategoryLinks.md +2 -0
- data/docs/DefaultApi.md +44 -368
- data/docs/DeprecatedStory.md +6 -2
- data/docs/DunsNumber.md +17 -0
- data/docs/Entity.md +3 -1
- data/docs/Error.md +1 -1
- data/docs/ExternalIds.md +17 -0
- data/docs/Parameter.md +12 -12
- data/docs/Story.md +6 -2
- data/lib/aylien_news_api/api/default_api.rb +68 -554
- data/lib/aylien_news_api/api_client.rb +1 -1
- data/lib/aylien_news_api/api_error.rb +1 -1
- data/lib/aylien_news_api/configuration.rb +1 -1
- data/lib/aylien_news_api/models/aggregated_sentiment.rb +1 -1
- data/lib/aylien_news_api/models/author.rb +1 -1
- data/lib/aylien_news_api/models/autocomplete.rb +1 -1
- data/lib/aylien_news_api/models/autocompletes.rb +1 -1
- data/lib/aylien_news_api/models/category.rb +40 -14
- data/lib/aylien_news_api/models/category_links.rb +16 -2
- data/lib/aylien_news_api/models/category_taxonomy.rb +2 -1
- data/lib/aylien_news_api/models/cluster.rb +1 -1
- data/lib/aylien_news_api/models/clusters.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_entities.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_entity.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_entity_surface_form.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_related_stories.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_stories.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_story.rb +28 -6
- data/lib/aylien_news_api/models/duns_number.rb +206 -0
- data/lib/aylien_news_api/models/entity.rb +14 -5
- data/lib/aylien_news_api/models/entity_in_text.rb +1 -1
- data/lib/aylien_news_api/models/entity_links.rb +1 -1
- data/lib/aylien_news_api/models/entity_mention.rb +1 -1
- data/lib/aylien_news_api/models/entity_mention_index.rb +1 -1
- data/lib/aylien_news_api/models/entity_sentiment.rb +1 -1
- data/lib/aylien_news_api/models/entity_surface_form.rb +1 -1
- data/lib/aylien_news_api/models/error.rb +2 -2
- data/lib/aylien_news_api/models/error_links.rb +1 -1
- data/lib/aylien_news_api/models/errors.rb +1 -1
- data/lib/aylien_news_api/models/external_ids.rb +210 -0
- data/lib/aylien_news_api/models/histogram_interval.rb +1 -1
- data/lib/aylien_news_api/models/histograms.rb +1 -1
- data/lib/aylien_news_api/models/location.rb +1 -1
- data/lib/aylien_news_api/models/logicals.rb +1 -1
- data/lib/aylien_news_api/models/media.rb +1 -1
- data/lib/aylien_news_api/models/media_format.rb +1 -1
- data/lib/aylien_news_api/models/media_type.rb +1 -1
- data/lib/aylien_news_api/models/nested_entity.rb +1 -1
- data/lib/aylien_news_api/models/parameter.rb +38 -38
- data/lib/aylien_news_api/models/query.rb +1 -1
- data/lib/aylien_news_api/models/rank.rb +1 -1
- data/lib/aylien_news_api/models/rankings.rb +1 -1
- data/lib/aylien_news_api/models/related_stories.rb +1 -1
- data/lib/aylien_news_api/models/representative_story.rb +1 -1
- data/lib/aylien_news_api/models/scope.rb +1 -1
- data/lib/aylien_news_api/models/scope_level.rb +1 -1
- data/lib/aylien_news_api/models/sentiment.rb +1 -1
- data/lib/aylien_news_api/models/sentiment_polarity.rb +1 -1
- data/lib/aylien_news_api/models/sentiments.rb +1 -1
- data/lib/aylien_news_api/models/share_count.rb +1 -1
- data/lib/aylien_news_api/models/share_counts.rb +1 -1
- data/lib/aylien_news_api/models/source.rb +1 -1
- data/lib/aylien_news_api/models/stories.rb +1 -1
- data/lib/aylien_news_api/models/story.rb +28 -6
- data/lib/aylien_news_api/models/story_cluster.rb +1 -1
- data/lib/aylien_news_api/models/story_links.rb +1 -1
- data/lib/aylien_news_api/models/story_translation.rb +1 -1
- data/lib/aylien_news_api/models/story_translations.rb +1 -1
- data/lib/aylien_news_api/models/summary.rb +1 -1
- data/lib/aylien_news_api/models/time_series.rb +1 -1
- data/lib/aylien_news_api/models/time_series_list.rb +1 -1
- data/lib/aylien_news_api/models/trend.rb +1 -1
- data/lib/aylien_news_api/models/trends.rb +1 -1
- data/lib/aylien_news_api/models/warning.rb +1 -1
- data/lib/aylien_news_api/version.rb +2 -2
- data/lib/aylien_news_api.rb +3 -7
- data/spec/api/default_api_spec.rb +23 -185
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/aggregated_sentiment_spec.rb +1 -1
- data/spec/models/author_spec.rb +1 -1
- data/spec/models/autocomplete_spec.rb +1 -1
- data/spec/models/autocompletes_spec.rb +1 -1
- data/spec/models/category_links_spec.rb +7 -1
- data/spec/models/category_spec.rb +4 -4
- data/spec/models/category_taxonomy_spec.rb +1 -1
- data/spec/models/cluster_spec.rb +1 -1
- data/spec/models/clusters_spec.rb +1 -1
- data/spec/models/deprecated_entities_spec.rb +1 -1
- data/spec/models/deprecated_entity_spec.rb +1 -1
- data/spec/models/deprecated_entity_surface_form_spec.rb +1 -1
- data/spec/models/deprecated_related_stories_spec.rb +1 -1
- data/spec/models/deprecated_stories_spec.rb +1 -1
- data/spec/models/deprecated_story_spec.rb +13 -1
- data/spec/models/duns_number_spec.rb +41 -0
- data/spec/models/entity_in_text_spec.rb +1 -1
- data/spec/models/entity_links_spec.rb +1 -1
- data/spec/models/entity_mention_index_spec.rb +1 -1
- data/spec/models/entity_mention_spec.rb +1 -1
- data/spec/models/entity_sentiment_spec.rb +1 -1
- data/spec/models/entity_spec.rb +7 -1
- data/spec/models/entity_surface_form_spec.rb +1 -1
- data/spec/models/error_links_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/errors_spec.rb +1 -1
- data/spec/models/external_ids_spec.rb +41 -0
- data/spec/models/histogram_interval_spec.rb +1 -1
- data/spec/models/histograms_spec.rb +1 -1
- data/spec/models/location_spec.rb +1 -1
- data/spec/models/logicals_spec.rb +1 -1
- data/spec/models/media_format_spec.rb +1 -1
- data/spec/models/media_spec.rb +1 -1
- data/spec/models/media_type_spec.rb +1 -1
- data/spec/models/nested_entity_spec.rb +1 -1
- data/spec/models/parameter_spec.rb +7 -7
- data/spec/models/query_spec.rb +1 -1
- data/spec/models/rank_spec.rb +1 -1
- data/spec/models/rankings_spec.rb +1 -1
- data/spec/models/related_stories_spec.rb +1 -1
- data/spec/models/representative_story_spec.rb +1 -1
- data/spec/models/scope_level_spec.rb +1 -1
- data/spec/models/scope_spec.rb +1 -1
- data/spec/models/sentiment_polarity_spec.rb +1 -1
- data/spec/models/sentiment_spec.rb +1 -1
- data/spec/models/sentiments_spec.rb +1 -1
- data/spec/models/share_count_spec.rb +1 -1
- data/spec/models/share_counts_spec.rb +1 -1
- data/spec/models/source_spec.rb +1 -1
- data/spec/models/stories_spec.rb +1 -1
- data/spec/models/story_cluster_spec.rb +1 -1
- data/spec/models/story_links_spec.rb +1 -1
- data/spec/models/story_spec.rb +13 -1
- data/spec/models/story_translation_spec.rb +1 -1
- data/spec/models/story_translations_spec.rb +1 -1
- data/spec/models/summary_spec.rb +1 -1
- data/spec/models/time_series_list_spec.rb +1 -1
- data/spec/models/time_series_spec.rb +1 -1
- data/spec/models/trend_spec.rb +1 -1
- data/spec/models/trends_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +10 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -32,17 +32,17 @@ module AylienNewsApi
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :links_permalink
|
|
34
34
|
|
|
35
|
-
attr_accessor :
|
|
35
|
+
attr_accessor :entities_id
|
|
36
36
|
|
|
37
|
-
attr_accessor :
|
|
37
|
+
attr_accessor :entities_surface_forms_text
|
|
38
38
|
|
|
39
|
-
attr_accessor :
|
|
39
|
+
attr_accessor :entities_links_wikipedia
|
|
40
40
|
|
|
41
|
-
attr_accessor :
|
|
41
|
+
attr_accessor :entities_links_wikidata
|
|
42
42
|
|
|
43
|
-
attr_accessor :
|
|
43
|
+
attr_accessor :entities_title_surface_forms_text
|
|
44
44
|
|
|
45
|
-
attr_accessor :
|
|
45
|
+
attr_accessor :entities_body_surface_forms_text
|
|
46
46
|
|
|
47
47
|
attr_accessor :id
|
|
48
48
|
|
|
@@ -138,12 +138,12 @@ module AylienNewsApi
|
|
|
138
138
|
:'categories_taxonomy' => :'categories.taxonomy',
|
|
139
139
|
:'clusters' => :'clusters',
|
|
140
140
|
:'links_permalink' => :'links.permalink',
|
|
141
|
-
:'
|
|
142
|
-
:'
|
|
143
|
-
:'
|
|
144
|
-
:'
|
|
145
|
-
:'
|
|
146
|
-
:'
|
|
141
|
+
:'entities_id' => :'entities.id',
|
|
142
|
+
:'entities_surface_forms_text' => :'entities.surface_forms.text',
|
|
143
|
+
:'entities_links_wikipedia' => :'entities.links.wikipedia',
|
|
144
|
+
:'entities_links_wikidata' => :'entities.links.wikidata',
|
|
145
|
+
:'entities_title_surface_forms_text' => :'entities.title.surface_forms.text',
|
|
146
|
+
:'entities_body_surface_forms_text' => :'entities.body.surface_forms.text',
|
|
147
147
|
:'id' => :'id',
|
|
148
148
|
:'language' => :'language',
|
|
149
149
|
:'media_images_content_length_max' => :'media.images.content.length.max',
|
|
@@ -200,12 +200,12 @@ module AylienNewsApi
|
|
|
200
200
|
:'categories_taxonomy' => :'Query',
|
|
201
201
|
:'clusters' => :'Query',
|
|
202
202
|
:'links_permalink' => :'Query',
|
|
203
|
-
:'
|
|
204
|
-
:'
|
|
205
|
-
:'
|
|
206
|
-
:'
|
|
207
|
-
:'
|
|
208
|
-
:'
|
|
203
|
+
:'entities_id' => :'Query',
|
|
204
|
+
:'entities_surface_forms_text' => :'Query',
|
|
205
|
+
:'entities_links_wikipedia' => :'Query',
|
|
206
|
+
:'entities_links_wikidata' => :'Query',
|
|
207
|
+
:'entities_title_surface_forms_text' => :'Query',
|
|
208
|
+
:'entities_body_surface_forms_text' => :'Query',
|
|
209
209
|
:'id' => :'Query',
|
|
210
210
|
:'language' => :'Query',
|
|
211
211
|
:'media_images_content_length_max' => :'Query',
|
|
@@ -307,28 +307,28 @@ module AylienNewsApi
|
|
|
307
307
|
self.links_permalink = attributes[:'links_permalink']
|
|
308
308
|
end
|
|
309
309
|
|
|
310
|
-
if attributes.key?(:'
|
|
311
|
-
self.
|
|
310
|
+
if attributes.key?(:'entities_id')
|
|
311
|
+
self.entities_id = attributes[:'entities_id']
|
|
312
312
|
end
|
|
313
313
|
|
|
314
|
-
if attributes.key?(:'
|
|
315
|
-
self.
|
|
314
|
+
if attributes.key?(:'entities_surface_forms_text')
|
|
315
|
+
self.entities_surface_forms_text = attributes[:'entities_surface_forms_text']
|
|
316
316
|
end
|
|
317
317
|
|
|
318
|
-
if attributes.key?(:'
|
|
319
|
-
self.
|
|
318
|
+
if attributes.key?(:'entities_links_wikipedia')
|
|
319
|
+
self.entities_links_wikipedia = attributes[:'entities_links_wikipedia']
|
|
320
320
|
end
|
|
321
321
|
|
|
322
|
-
if attributes.key?(:'
|
|
323
|
-
self.
|
|
322
|
+
if attributes.key?(:'entities_links_wikidata')
|
|
323
|
+
self.entities_links_wikidata = attributes[:'entities_links_wikidata']
|
|
324
324
|
end
|
|
325
325
|
|
|
326
|
-
if attributes.key?(:'
|
|
327
|
-
self.
|
|
326
|
+
if attributes.key?(:'entities_title_surface_forms_text')
|
|
327
|
+
self.entities_title_surface_forms_text = attributes[:'entities_title_surface_forms_text']
|
|
328
328
|
end
|
|
329
329
|
|
|
330
|
-
if attributes.key?(:'
|
|
331
|
-
self.
|
|
330
|
+
if attributes.key?(:'entities_body_surface_forms_text')
|
|
331
|
+
self.entities_body_surface_forms_text = attributes[:'entities_body_surface_forms_text']
|
|
332
332
|
end
|
|
333
333
|
|
|
334
334
|
if attributes.key?(:'id')
|
|
@@ -523,12 +523,12 @@ module AylienNewsApi
|
|
|
523
523
|
categories_taxonomy == o.categories_taxonomy &&
|
|
524
524
|
clusters == o.clusters &&
|
|
525
525
|
links_permalink == o.links_permalink &&
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
526
|
+
entities_id == o.entities_id &&
|
|
527
|
+
entities_surface_forms_text == o.entities_surface_forms_text &&
|
|
528
|
+
entities_links_wikipedia == o.entities_links_wikipedia &&
|
|
529
|
+
entities_links_wikidata == o.entities_links_wikidata &&
|
|
530
|
+
entities_title_surface_forms_text == o.entities_title_surface_forms_text &&
|
|
531
|
+
entities_body_surface_forms_text == o.entities_body_surface_forms_text &&
|
|
532
532
|
id == o.id &&
|
|
533
533
|
language == o.language &&
|
|
534
534
|
media_images_content_length_max == o.media_images_content_length_max &&
|
|
@@ -581,7 +581,7 @@ module AylienNewsApi
|
|
|
581
581
|
# Calculates hash code according to all attributes.
|
|
582
582
|
# @return [Integer] Hash code
|
|
583
583
|
def hash
|
|
584
|
-
[author_id, author_name, body, categories_confident, categories_id, categories_level, categories_taxonomy, clusters, links_permalink,
|
|
584
|
+
[author_id, author_name, body, categories_confident, categories_id, categories_level, categories_taxonomy, clusters, links_permalink, entities_id, entities_surface_forms_text, entities_links_wikipedia, entities_links_wikidata, entities_title_surface_forms_text, entities_body_surface_forms_text, id, language, media_images_content_length_max, media_images_content_length_min, media_images_count_max, media_images_count_min, media_images_format, media_images_height_max, media_images_height_min, media_images_width_max, media_images_width_min, media_videos_count_max, media_videos_count_min, sentiment_body_polarity, sentiment_title_polarity, social_shares_count_facebook_max, social_shares_count_facebook_min, social_shares_count_reddit_max, social_shares_count_reddit_min, source_domain, source_id, source_links_in_count_max, source_links_in_count_min, source_locations_city, source_locations_country, source_locations_state, source_rankings_alexa_country, source_rankings_alexa_rank_max, source_rankings_alexa_rank_min, source_scopes_city, source_scopes_country, source_scopes_level, source_scopes_state, story_url, story_language, text, title, translations_en_body, translations_en_text, translations_en_title, entity].hash
|
|
585
585
|
end
|
|
586
586
|
|
|
587
587
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -51,7 +51,10 @@ module AylienNewsApi
|
|
|
51
51
|
# Paragraph count of the story body
|
|
52
52
|
attr_accessor :paragraphs_count
|
|
53
53
|
|
|
54
|
-
#
|
|
54
|
+
# Publication time of the story, if available, otherwise time of acquisition
|
|
55
|
+
attr_accessor :published_datetime
|
|
56
|
+
|
|
57
|
+
# Acquisition time of the story
|
|
55
58
|
attr_accessor :published_at
|
|
56
59
|
|
|
57
60
|
# Sentence count of the story body
|
|
@@ -76,6 +79,9 @@ module AylienNewsApi
|
|
|
76
79
|
# License type of the story
|
|
77
80
|
attr_accessor :license_type
|
|
78
81
|
|
|
82
|
+
# An array of industries categories
|
|
83
|
+
attr_accessor :industries
|
|
84
|
+
|
|
79
85
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
80
86
|
def self.attribute_map
|
|
81
87
|
{
|
|
@@ -92,6 +98,7 @@ module AylienNewsApi
|
|
|
92
98
|
:'links' => :'links',
|
|
93
99
|
:'media' => :'media',
|
|
94
100
|
:'paragraphs_count' => :'paragraphs_count',
|
|
101
|
+
:'published_datetime' => :'published_datetime',
|
|
95
102
|
:'published_at' => :'published_at',
|
|
96
103
|
:'sentences_count' => :'sentences_count',
|
|
97
104
|
:'sentiment' => :'sentiment',
|
|
@@ -101,7 +108,8 @@ module AylienNewsApi
|
|
|
101
108
|
:'title' => :'title',
|
|
102
109
|
:'translations' => :'translations',
|
|
103
110
|
:'words_count' => :'words_count',
|
|
104
|
-
:'license_type' => :'license_type'
|
|
111
|
+
:'license_type' => :'license_type',
|
|
112
|
+
:'industries' => :'industries'
|
|
105
113
|
}
|
|
106
114
|
end
|
|
107
115
|
|
|
@@ -121,6 +129,7 @@ module AylienNewsApi
|
|
|
121
129
|
:'links' => :'StoryLinks',
|
|
122
130
|
:'media' => :'Array<Media>',
|
|
123
131
|
:'paragraphs_count' => :'Integer',
|
|
132
|
+
:'published_datetime' => :'DateTime',
|
|
124
133
|
:'published_at' => :'DateTime',
|
|
125
134
|
:'sentences_count' => :'Integer',
|
|
126
135
|
:'sentiment' => :'Sentiments',
|
|
@@ -130,7 +139,8 @@ module AylienNewsApi
|
|
|
130
139
|
:'title' => :'String',
|
|
131
140
|
:'translations' => :'StoryTranslations',
|
|
132
141
|
:'words_count' => :'Integer',
|
|
133
|
-
:'license_type' => :'Integer'
|
|
142
|
+
:'license_type' => :'Integer',
|
|
143
|
+
:'industries' => :'Array<Category>'
|
|
134
144
|
}
|
|
135
145
|
end
|
|
136
146
|
|
|
@@ -219,6 +229,10 @@ module AylienNewsApi
|
|
|
219
229
|
self.paragraphs_count = attributes[:'paragraphs_count']
|
|
220
230
|
end
|
|
221
231
|
|
|
232
|
+
if attributes.key?(:'published_datetime')
|
|
233
|
+
self.published_datetime = attributes[:'published_datetime']
|
|
234
|
+
end
|
|
235
|
+
|
|
222
236
|
if attributes.key?(:'published_at')
|
|
223
237
|
self.published_at = attributes[:'published_at']
|
|
224
238
|
end
|
|
@@ -258,6 +272,12 @@ module AylienNewsApi
|
|
|
258
272
|
if attributes.key?(:'license_type')
|
|
259
273
|
self.license_type = attributes[:'license_type']
|
|
260
274
|
end
|
|
275
|
+
|
|
276
|
+
if attributes.key?(:'industries')
|
|
277
|
+
if (value = attributes[:'industries']).is_a?(Array)
|
|
278
|
+
self.industries = value
|
|
279
|
+
end
|
|
280
|
+
end
|
|
261
281
|
end
|
|
262
282
|
|
|
263
283
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -291,6 +311,7 @@ module AylienNewsApi
|
|
|
291
311
|
links == o.links &&
|
|
292
312
|
media == o.media &&
|
|
293
313
|
paragraphs_count == o.paragraphs_count &&
|
|
314
|
+
published_datetime == o.published_datetime &&
|
|
294
315
|
published_at == o.published_at &&
|
|
295
316
|
sentences_count == o.sentences_count &&
|
|
296
317
|
sentiment == o.sentiment &&
|
|
@@ -300,7 +321,8 @@ module AylienNewsApi
|
|
|
300
321
|
title == o.title &&
|
|
301
322
|
translations == o.translations &&
|
|
302
323
|
words_count == o.words_count &&
|
|
303
|
-
license_type == o.license_type
|
|
324
|
+
license_type == o.license_type &&
|
|
325
|
+
industries == o.industries
|
|
304
326
|
end
|
|
305
327
|
|
|
306
328
|
# @see the `==` method
|
|
@@ -312,7 +334,7 @@ module AylienNewsApi
|
|
|
312
334
|
# Calculates hash code according to all attributes.
|
|
313
335
|
# @return [Integer] Hash code
|
|
314
336
|
def hash
|
|
315
|
-
[author, body, categories, characters_count, clusters, entities, hashtags, id, keywords, language, links, media, paragraphs_count, published_at, sentences_count, sentiment, social_shares_count, source, summary, title, translations, words_count, license_type].hash
|
|
337
|
+
[author, body, categories, characters_count, clusters, entities, hashtags, id, keywords, language, links, media, paragraphs_count, published_datetime, published_at, sentences_count, sentiment, social_shares_count, source, summary, title, translations, words_count, license_type, industries].hash
|
|
316
338
|
end
|
|
317
339
|
|
|
318
340
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module AylienNewsApi
|
|
14
|
-
VERSION = '
|
|
14
|
+
VERSION = '5.2.3'
|
|
15
15
|
end
|
data/lib/aylien_news_api.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#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.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3
|
|
6
|
+
The version of the OpenAPI document: 5.2.3
|
|
7
7
|
Contact: support@aylien.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
|
@@ -26,12 +26,7 @@ require 'aylien_news_api/models/category_links'
|
|
|
26
26
|
require 'aylien_news_api/models/category_taxonomy'
|
|
27
27
|
require 'aylien_news_api/models/cluster'
|
|
28
28
|
require 'aylien_news_api/models/clusters'
|
|
29
|
-
require 'aylien_news_api/models/
|
|
30
|
-
require 'aylien_news_api/models/deprecated_entity'
|
|
31
|
-
require 'aylien_news_api/models/deprecated_entity_surface_form'
|
|
32
|
-
require 'aylien_news_api/models/deprecated_related_stories'
|
|
33
|
-
require 'aylien_news_api/models/deprecated_stories'
|
|
34
|
-
require 'aylien_news_api/models/deprecated_story'
|
|
29
|
+
require 'aylien_news_api/models/duns_number'
|
|
35
30
|
require 'aylien_news_api/models/entity'
|
|
36
31
|
require 'aylien_news_api/models/entity_in_text'
|
|
37
32
|
require 'aylien_news_api/models/entity_links'
|
|
@@ -42,6 +37,7 @@ require 'aylien_news_api/models/entity_surface_form'
|
|
|
42
37
|
require 'aylien_news_api/models/error'
|
|
43
38
|
require 'aylien_news_api/models/error_links'
|
|
44
39
|
require 'aylien_news_api/models/errors'
|
|
40
|
+
require 'aylien_news_api/models/external_ids'
|
|
45
41
|
require 'aylien_news_api/models/histogram_interval'
|
|
46
42
|
require 'aylien_news_api/models/histograms'
|
|
47
43
|
require 'aylien_news_api/models/location'
|