aylien_news_api 4.3.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/aylien_news_api.gemspec +1 -1
  3. data/docs/DefaultApi.md +205 -373
  4. data/docs/DeprecatedEntities.md +19 -0
  5. data/docs/DeprecatedEntity.md +33 -0
  6. data/docs/DeprecatedEntitySurfaceForm.md +21 -0
  7. data/docs/DeprecatedRelatedStories.md +27 -0
  8. data/docs/DeprecatedStories.md +25 -0
  9. data/docs/DeprecatedStory.md +61 -0
  10. data/docs/Entity.md +12 -10
  11. data/docs/EntityInText.md +19 -0
  12. data/docs/EntityMention.md +19 -0
  13. data/docs/EntityMentionIndex.md +19 -0
  14. data/docs/EntitySurfaceForm.md +4 -2
  15. data/docs/Parameter.md +12 -12
  16. data/docs/Story.md +1 -1
  17. data/lib/aylien_news_api.rb +4 -2
  18. data/lib/aylien_news_api/api/default_api.rb +297 -549
  19. data/lib/aylien_news_api/api_client.rb +1 -1
  20. data/lib/aylien_news_api/api_error.rb +1 -1
  21. data/lib/aylien_news_api/configuration.rb +1 -1
  22. data/lib/aylien_news_api/models/aggregated_sentiment.rb +1 -1
  23. data/lib/aylien_news_api/models/author.rb +1 -1
  24. data/lib/aylien_news_api/models/autocomplete.rb +1 -1
  25. data/lib/aylien_news_api/models/autocompletes.rb +1 -1
  26. data/lib/aylien_news_api/models/category.rb +1 -1
  27. data/lib/aylien_news_api/models/category_links.rb +1 -1
  28. data/lib/aylien_news_api/models/category_taxonomy.rb +1 -1
  29. data/lib/aylien_news_api/models/cluster.rb +1 -1
  30. data/lib/aylien_news_api/models/clusters.rb +1 -1
  31. data/lib/aylien_news_api/models/deprecated_entities.rb +221 -0
  32. data/lib/aylien_news_api/models/deprecated_entity.rb +314 -0
  33. data/lib/aylien_news_api/models/deprecated_entity_surface_form.rb +244 -0
  34. data/lib/aylien_news_api/models/deprecated_related_stories.rb +260 -0
  35. data/lib/aylien_news_api/models/deprecated_stories.rb +252 -0
  36. data/lib/aylien_news_api/models/deprecated_story.rb +429 -0
  37. data/lib/aylien_news_api/models/entity.rb +91 -45
  38. data/lib/aylien_news_api/models/entity_in_text.rb +217 -0
  39. data/lib/aylien_news_api/models/entity_links.rb +1 -1
  40. data/lib/aylien_news_api/models/entity_mention.rb +215 -0
  41. data/lib/aylien_news_api/models/entity_mention_index.rb +265 -0
  42. data/lib/aylien_news_api/models/entity_sentiment.rb +1 -1
  43. data/lib/aylien_news_api/models/entity_surface_form.rb +35 -10
  44. data/lib/aylien_news_api/models/error.rb +1 -1
  45. data/lib/aylien_news_api/models/error_links.rb +1 -1
  46. data/lib/aylien_news_api/models/errors.rb +1 -1
  47. data/lib/aylien_news_api/models/histogram_interval.rb +1 -1
  48. data/lib/aylien_news_api/models/histograms.rb +1 -1
  49. data/lib/aylien_news_api/models/location.rb +1 -1
  50. data/lib/aylien_news_api/models/logicals.rb +1 -1
  51. data/lib/aylien_news_api/models/media.rb +1 -1
  52. data/lib/aylien_news_api/models/media_format.rb +1 -1
  53. data/lib/aylien_news_api/models/media_type.rb +1 -1
  54. data/lib/aylien_news_api/models/nested_entity.rb +1 -1
  55. data/lib/aylien_news_api/models/parameter.rb +38 -38
  56. data/lib/aylien_news_api/models/query.rb +1 -1
  57. data/lib/aylien_news_api/models/rank.rb +1 -1
  58. data/lib/aylien_news_api/models/rankings.rb +1 -1
  59. data/lib/aylien_news_api/models/related_stories.rb +2 -1
  60. data/lib/aylien_news_api/models/representative_story.rb +1 -1
  61. data/lib/aylien_news_api/models/scope.rb +1 -1
  62. data/lib/aylien_news_api/models/scope_level.rb +1 -1
  63. data/lib/aylien_news_api/models/sentiment.rb +1 -1
  64. data/lib/aylien_news_api/models/sentiment_polarity.rb +1 -1
  65. data/lib/aylien_news_api/models/sentiments.rb +1 -1
  66. data/lib/aylien_news_api/models/share_count.rb +1 -1
  67. data/lib/aylien_news_api/models/share_counts.rb +1 -1
  68. data/lib/aylien_news_api/models/source.rb +1 -1
  69. data/lib/aylien_news_api/models/stories.rb +2 -1
  70. data/lib/aylien_news_api/models/story.rb +6 -3
  71. data/lib/aylien_news_api/models/story_cluster.rb +1 -1
  72. data/lib/aylien_news_api/models/story_links.rb +1 -1
  73. data/lib/aylien_news_api/models/story_translation.rb +1 -1
  74. data/lib/aylien_news_api/models/story_translations.rb +1 -1
  75. data/lib/aylien_news_api/models/summary.rb +1 -1
  76. data/lib/aylien_news_api/models/time_series.rb +1 -1
  77. data/lib/aylien_news_api/models/time_series_list.rb +1 -1
  78. data/lib/aylien_news_api/models/trend.rb +1 -1
  79. data/lib/aylien_news_api/models/trends.rb +1 -1
  80. data/lib/aylien_news_api/models/warning.rb +1 -1
  81. data/lib/aylien_news_api/version.rb +2 -2
  82. data/spec/api/default_api_spec.rb +109 -73
  83. data/spec/api_client_spec.rb +1 -1
  84. data/spec/configuration_spec.rb +1 -1
  85. data/spec/models/aggregated_sentiment_spec.rb +1 -1
  86. data/spec/models/author_spec.rb +1 -1
  87. data/spec/models/autocomplete_spec.rb +1 -1
  88. data/spec/models/autocompletes_spec.rb +1 -1
  89. data/spec/models/category_links_spec.rb +1 -1
  90. data/spec/models/category_spec.rb +1 -1
  91. data/spec/models/category_taxonomy_spec.rb +1 -1
  92. data/spec/models/cluster_spec.rb +1 -1
  93. data/spec/models/clusters_spec.rb +1 -1
  94. data/spec/models/deprecated_entities_spec.rb +47 -0
  95. data/spec/models/deprecated_entity_spec.rb +89 -0
  96. data/spec/models/deprecated_entity_surface_form_spec.rb +53 -0
  97. data/spec/models/deprecated_related_stories_spec.rb +71 -0
  98. data/spec/models/deprecated_stories_spec.rb +65 -0
  99. data/spec/models/deprecated_story_spec.rb +173 -0
  100. data/spec/models/entity_in_text_spec.rb +47 -0
  101. data/spec/models/entity_links_spec.rb +7 -1
  102. data/spec/models/entity_mention_index_spec.rb +47 -0
  103. data/spec/models/entity_mention_spec.rb +47 -0
  104. data/spec/models/entity_sentiment_spec.rb +1 -1
  105. data/spec/models/entity_spec.rb +24 -6
  106. data/spec/models/entity_surface_form_spec.rb +8 -2
  107. data/spec/models/error_links_spec.rb +1 -1
  108. data/spec/models/error_spec.rb +1 -1
  109. data/spec/models/errors_spec.rb +1 -1
  110. data/spec/models/histogram_interval_spec.rb +1 -1
  111. data/spec/models/histograms_spec.rb +1 -1
  112. data/spec/models/location_spec.rb +1 -1
  113. data/spec/models/logicals_spec.rb +1 -1
  114. data/spec/models/media_format_spec.rb +1 -1
  115. data/spec/models/media_spec.rb +1 -1
  116. data/spec/models/media_type_spec.rb +1 -1
  117. data/spec/models/nested_entity_spec.rb +20 -2
  118. data/spec/models/parameter_spec.rb +7 -7
  119. data/spec/models/query_spec.rb +1 -1
  120. data/spec/models/rank_spec.rb +1 -1
  121. data/spec/models/rankings_spec.rb +1 -1
  122. data/spec/models/related_stories_spec.rb +1 -1
  123. data/spec/models/representative_story_spec.rb +1 -1
  124. data/spec/models/scope_level_spec.rb +1 -1
  125. data/spec/models/scope_spec.rb +1 -1
  126. data/spec/models/sentiment_polarity_spec.rb +1 -1
  127. data/spec/models/sentiment_spec.rb +1 -1
  128. data/spec/models/sentiments_spec.rb +1 -1
  129. data/spec/models/share_count_spec.rb +1 -1
  130. data/spec/models/share_counts_spec.rb +1 -1
  131. data/spec/models/source_spec.rb +1 -1
  132. data/spec/models/stories_spec.rb +1 -1
  133. data/spec/models/story_cluster_spec.rb +1 -1
  134. data/spec/models/story_links_spec.rb +1 -1
  135. data/spec/models/story_spec.rb +7 -1
  136. data/spec/models/story_translation_spec.rb +1 -1
  137. data/spec/models/story_translations_spec.rb +1 -1
  138. data/spec/models/summary_spec.rb +1 -1
  139. data/spec/models/time_series_list_spec.rb +1 -1
  140. data/spec/models/time_series_spec.rb +7 -1
  141. data/spec/models/trend_spec.rb +7 -1
  142. data/spec/models/trends_spec.rb +1 -1
  143. data/spec/models/warning_spec.rb +1 -1
  144. data/spec/spec_helper.rb +1 -1
  145. metadata +38 -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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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 :entities_body_links_dbpedia
