fastly 5.1.0 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -5
- data/docs/AclResponse.md +1 -1
- data/docs/AclResponseAllOf.md +2 -0
- data/docs/HistoricalFieldAggregateResponse.md +1 -1
- data/docs/HistoricalFieldAggregateResponseAllOf.md +1 -1
- data/docs/HistoricalFieldResultsAttributes.md +227 -0
- data/docs/HistoricalFieldResultsAttributesAllOf.md +11 -0
- data/docs/KvStoreApi.md +0 -2
- data/docs/KvStoreItemApi.md +0 -2
- data/docs/RealtimeMeasurements.md +5 -4
- data/docs/Results.md +5 -4
- data/docs/SchemasSnippetResponse.md +3 -3
- data/docs/Snippet.md +1 -1
- data/docs/SnippetApi.md +4 -4
- data/docs/SnippetResponse.md +3 -3
- data/docs/SnippetResponseAllOf.md +2 -0
- data/docs/TokensApi.md +38 -0
- data/lib/fastly/api/kv_store_api.rb +0 -3
- data/lib/fastly/api/kv_store_item_api.rb +0 -3
- data/lib/fastly/api/purge_api.rb +1 -1
- data/lib/fastly/api/snippet_api.rb +4 -4
- data/lib/fastly/api/tokens_api.rb +63 -0
- data/lib/fastly/api_client.rb +0 -2
- data/lib/fastly/configuration.rb +2616 -0
- data/lib/fastly/models/acl_response.rb +2 -2
- data/lib/fastly/models/acl_response_all_of.rb +20 -1
- data/lib/fastly/models/backend.rb +1 -0
- data/lib/fastly/models/backend_response.rb +1 -0
- data/lib/fastly/models/historical_field_aggregate_response.rb +1 -1
- data/lib/fastly/models/historical_field_aggregate_response_all_of.rb +1 -1
- data/lib/fastly/models/historical_field_results_attributes.rb +2395 -0
- data/lib/fastly/models/historical_field_results_attributes_all_of.rb +226 -0
- data/lib/fastly/models/realtime_measurements.rb +33 -23
- data/lib/fastly/models/results.rb +33 -23
- data/lib/fastly/models/schemas_snippet_response.rb +22 -22
- data/lib/fastly/models/snippet.rb +2 -2
- data/lib/fastly/models/snippet_response.rb +22 -22
- data/lib/fastly/models/snippet_response_all_of.rb +20 -1
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +2 -0
- data/sig.json +1 -1
- metadata +6 -2
@@ -73,7 +73,7 @@ module Fastly
|
|
73
73
|
:'dynamic' => :'Integer',
|
74
74
|
:'type' => :'String',
|
75
75
|
:'content' => :'String',
|
76
|
-
:'priority' => :'
|
76
|
+
:'priority' => :'String'
|
77
77
|
}
|
78
78
|
end
|
79
79
|
|
@@ -117,7 +117,7 @@ module Fastly
|
|
117
117
|
if attributes.key?(:'priority')
|
118
118
|
self.priority = attributes[:'priority']
|
119
119
|
else
|
120
|
-
self.priority = 100
|
120
|
+
self.priority = '100'
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
@@ -28,10 +28,6 @@ module Fastly
|
|
28
28
|
# Priority determines execution order. Lower numbers execute first.
|
29
29
|
attr_accessor :priority
|
30
30
|
|
31
|
-
attr_accessor :service_id
|
32
|
-
|
33
|
-
attr_accessor :version
|
34
|
-
|
35
31
|
# Date and time in ISO 8601 format.
|
36
32
|
attr_accessor :created_at
|
37
33
|
|
@@ -41,6 +37,11 @@ module Fastly
|
|
41
37
|
# Date and time in ISO 8601 format.
|
42
38
|
attr_accessor :updated_at
|
43
39
|
|
40
|
+
attr_accessor :service_id
|
41
|
+
|
42
|
+
# String representing the number identifying a version of the service.
|
43
|
+
attr_accessor :version
|
44
|
+
|
44
45
|
attr_accessor :id
|
45
46
|
|
46
47
|
class EnumAttributeValidator
|
@@ -73,11 +74,11 @@ module Fastly
|
|
73
74
|
:'type' => :'type',
|
74
75
|
:'content' => :'content',
|
75
76
|
:'priority' => :'priority',
|
76
|
-
:'service_id' => :'service_id',
|
77
|
-
:'version' => :'version',
|
78
77
|
:'created_at' => :'created_at',
|
79
78
|
:'deleted_at' => :'deleted_at',
|
80
79
|
:'updated_at' => :'updated_at',
|
80
|
+
:'service_id' => :'service_id',
|
81
|
+
:'version' => :'version',
|
81
82
|
:'id' => :'id'
|
82
83
|
}
|
83
84
|
end
|
@@ -94,12 +95,12 @@ module Fastly
|
|
94
95
|
:'dynamic' => :'Integer',
|
95
96
|
:'type' => :'String',
|
96
97
|
:'content' => :'String',
|
97
|
-
:'priority' => :'
|
98
|
-
:'service_id' => :'String',
|
99
|
-
:'version' => :'Integer',
|
98
|
+
:'priority' => :'String',
|
100
99
|
:'created_at' => :'Time',
|
101
100
|
:'deleted_at' => :'Time',
|
102
101
|
:'updated_at' => :'Time',
|
102
|
+
:'service_id' => :'String',
|
103
|
+
:'version' => :'String',
|
103
104
|
:'id' => :'String'
|
104
105
|
}
|
105
106
|
end
|
@@ -116,7 +117,6 @@ module Fastly
|
|
116
117
|
# List of class defined in allOf (OpenAPI v3)
|
117
118
|
def self.fastly_all_of
|
118
119
|
[
|
119
|
-
:'ServiceIdAndVersion',
|
120
120
|
:'Snippet',
|
121
121
|
:'SnippetResponseAllOf',
|
122
122
|
:'Timestamps'
|
@@ -157,15 +157,7 @@ module Fastly
|
|
157
157
|
if attributes.key?(:'priority')
|
158
158
|
self.priority = attributes[:'priority']
|
159
159
|
else
|
160
|
-
self.priority = 100
|
161
|
-
end
|
162
|
-
|
163
|
-
if attributes.key?(:'service_id')
|
164
|
-
self.service_id = attributes[:'service_id']
|
165
|
-
end
|
166
|
-
|
167
|
-
if attributes.key?(:'version')
|
168
|
-
self.version = attributes[:'version']
|
160
|
+
self.priority = '100'
|
169
161
|
end
|
170
162
|
|
171
163
|
if attributes.key?(:'created_at')
|
@@ -180,6 +172,14 @@ module Fastly
|
|
180
172
|
self.updated_at = attributes[:'updated_at']
|
181
173
|
end
|
182
174
|
|
175
|
+
if attributes.key?(:'service_id')
|
176
|
+
self.service_id = attributes[:'service_id']
|
177
|
+
end
|
178
|
+
|
179
|
+
if attributes.key?(:'version')
|
180
|
+
self.version = attributes[:'version']
|
181
|
+
end
|
182
|
+
|
183
183
|
if attributes.key?(:'id')
|
184
184
|
self.id = attributes[:'id']
|
185
185
|
end
|
@@ -232,11 +232,11 @@ module Fastly
|
|
232
232
|
type == o.type &&
|
233
233
|
content == o.content &&
|
234
234
|
priority == o.priority &&
|
235
|
-
service_id == o.service_id &&
|
236
|
-
version == o.version &&
|
237
235
|
created_at == o.created_at &&
|
238
236
|
deleted_at == o.deleted_at &&
|
239
237
|
updated_at == o.updated_at &&
|
238
|
+
service_id == o.service_id &&
|
239
|
+
version == o.version &&
|
240
240
|
id == o.id
|
241
241
|
end
|
242
242
|
|
@@ -249,7 +249,7 @@ module Fastly
|
|
249
249
|
# Calculates hash code according to all attributes.
|
250
250
|
# @return [Integer] Hash code
|
251
251
|
def hash
|
252
|
-
[name, dynamic, type, content, priority,
|
252
|
+
[name, dynamic, type, content, priority, created_at, deleted_at, updated_at, service_id, version, id].hash
|
253
253
|
end
|
254
254
|
|
255
255
|
# Builds the object from hash
|
@@ -13,11 +13,18 @@ require 'time'
|
|
13
13
|
|
14
14
|
module Fastly
|
15
15
|
class SnippetResponseAllOf
|
16
|
+
attr_accessor :service_id
|
17
|
+
|
18
|
+
# String representing the number identifying a version of the service.
|
19
|
+
attr_accessor :version
|
20
|
+
|
16
21
|
attr_accessor :id
|
17
22
|
|
18
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
19
24
|
def self.attribute_map
|
20
25
|
{
|
26
|
+
:'service_id' => :'service_id',
|
27
|
+
:'version' => :'version',
|
21
28
|
:'id' => :'id'
|
22
29
|
}
|
23
30
|
end
|
@@ -30,6 +37,8 @@ module Fastly
|
|
30
37
|
# Attribute type mapping.
|
31
38
|
def self.fastly_types
|
32
39
|
{
|
40
|
+
:'service_id' => :'String',
|
41
|
+
:'version' => :'String',
|
33
42
|
:'id' => :'String'
|
34
43
|
}
|
35
44
|
end
|
@@ -55,6 +64,14 @@ module Fastly
|
|
55
64
|
h[k.to_sym] = v
|
56
65
|
}
|
57
66
|
|
67
|
+
if attributes.key?(:'service_id')
|
68
|
+
self.service_id = attributes[:'service_id']
|
69
|
+
end
|
70
|
+
|
71
|
+
if attributes.key?(:'version')
|
72
|
+
self.version = attributes[:'version']
|
73
|
+
end
|
74
|
+
|
58
75
|
if attributes.key?(:'id')
|
59
76
|
self.id = attributes[:'id']
|
60
77
|
end
|
@@ -78,6 +95,8 @@ module Fastly
|
|
78
95
|
def ==(o)
|
79
96
|
return true if self.equal?(o)
|
80
97
|
self.class == o.class &&
|
98
|
+
service_id == o.service_id &&
|
99
|
+
version == o.version &&
|
81
100
|
id == o.id
|
82
101
|
end
|
83
102
|
|
@@ -90,7 +109,7 @@ module Fastly
|
|
90
109
|
# Calculates hash code according to all attributes.
|
91
110
|
# @return [Integer] Hash code
|
92
111
|
def hash
|
93
|
-
[id].hash
|
112
|
+
[service_id, version, id].hash
|
94
113
|
end
|
95
114
|
|
96
115
|
# Builds the object from hash
|
data/lib/fastly/version.rb
CHANGED
data/lib/fastly.rb
CHANGED
@@ -118,6 +118,8 @@ require 'fastly/models/historical_field_aggregate_response'
|
|
118
118
|
require 'fastly/models/historical_field_aggregate_response_all_of'
|
119
119
|
require 'fastly/models/historical_field_response'
|
120
120
|
require 'fastly/models/historical_field_response_all_of'
|
121
|
+
require 'fastly/models/historical_field_results_attributes'
|
122
|
+
require 'fastly/models/historical_field_results_attributes_all_of'
|
121
123
|
require 'fastly/models/historical_meta'
|
122
124
|
require 'fastly/models/historical_regions_response'
|
123
125
|
require 'fastly/models/historical_regions_response_all_of'
|
data/sig.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"G": "
|
1
|
+
{"G": "845b9d6b", "D": "303ffd8e"}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fastly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -182,6 +182,8 @@ files:
|
|
182
182
|
- docs/HistoricalFieldAggregateResponseAllOf.md
|
183
183
|
- docs/HistoricalFieldResponse.md
|
184
184
|
- docs/HistoricalFieldResponseAllOf.md
|
185
|
+
- docs/HistoricalFieldResultsAttributes.md
|
186
|
+
- docs/HistoricalFieldResultsAttributesAllOf.md
|
185
187
|
- docs/HistoricalMeta.md
|
186
188
|
- docs/HistoricalRegionsResponse.md
|
187
189
|
- docs/HistoricalRegionsResponseAllOf.md
|
@@ -956,6 +958,8 @@ files:
|
|
956
958
|
- lib/fastly/models/historical_field_aggregate_response_all_of.rb
|
957
959
|
- lib/fastly/models/historical_field_response.rb
|
958
960
|
- lib/fastly/models/historical_field_response_all_of.rb
|
961
|
+
- lib/fastly/models/historical_field_results_attributes.rb
|
962
|
+
- lib/fastly/models/historical_field_results_attributes_all_of.rb
|
959
963
|
- lib/fastly/models/historical_meta.rb
|
960
964
|
- lib/fastly/models/historical_regions_response.rb
|
961
965
|
- lib/fastly/models/historical_regions_response_all_of.rb
|