aylien_news_api 4.3.1 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/aylien_news_api.gemspec +1 -1
- data/docs/Category.md +3 -3
- data/docs/CategoryLinks.md +2 -0
- data/docs/DefaultApi.md +200 -176
- data/docs/DeprecatedEntities.md +19 -0
- data/docs/DeprecatedEntity.md +33 -0
- data/docs/DeprecatedEntitySurfaceForm.md +21 -0
- data/docs/DeprecatedRelatedStories.md +27 -0
- data/docs/DeprecatedStories.md +25 -0
- data/docs/DeprecatedStory.md +65 -0
- data/docs/Entity.md +12 -10
- data/docs/EntityInText.md +19 -0
- data/docs/EntityMention.md +19 -0
- data/docs/EntityMentionIndex.md +19 -0
- data/docs/EntitySurfaceForm.md +4 -2
- data/docs/Story.md +1 -1
- data/lib/aylien_news_api/api/default_api.rb +225 -189
- 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 +17 -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 +221 -0
- data/lib/aylien_news_api/models/deprecated_entity.rb +314 -0
- data/lib/aylien_news_api/models/deprecated_entity_surface_form.rb +244 -0
- data/lib/aylien_news_api/models/deprecated_related_stories.rb +260 -0
- data/lib/aylien_news_api/models/deprecated_stories.rb +252 -0
- data/lib/aylien_news_api/models/deprecated_story.rb +451 -0
- data/lib/aylien_news_api/models/entity.rb +91 -45
- data/lib/aylien_news_api/models/entity_in_text.rb +217 -0
- data/lib/aylien_news_api/models/entity_links.rb +1 -1
- data/lib/aylien_news_api/models/entity_mention.rb +215 -0
- data/lib/aylien_news_api/models/entity_mention_index.rb +265 -0
- data/lib/aylien_news_api/models/entity_sentiment.rb +1 -1
- data/lib/aylien_news_api/models/entity_surface_form.rb +35 -10
- data/lib/aylien_news_api/models/error.rb +1 -1
- 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/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 +1 -1
- 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 +2 -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 +2 -1
- data/lib/aylien_news_api/models/story.rb +6 -3
- 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 +10 -5
- data/spec/api/default_api_spec.rb +143 -5
- 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 +47 -0
- data/spec/models/deprecated_entity_spec.rb +89 -0
- data/spec/models/deprecated_entity_surface_form_spec.rb +53 -0
- data/spec/models/deprecated_related_stories_spec.rb +71 -0
- data/spec/models/deprecated_stories_spec.rb +65 -0
- data/spec/models/deprecated_story_spec.rb +185 -0
- data/spec/models/entity_in_text_spec.rb +47 -0
- data/spec/models/entity_links_spec.rb +7 -1
- data/spec/models/entity_mention_index_spec.rb +47 -0
- data/spec/models/entity_mention_spec.rb +47 -0
- data/spec/models/entity_sentiment_spec.rb +1 -1
- data/spec/models/entity_spec.rb +24 -6
- data/spec/models/entity_surface_form_spec.rb +8 -2
- 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/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 +20 -2
- data/spec/models/parameter_spec.rb +1 -1
- 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 +7 -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 +7 -1
- data/spec/models/trend_spec.rb +7 -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 +38 -3
- data/aylien_news_api-4.3.0.gem +0 -0
@@ -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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
7
7
|
Contact: support@aylien.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -17,14 +17,18 @@ module AylienNewsApi
|
|
17
17
|
# The entity text
|
18
18
|
attr_accessor :text
|
19
19
|
|
20
|
-
#
|
21
|
-
attr_accessor :
|
20
|
+
# Amount of entity surface form mentions in the article
|
21
|
+
attr_accessor :frequency
|
22
|
+
|
23
|
+
# Mentions of the entity text
|
24
|
+
attr_accessor :mentions
|
22
25
|
|
23
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
27
|
def self.attribute_map
|
25
28
|
{
|
26
29
|
:'text' => :'text',
|
27
|
-
:'
|
30
|
+
:'frequency' => :'frequency',
|
31
|
+
:'mentions' => :'mentions'
|
28
32
|
}
|
29
33
|
end
|
30
34
|
|
@@ -32,7 +36,8 @@ module AylienNewsApi
|
|
32
36
|
def self.openapi_types
|
33
37
|
{
|
34
38
|
:'text' => :'String',
|
35
|
-
:'
|
39
|
+
:'frequency' => :'Integer',
|
40
|
+
:'mentions' => :'Array<EntityMention>'
|
36
41
|
}
|
37
42
|
end
|
38
43
|
|
@@ -61,9 +66,13 @@ module AylienNewsApi
|
|
61
66
|
self.text = attributes[:'text']
|
62
67
|
end
|
63
68
|
|
64
|
-
if attributes.key?(:'
|
65
|
-
|
66
|
-
|
69
|
+
if attributes.key?(:'frequency')
|
70
|
+
self.frequency = attributes[:'frequency']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.key?(:'mentions')
|
74
|
+
if (value = attributes[:'mentions']).is_a?(Array)
|
75
|
+
self.mentions = value
|
67
76
|
end
|
68
77
|
end
|
69
78
|
end
|
@@ -72,22 +81,38 @@ module AylienNewsApi
|
|
72
81
|
# @return Array for valid properties with the reasons
|
73
82
|
def list_invalid_properties
|
74
83
|
invalid_properties = Array.new
|
84
|
+
if !@frequency.nil? && @frequency < 0
|
85
|
+
invalid_properties.push('invalid value for "frequency", must be greater than or equal to 0.')
|
86
|
+
end
|
87
|
+
|
75
88
|
invalid_properties
|
76
89
|
end
|
77
90
|
|
78
91
|
# Check to see if the all the properties in the model are valid
|
79
92
|
# @return true if the model is valid
|
80
93
|
def valid?
|
94
|
+
return false if !@frequency.nil? && @frequency < 0
|
81
95
|
true
|
82
96
|
end
|
83
97
|
|
98
|
+
# Custom attribute writer method with validation
|
99
|
+
# @param [Object] frequency Value to be assigned
|
100
|
+
def frequency=(frequency)
|
101
|
+
if !frequency.nil? && frequency < 0
|
102
|
+
fail ArgumentError, 'invalid value for "frequency", must be greater than or equal to 0.'
|
103
|
+
end
|
104
|
+
|
105
|
+
@frequency = frequency
|
106
|
+
end
|
107
|
+
|
84
108
|
# Checks equality by comparing each attribute.
|
85
109
|
# @param [Object] Object to be compared
|
86
110
|
def ==(o)
|
87
111
|
return true if self.equal?(o)
|
88
112
|
self.class == o.class &&
|
89
113
|
text == o.text &&
|
90
|
-
|
114
|
+
frequency == o.frequency &&
|
115
|
+
mentions == o.mentions
|
91
116
|
end
|
92
117
|
|
93
118
|
# @see the `==` method
|
@@ -99,7 +124,7 @@ module AylienNewsApi
|
|
99
124
|
# Calculates hash code according to all attributes.
|
100
125
|
# @return [Integer] Hash code
|
101
126
|
def hash
|
102
|
-
[text,
|
127
|
+
[text, frequency, mentions].hash
|
103
128
|
end
|
104
129
|
|
105
130
|
# 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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 5.0.1
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 5.0.1
|
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:
|
6
|
+
The version of the OpenAPI document: 5.0.1
|
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' => :'
|
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
|
-
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
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:
|
6
|
+
The version of the OpenAPI document: 4.7
|
7
7
|
Contact: support@aylien.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|