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
@@ -27,6 +27,7 @@ module Fastly
|
|
27
27
|
|
28
28
|
attr_accessor :service_id
|
29
29
|
|
30
|
+
# String representing the number identifying a version of the service.
|
30
31
|
attr_accessor :version
|
31
32
|
|
32
33
|
attr_accessor :id
|
@@ -57,7 +58,7 @@ module Fastly
|
|
57
58
|
:'deleted_at' => :'Time',
|
58
59
|
:'updated_at' => :'Time',
|
59
60
|
:'service_id' => :'String',
|
60
|
-
:'version' => :'
|
61
|
+
:'version' => :'String',
|
61
62
|
:'id' => :'String'
|
62
63
|
}
|
63
64
|
end
|
@@ -76,7 +77,6 @@ module Fastly
|
|
76
77
|
[
|
77
78
|
:'Acl',
|
78
79
|
:'AclResponseAllOf',
|
79
|
-
:'ServiceIdAndVersion',
|
80
80
|
:'Timestamps'
|
81
81
|
]
|
82
82
|
end
|
@@ -13,11 +13,18 @@ require 'time'
|
|
13
13
|
|
14
14
|
module Fastly
|
15
15
|
class AclResponseAllOf
|
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
|