35
+ attr_accessor :entities_id
36
36
 
37
- attr_accessor :entities_body_text
37
+ attr_accessor :entities_surface_forms_text
38
38
 
39
- attr_accessor :entities_body_type
39
+ attr_accessor :entities_links_wikipedia
40
40
 
41
- attr_accessor :entities_title_links_dbpedia
41
+ attr_accessor :entities_links_wikidata
42
42
 
43
- attr_accessor :entities_title_text
43
+ attr_accessor :entities_title_surface_forms_text
44
44
 
45
- attr_accessor :entities_title_type
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
- :'entities_body_links_dbpedia' => :'entities.body.links.dbpedia',
142
- :'entities_body_text' => :'entities.body.text',
143
- :'entities_body_type' => :'entities.body.type',
144
- :'entities_title_links_dbpedia' => :'entities.title.links.dbpedia',
145
- :'entities_title_text' => :'entities.title.text',
146
- :'entities_title_type' => :'entities.title.type',
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
- :'entities_body_links_dbpedia' => :'Query',
204
- :'entities_body_text' => :'Query',
205
- :'entities_body_type' => :'Query',
206
- :'entities_title_links_dbpedia' => :'Query',
207
- :'entities_title_text' => :'Query',
208
- :'entities_title_type' => :'Query',
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?(:'entities_body_links_dbpedia')
311
- self.entities_body_links_dbpedia = attributes[:'entities_body_links_dbpedia']
310
+ if attributes.key?(:'entities_id')
311
+ self.entities_id = attributes[:'entities_id']
312
312
  end
