aylien_news_api 4.7.0 → 5.0.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 +0 -2
- data/docs/DefaultApi.md +152 -356
- data/docs/DeprecatedStory.md +2 -6
- data/docs/Parameter.md +12 -12
- data/lib/aylien_news_api/api/default_api.rb +236 -542
- 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 +14 -17
- data/lib/aylien_news_api/models/category_links.rb +2 -16
- data/lib/aylien_news_api/models/category_taxonomy.rb +1 -2
- 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 +6 -28
- data/lib/aylien_news_api/models/entity.rb +1 -1
- 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 +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 +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 +1 -1
- 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 +4 -7
- data/spec/api/default_api_spec.rb +77 -179
- 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 +1 -7
- 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 +1 -13
- 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 +1 -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/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 +1 -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 +2 -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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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
|
@@ -26,13 +26,13 @@ module AylienNewsApi
|
|
26
26
|
# The level of the category
|
27
27
|
attr_accessor :level
|
28
28
|
|
29
|
+
attr_accessor :links
|
30
|
+
|
29
31
|
# The score of the category
|
30
32
|
attr_accessor :score
|
31
33
|
|
32
34
|
attr_accessor :taxonomy
|
33
35
|
|
34
|
-
attr_accessor :links
|
35
|
-
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
37
|
def self.attribute_map
|
38
38
|
{
|
@@ -40,9 +40,9 @@ module AylienNewsApi
|
|
40
40
|
:'id' => :'id',
|
41
41
|
:'label' => :'label',
|
42
42
|
:'level' => :'level',
|
43
|
+
:'links' => :'links',
|
43
44
|
:'score' => :'score',
|
44
|
-
:'taxonomy' => :'taxonomy'
|
45
|
-
:'links' => :'links'
|
45
|
+
:'taxonomy' => :'taxonomy'
|
46
46
|
}
|
47
47
|
end
|
48
48
|
|
@@ -53,18 +53,15 @@ module AylienNewsApi
|
|
53
53
|
:'id' => :'String',
|
54
54
|
:'label' => :'String',
|
55
55
|
:'level' => :'Integer',
|
56
|
+
:'links' => :'CategoryLinks',
|
56
57
|
:'score' => :'Float',
|
57
|
-
:'taxonomy' => :'CategoryTaxonomy'
|
58
|
-
:'links' => :'CategoryLinks'
|
58
|
+
:'taxonomy' => :'CategoryTaxonomy'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
62
62
|
# List of attributes with nullable: true
|
63
63
|
def self.openapi_nullable
|
64
64
|
Set.new([
|
65
|
-
:'confident',
|
66
|
-
:'level',
|
67
|
-
:'score',
|
68
65
|
])
|
69
66
|
end
|
70
67
|
|
@@ -99,6 +96,10 @@ module AylienNewsApi
|
|
99
96
|
self.level = attributes[:'level']
|
100
97
|
end
|
101
98
|
|
99
|
+
if attributes.key?(:'links')
|
100
|
+
self.links = attributes[:'links']
|
101
|
+
end
|
102
|
+
|
102
103
|
if attributes.key?(:'score')
|
103
104
|
self.score = attributes[:'score']
|
104
105
|
end
|
@@ -106,10 +107,6 @@ module AylienNewsApi
|
|
106
107
|
if attributes.key?(:'taxonomy')
|
107
108
|
self.taxonomy = attributes[:'taxonomy']
|
108
109
|
end
|
109
|
-
|
110
|
-
if attributes.key?(:'links')
|
111
|
-
self.links = attributes[:'links']
|
112
|
-
end
|
113
110
|
end
|
114
111
|
|
115
112
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -134,9 +131,9 @@ module AylienNewsApi
|
|
134
131
|
id == o.id &&
|
135
132
|
label == o.label &&
|
136
133
|
level == o.level &&
|
134
|
+
links == o.links &&
|
137
135
|
score == o.score &&
|
138
|
-
taxonomy == o.taxonomy
|
139
|
-
links == o.links
|
136
|
+
taxonomy == o.taxonomy
|
140
137
|
end
|
141
138
|
|
142
139
|
# @see the `==` method
|
@@ -148,7 +145,7 @@ module AylienNewsApi
|
|
148
145
|
# Calculates hash code according to all attributes.
|
149
146
|
# @return [Integer] Hash code
|
150
147
|
def hash
|
151
|
-
[confident, id, label, level, score, taxonomy
|
148
|
+
[confident, id, label, level, links, score, taxonomy].hash
|
152
149
|
end
|
153
150
|
|
154
151
|
# 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: 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
|
@@ -17,9 +17,6 @@ module AylienNewsApi
|
|
17
17
|
# A URL pointing to the parent category
|
18
18
|
attr_accessor :parent
|
19
19
|
|
20
|
-
# A collection of URLs pointing to the category parents
|
21
|
-
attr_accessor :parents
|
22
|
-
|
23
20
|
# A URL pointing to the category
|
24
21
|
attr_accessor :_self
|
25
22
|
|
@@ -27,7 +24,6 @@ module AylienNewsApi
|
|
27
24
|
def self.attribute_map
|
28
25
|
{
|
29
26
|
:'parent' => :'parent',
|
30
|
-
:'parents' => :'parents',
|
31
27
|
:'_self' => :'self'
|
32
28
|
}
|
33
29
|
end
|
@@ -36,7 +32,6 @@ module AylienNewsApi
|
|
36
32
|
def self.openapi_types
|
37
33
|
{
|
38
34
|
:'parent' => :'String',
|
39
|
-
:'parents' => :'Array<String>',
|
40
35
|
:'_self' => :'String'
|
41
36
|
}
|
42
37
|
end
|
@@ -44,8 +39,6 @@ module AylienNewsApi
|
|
44
39
|
# List of attributes with nullable: true
|
45
40
|
def self.openapi_nullable
|
46
41
|
Set.new([
|
47
|
-
:'parent',
|
48
|
-
:'parents',
|
49
42
|
])
|
50
43
|
end
|
51
44
|
|
@@ -68,12 +61,6 @@ module AylienNewsApi
|
|
68
61
|
self.parent = attributes[:'parent']
|
69
62
|
end
|
70
63
|
|
71
|
-
if attributes.key?(:'parents')
|
72
|
-
if (value = attributes[:'parents']).is_a?(Array)
|
73
|
-
self.parents = value
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
64
|
if attributes.key?(:'_self')
|
78
65
|
self._self = attributes[:'_self']
|
79
66
|
end
|
@@ -98,7 +85,6 @@ module AylienNewsApi
|
|
98
85
|
return true if self.equal?(o)
|
99
86
|
self.class == o.class &&
|
100
87
|
parent == o.parent &&
|
101
|
-
parents == o.parents &&
|
102
88
|
_self == o._self
|
103
89
|
end
|
104
90
|
|
@@ -111,7 +97,7 @@ module AylienNewsApi
|
|
111
97
|
# Calculates hash code according to all attributes.
|
112
98
|
# @return [Integer] Hash code
|
113
99
|
def hash
|
114
|
-
[parent,
|
100
|
+
[parent, _self].hash
|
115
101
|
end
|
116
102
|
|
117
103
|
# 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: 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
|
@@ -16,7 +16,6 @@ module AylienNewsApi
|
|
16
16
|
class CategoryTaxonomy
|
17
17
|
IAB_QAG = "iab-qag".freeze
|
18
18
|
IPTC_SUBJECTCODE = "iptc-subjectcode".freeze
|
19
|
-
AYLIEN = "aylien".freeze
|
20
19
|
|
21
20
|
# Builds the enum from string
|
22
21
|
# @param [String] The enum value in the form of the string
|
@@ -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
|
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
|
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: 3.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:
|
6
|
+
The version of the OpenAPI document: 3.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:
|
6
|
+
The version of the OpenAPI document: 3.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:
|
6
|
+
The version of the OpenAPI document: 3.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:
|
6
|
+
The version of the OpenAPI document: 3.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:
|
6
|
+
The version of the OpenAPI document: 3.0
|
7
7
|
Contact: support@aylien.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -50,10 +50,7 @@ module AylienNewsApi
|
|
50
50
|
# Paragraph count of the story body
|
51
51
|
attr_accessor :paragraphs_count
|
52
52
|
|
53
|
-
#
|
54
|
-
attr_accessor :published_datetime
|
55
|
-
|
56
|
-
# Acquisition time of the story
|
53
|
+
# Published date of the story
|
57
54
|
attr_accessor :published_at
|
58
55
|
|
59
56
|
# Sentence count of the story body
|
@@ -78,9 +75,6 @@ module AylienNewsApi
|
|
78
75
|
# License type of the story
|
79
76
|
attr_accessor :license_type
|
80
77
|
|
81
|
-
# An array of industries categories
|
82
|
-
attr_accessor :industries
|
83
|
-
|
84
78
|
# Attribute mapping from ruby-style variable name to JSON key.
|
85
79
|
def self.attribute_map
|
86
80
|
{
|
@@ -97,7 +91,6 @@ module AylienNewsApi
|
|
97
91
|
:'links' => :'links',
|
98
92
|
:'media' => :'media',
|
99
93
|
:'paragraphs_count' => :'paragraphs_count',
|
100
|
-
:'published_datetime' => :'published_datetime',
|
101
94
|
:'published_at' => :'published_at',
|
102
95
|
:'sentences_count' => :'sentences_count',
|
103
96
|
:'sentiment' => :'sentiment',
|
@@ -107,8 +100,7 @@ module AylienNewsApi
|
|
107
100
|
:'title' => :'title',
|
108
101
|
:'translations' => :'translations',
|
109
102
|
:'words_count' => :'words_count',
|
110
|
-
:'license_type' => :'license_type'
|
111
|
-
:'industries' => :'industries'
|
103
|
+
:'license_type' => :'license_type'
|
112
104
|
}
|
113
105
|
end
|
114
106
|
|
@@ -128,7 +120,6 @@ module AylienNewsApi
|
|
128
120
|
:'links' => :'StoryLinks',
|
129
121
|
:'media' => :'Array<Media>',
|
130
122
|
:'paragraphs_count' => :'Integer',
|
131
|
-
:'published_datetime' => :'DateTime',
|
132
123
|
:'published_at' => :'DateTime',
|
133
124
|
:'sentences_count' => :'Integer',
|
134
125
|
:'sentiment' => :'Sentiments',
|
@@ -138,8 +129,7 @@ module AylienNewsApi
|
|
138
129
|
:'title' => :'String',
|
139
130
|
:'translations' => :'StoryTranslations',
|
140
131
|
:'words_count' => :'Integer',
|
141
|
-
:'license_type' => :'Integer'
|
142
|
-
:'industries' => :'Array<Category>'
|
132
|
+
:'license_type' => :'Integer'
|
143
133
|
}
|
144
134
|
end
|
145
135
|
|
@@ -226,10 +216,6 @@ module AylienNewsApi
|
|
226
216
|
self.paragraphs_count = attributes[:'paragraphs_count']
|
227
217
|
end
|
228
218
|
|
229
|
-
if attributes.key?(:'published_datetime')
|
230
|
-
self.published_datetime = attributes[:'published_datetime']
|
231
|
-
end
|
232
|
-
|
233
219
|
if attributes.key?(:'published_at')
|
234
220
|
self.published_at = attributes[:'published_at']
|
235
221
|
end
|
@@ -269,12 +255,6 @@ module AylienNewsApi
|
|
269
255
|
if attributes.key?(:'license_type')
|
270
256
|
self.license_type = attributes[:'license_type']
|
271
257
|
end
|
272
|
-
|
273
|
-
if attributes.key?(:'industries')
|
274
|
-
if (value = attributes[:'industries']).is_a?(Array)
|
275
|
-
self.industries = value
|
276
|
-
end
|
277
|
-
end
|
278
258
|
end
|
279
259
|
|
280
260
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -308,7 +288,6 @@ module AylienNewsApi
|
|
308
288
|
links == o.links &&
|
309
289
|
media == o.media &&
|
310
290
|
paragraphs_count == o.paragraphs_count &&
|
311
|
-
published_datetime == o.published_datetime &&
|
312
291
|
published_at == o.published_at &&
|
313
292
|
sentences_count == o.sentences_count &&
|
314
293
|
sentiment == o.sentiment &&
|
@@ -318,8 +297,7 @@ module AylienNewsApi
|
|
318
297
|
title == o.title &&
|
319
298
|
translations == o.translations &&
|
320
299
|
words_count == o.words_count &&
|
321
|
-
license_type == o.license_type
|
322
|
-
industries == o.industries
|
300
|
+
license_type == o.license_type
|
323
301
|
end
|
324
302
|
|
325
303
|
# @see the `==` method
|
@@ -331,7 +309,7 @@ module AylienNewsApi
|
|
331
309
|
# Calculates hash code according to all attributes.
|
332
310
|
# @return [Integer] Hash code
|
333
311
|
def hash
|
334
|
-
[author, body, categories, characters_count, clusters, entities, hashtags, id, keywords, language, links, media, paragraphs_count,
|
312
|
+
[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
|
335
313
|
end
|
336
314
|
|
337
315
|
# 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: 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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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
|