313
313
 
314
- if attributes.key?(:'entities_body_text')
315
- self.entities_body_text = attributes[:'entities_body_text']
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?(:'entities_body_type')
319
- self.entities_body_type = attributes[:'entities_body_type']
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?(:'entities_title_links_dbpedia')
323
- self.entities_title_links_dbpedia = attributes[:'entities_title_links_dbpedia']
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?(:'entities_title_text')
327
- self.entities_title_text = attributes[:'entities_title_text']
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?(:'entities_title_type')
331
- self.entities_title_type = attributes[:'entities_title_type']
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
- entities_body_links_dbpedia == o.entities_body_links_dbpedia &&
527
- entities_body_text == o.entities_body_text &&
528
- entities_body_type == o.entities_body_type &&
529
- entities_title_links_dbpedia == o.entities_title_links_dbpedia &&
530
- entities_title_text == o.entities_title_text &&
531
- entities_title_type == o.entities_title_type &&
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, entities_body_links_dbpedia, entities_body_text, entities_body_type, entities_title_links_dbpedia, entities_title_text, entities_title_type, 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
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
7
7
  Contact: support@aylien.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -13,6 +13,7 @@ OpenAPI Generator version: 5.0.0-SNAPSHOT
13
13
  require 'date'
14
14
 
15
15
  module AylienNewsApi
16
+ # Story containing new V3 entities - available for new_v3_entities feature flag
16
17
  class RelatedStories
17
18
  # An array of related stories for the input story
18
19
  attr_accessor :related_stories
@@ -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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
7
7
  Contact: support@aylien.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -13,6 +13,7 @@ OpenAPI Generator version: 5.0.0-SNAPSHOT
13
13
  require 'date'
14
14
 
15
15
  module AylienNewsApi
16
+ # Stories containing new V3 entities - available for new_v3_entities feature flag
16
17
  class Stories
17
18
  # The next page cursor
18
19
  attr_accessor :next_page_cursor
@@ -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.0
6
+ The version of the OpenAPI document: 5.0
7
7
  Contact: support@aylien.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -28,6 +28,7 @@ module AylienNewsApi
28
28
  # An array of clusters the story is associated with
29
29
  attr_accessor :clusters
30
30
 
31
+ # An array of entities
31
32
  attr_accessor :entities
32
33
 
33
34
  # An array of suggested Story hashtags
@@ -112,7 +113,7 @@ module AylienNewsApi
112
113
  :'categories' => :'Array<Category>',
113
114
  :'characters_count' => :'Integer',
114
115
  :'clusters' => :'Array<Integer>',
115
- :'entities' => :'Entities',
116
+ :'entities' => :'Array<Entity>',
116
117
  :'hashtags' => :'Array<String>',
117
118
  :'id' => :'Integer',
118
119
  :'keywords' => :'Array<String>',
@@ -179,7 +180,9 @@ module AylienNewsApi
179
180
  end
180
181
 
181
182
  if attributes.key?(:'entities')
182
- self.entities = attributes[:'entities']
183
+ if (value = attributes[:'entities']).is_a?(Array)
184
+ self.entities = value
185
+ end
183
186
  end
184
187
 
185
188
  if attributes.key?(:'hashtags')
@@ -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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
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.0
6
+ The version of the OpenAPI document: 5.0
7
7
  Contact: support@aylien.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0-SNAPSHOT