fastly 8.8.0 → 8.10.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 +29 -1
- data/Gemfile.lock +1 -1
- data/README.md +30 -3
- data/docs/AclsInComputeApi.md +284 -0
- data/docs/Backend.md +2 -2
- data/docs/BackendApi.md +8 -8
- data/docs/BackendResponse.md +2 -2
- data/docs/{OriginInspectorRealtimeEntryRecorded.md → ComputeAclCreateAclsRequest.md} +2 -1
- data/docs/ComputeAclCreateAclsResponse.md +11 -0
- data/docs/ComputeAclListEntries.md +11 -0
- data/docs/ComputeAclListEntriesItem.md +11 -0
- data/docs/ComputeAclListEntriesMeta.md +11 -0
- data/docs/ComputeAclLookup.md +12 -0
- data/docs/ComputeAclUpdateEntry.md +12 -0
- data/docs/ConfiguredProductResponse.md +13 -0
- data/docs/ConfiguredProductResponseConfiguration.md +11 -0
- data/docs/ConfiguredProductResponseLinks.md +11 -0
- data/docs/ConfiguredProductResponseProduct.md +11 -0
- data/docs/ContactApi.md +1 -1
- data/docs/CustomerAddress.md +16 -0
- data/docs/CustomerAddressesApi.md +127 -0
- data/docs/DomainInspector.md +1 -1
- data/docs/DomainInspectorRealtimeEntry.md +1 -1
- data/docs/EnabledProductsApi.md +93 -9
- data/docs/Environment.md +12 -0
- data/docs/{RecordedTimestamp.md → EnvironmentName.md} +1 -1
- data/docs/{OriginInspectorSubsequentRequestTimestamp.md → InlineResponse201.md} +2 -1
- data/docs/{SubsequentRequestTimestamp.md → ListCustomerAddressesResponse.md} +2 -1
- data/docs/OriginInspector.md +1 -1
- data/docs/OriginInspectorRealtimeEntry.md +1 -1
- data/docs/RealtimeEntryAggregated.md +1 -0
- data/docs/RealtimeMeasurements.md +1 -0
- data/docs/Results.md +1 -0
- data/docs/SchemasVersionResponse.md +1 -0
- data/docs/ServiceDetail.md +1 -0
- data/docs/ServiceListResponse.md +1 -0
- data/docs/ServiceListResponseAllOf.md +1 -0
- data/docs/ServiceResponse.md +1 -0
- data/docs/ServiceResponseAllOf.md +1 -0
- data/docs/ServiceVersionDetail.md +1 -0
- data/docs/ServiceVersionDetailOrNull.md +1 -0
- data/docs/SetConfiguration.md +11 -0
- data/docs/SetWorkspaceId.md +10 -0
- data/docs/TlsCertificatesApi.md +2 -2
- data/docs/TlsDomainsApi.md +2 -2
- data/docs/TlsSubscriptionsApi.md +2 -2
- data/docs/VersionApi.md +84 -0
- data/docs/VersionResponse.md +1 -0
- data/docs/VersionResponseAllOf.md +1 -0
- data/lib/fastly/api/acls_in_compute_api.rb +470 -0
- data/lib/fastly/api/backend_api.rb +8 -8
- data/lib/fastly/api/contact_api.rb +1 -1
- data/lib/fastly/api/customer_addresses_api.rb +224 -0
- data/lib/fastly/api/enabled_products_api.rb +164 -10
- data/lib/fastly/api/tls_certificates_api.rb +7 -7
- data/lib/fastly/api/tls_domains_api.rb +7 -7
- data/lib/fastly/api/tls_subscriptions_api.rb +7 -7
- data/lib/fastly/api/version_api.rb +154 -0
- data/lib/fastly/configuration.rb +84 -0
- data/lib/fastly/models/backend.rb +2 -2
- data/lib/fastly/models/backend_response.rb +2 -2
- data/lib/fastly/models/billing_response_line_item.rb +10 -0
- data/lib/fastly/models/{origin_inspector_realtime_entry_recorded.rb → compute_acl_create_acls_request.rb} +15 -6
- data/lib/fastly/models/compute_acl_create_acls_response.rb +227 -0
- data/lib/fastly/models/compute_acl_list_entries.rb +228 -0
- data/lib/fastly/models/compute_acl_list_entries_item.rb +227 -0
- data/lib/fastly/models/compute_acl_list_entries_meta.rb +227 -0
- data/lib/fastly/models/compute_acl_lookup.rb +238 -0
- data/lib/fastly/models/compute_acl_update_entry.rb +238 -0
- data/lib/fastly/models/configured_product_response.rb +243 -0
- data/lib/fastly/models/configured_product_response_configuration.rb +227 -0
- data/lib/fastly/models/configured_product_response_links.rb +227 -0
- data/lib/fastly/models/configured_product_response_product.rb +227 -0
- data/lib/fastly/models/customer_address.rb +294 -0
- data/lib/fastly/models/domain_inspector.rb +2 -1
- data/lib/fastly/models/domain_inspector_realtime_entry.rb +2 -1
- data/lib/fastly/models/environment.rb +235 -0
- data/lib/fastly/models/environment_name.rb +34 -0
- data/lib/fastly/models/event_attributes.rb +2 -2
- data/lib/fastly/models/{recorded_timestamp.rb → inline_response201.rb} +15 -6
- data/lib/fastly/models/line_item_data.rb +10 -0
- data/lib/fastly/models/{origin_inspector_subsequent_request_timestamp.rb → list_customer_addresses_response.rb} +16 -6
- data/lib/fastly/models/origin_inspector.rb +2 -1
- data/lib/fastly/models/origin_inspector_realtime_entry.rb +2 -1
- data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
- data/lib/fastly/models/realtime_measurements.rb +14 -4
- data/lib/fastly/models/results.rb +11 -1
- data/lib/fastly/models/schemas_version_response.rb +16 -4
- data/lib/fastly/models/service_detail.rb +13 -1
- data/lib/fastly/models/service_list_response.rb +16 -4
- data/lib/fastly/models/service_list_response_all_of.rb +16 -4
- data/lib/fastly/models/service_response.rb +16 -4
- data/lib/fastly/models/service_response_all_of.rb +16 -4
- data/lib/fastly/models/service_version_detail.rb +13 -1
- data/lib/fastly/models/service_version_detail_or_null.rb +13 -1
- data/lib/fastly/models/set_configuration.rb +227 -0
- data/lib/fastly/models/{subsequent_request_timestamp.rb → set_workspace_id.rb} +15 -6
- data/lib/fastly/models/version_response.rb +16 -4
- data/lib/fastly/models/version_response_all_of.rb +16 -4
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +20 -4
- data/sig.json +1 -1
- metadata +42 -10
@@ -0,0 +1,227 @@
|
|
1
|
+
=begin
|
2
|
+
#Fastly API
|
3
|
+
|
4
|
+
#Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: oss@fastly.com
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'date'
|
12
|
+
require 'time'
|
13
|
+
|
14
|
+
module Fastly
|
15
|
+
class SetConfiguration
|
16
|
+
# The new workspace_id. Required in the `PUT` request body when `product_id` is `ngwaf`. Optional in the `PATCH` request body for `ngwaf`.
|
17
|
+
attr_accessor :workspace_id
|
18
|
+
|
19
|
+
# The new traffic ramp. Optional in the `PATCH` request body for `ngwaf`.
|
20
|
+
attr_accessor :traffic_ramp
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'workspace_id' => :'workspace_id',
|
26
|
+
:'traffic_ramp' => :'traffic_ramp'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Returns all the JSON keys this model knows about
|
31
|
+
def self.acceptable_attributes
|
32
|
+
attribute_map.values
|
33
|
+
end
|
34
|
+
|
35
|
+
# Attribute type mapping.
|
36
|
+
def self.fastly_types
|
37
|
+
{
|
38
|
+
:'workspace_id' => :'String',
|
39
|
+
:'traffic_ramp' => :'String'
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# List of attributes with nullable: true
|
44
|
+
def self.fastly_nullable
|
45
|
+
Set.new([
|
46
|
+
])
|
47
|
+
end
|
48
|
+
|
49
|
+
# Initializes the object
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
51
|
+
def initialize(attributes = {})
|
52
|
+
if (!attributes.is_a?(Hash))
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::SetConfiguration` initialize method"
|
54
|
+
end
|
55
|
+
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::SetConfiguration`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
|
+
end
|
61
|
+
h[k.to_sym] = v
|
62
|
+
}
|
63
|
+
|
64
|
+
if attributes.key?(:'workspace_id')
|
65
|
+
self.workspace_id = attributes[:'workspace_id']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.key?(:'traffic_ramp')
|
69
|
+
self.traffic_ramp = attributes[:'traffic_ramp']
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
+
# @return Array for valid properties with the reasons
|
75
|
+
def list_invalid_properties
|
76
|
+
invalid_properties = Array.new
|
77
|
+
invalid_properties
|
78
|
+
end
|
79
|
+
|
80
|
+
# Check to see if the all the properties in the model are valid
|
81
|
+
# @return true if the model is valid
|
82
|
+
def valid?
|
83
|
+
true
|
84
|
+
end
|
85
|
+
|
86
|
+
# Checks equality by comparing each attribute.
|
87
|
+
# @param [Object] Object to be compared
|
88
|
+
def ==(o)
|
89
|
+
return true if self.equal?(o)
|
90
|
+
self.class == o.class &&
|
91
|
+
workspace_id == o.workspace_id &&
|
92
|
+
traffic_ramp == o.traffic_ramp
|
93
|
+
end
|
94
|
+
|
95
|
+
# @see the `==` method
|
96
|
+
# @param [Object] Object to be compared
|
97
|
+
def eql?(o)
|
98
|
+
self == o
|
99
|
+
end
|
100
|
+
|
101
|
+
# Calculates hash code according to all attributes.
|
102
|
+
# @return [Integer] Hash code
|
103
|
+
def hash
|
104
|
+
[workspace_id, traffic_ramp].hash
|
105
|
+
end
|
106
|
+
|
107
|
+
# Builds the object from hash
|
108
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
109
|
+
# @return [Object] Returns the model itself
|
110
|
+
def self.build_from_hash(attributes)
|
111
|
+
new.build_from_hash(attributes)
|
112
|
+
end
|
113
|
+
|
114
|
+
# Builds the object from hash
|
115
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
116
|
+
# @return [Object] Returns the model itself
|
117
|
+
def build_from_hash(attributes)
|
118
|
+
return nil unless attributes.is_a?(Hash)
|
119
|
+
self.class.fastly_types.each_pair do |key, type|
|
120
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
|
121
|
+
self.send("#{key}=", nil)
|
122
|
+
elsif type =~ /\AArray<(.*)>/i
|
123
|
+
# check to ensure the input is an array given that the attribute
|
124
|
+
# is documented as an array but the input is not
|
125
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
126
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
127
|
+
end
|
128
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
129
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
self
|
134
|
+
end
|
135
|
+
|
136
|
+
# Deserializes the data based on type
|
137
|
+
# @param string type Data type
|
138
|
+
# @param string value Value to be deserialized
|
139
|
+
# @return [Object] Deserialized data
|
140
|
+
def _deserialize(type, value)
|
141
|
+
case type.to_sym
|
142
|
+
when :Time
|
143
|
+
Time.parse(value)
|
144
|
+
when :Date
|
145
|
+
Date.parse(value)
|
146
|
+
when :String
|
147
|
+
value.to_s
|
148
|
+
when :Integer
|
149
|
+
value.to_i
|
150
|
+
when :Float
|
151
|
+
value.to_f
|
152
|
+
when :Boolean
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
154
|
+
true
|
155
|
+
else
|
156
|
+
false
|
157
|
+
end
|
158
|
+
when :Object
|
159
|
+
# generic object (usually a Hash), return directly
|
160
|
+
value
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
167
|
+
{}.tap do |hash|
|
168
|
+
value.each do |k, v|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
else # model
|
173
|
+
# models (e.g. Pet) or oneOf
|
174
|
+
klass = Fastly.const_get(type)
|
175
|
+
klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# Returns the string representation of the object
|
180
|
+
# @return [String] String presentation of the object
|
181
|
+
def to_s
|
182
|
+
to_hash.to_s
|
183
|
+
end
|
184
|
+
|
185
|
+
# to_body is an alias to to_hash (backward compatibility)
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
187
|
+
def to_body
|
188
|
+
to_hash
|
189
|
+
end
|
190
|
+
|
191
|
+
# Returns the object in the form of hash
|
192
|
+
# @return [Hash] Returns the object in the form of hash
|
193
|
+
def to_hash
|
194
|
+
hash = {}
|
195
|
+
self.class.attribute_map.each_pair do |attr, param|
|
196
|
+
value = self.send(attr)
|
197
|
+
if value.nil?
|
198
|
+
is_nullable = self.class.fastly_nullable.include?(attr)
|
199
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
200
|
+
end
|
201
|
+
|
202
|
+
hash[param] = _to_hash(value)
|
203
|
+
end
|
204
|
+
hash
|
205
|
+
end
|
206
|
+
|
207
|
+
# Outputs non-array value in the form of hash
|
208
|
+
# For object, use to_hash. Otherwise, just return the value
|
209
|
+
# @param [Object] value Any valid value
|
210
|
+
# @return [Hash] Returns the value in the form of hash
|
211
|
+
def _to_hash(value)
|
212
|
+
if value.is_a?(Array)
|
213
|
+
value.compact.map { |v| _to_hash(v) }
|
214
|
+
elsif value.is_a?(Hash)
|
215
|
+
{}.tap do |hash|
|
216
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
217
|
+
end
|
218
|
+
elsif value.respond_to? :to_hash
|
219
|
+
value.to_hash
|
220
|
+
else
|
221
|
+
value
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
end
|
226
|
+
|
227
|
+
end
|
@@ -12,11 +12,14 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
|
16
|
-
|
15
|
+
class SetWorkspaceId
|
16
|
+
# The workspace to link with the Next-Gen WAF product. Note this body is only supported and required when `product_id` is `ngwaf`
|
17
|
+
attr_accessor :workspace_id
|
18
|
+
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
18
20
|
def self.attribute_map
|
19
21
|
{
|
22
|
+
:'workspace_id' => :'workspace_id'
|
20
23
|
}
|
21
24
|
end
|
22
25
|
|
@@ -28,6 +31,7 @@ module Fastly
|
|
28
31
|
# Attribute type mapping.
|
29
32
|
def self.fastly_types
|
30
33
|
{
|
34
|
+
:'workspace_id' => :'String'
|
31
35
|
}
|
32
36
|
end
|
33
37
|
|
@@ -41,16 +45,20 @@ module Fastly
|
|
41
45
|
# @param [Hash] attributes Model attributes in the form of hash
|
42
46
|
def initialize(attributes = {})
|
43
47
|
if (!attributes.is_a?(Hash))
|
44
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::SetWorkspaceId` initialize method"
|
45
49
|
end
|
46
50
|
|
47
51
|
# check to see if the attribute exists and convert string to symbol for hash key
|
48
52
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
49
53
|
if (!self.class.attribute_map.key?(k.to_sym))
|
50
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::SetWorkspaceId`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
51
55
|
end
|
52
56
|
h[k.to_sym] = v
|
53
57
|
}
|
58
|
+
|
59
|
+
if attributes.key?(:'workspace_id')
|
60
|
+
self.workspace_id = attributes[:'workspace_id']
|
61
|
+
end
|
54
62
|
end
|
55
63
|
|
56
64
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -70,7 +78,8 @@ module Fastly
|
|
70
78
|
# @param [Object] Object to be compared
|
71
79
|
def ==(o)
|
72
80
|
return true if self.equal?(o)
|
73
|
-
self.class == o.class
|
81
|
+
self.class == o.class &&
|
82
|
+
workspace_id == o.workspace_id
|
74
83
|
end
|
75
84
|
|
76
85
|
# @see the `==` method
|
@@ -82,7 +91,7 @@ module Fastly
|
|
82
91
|
# Calculates hash code according to all attributes.
|
83
92
|
# @return [Integer] Hash code
|
84
93
|
def hash
|
85
|
-
[].hash
|
94
|
+
[workspace_id].hash
|
86
95
|
end
|
87
96
|
|
88
97
|
# Builds the object from hash
|
@@ -45,6 +45,9 @@ module Fastly
|
|
45
45
|
|
46
46
|
attr_accessor :service_id
|
47
47
|
|
48
|
+
# A list of environments where the service has been deployed.
|
49
|
+
attr_accessor :environments
|
50
|
+
|
48
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
49
52
|
def self.attribute_map
|
50
53
|
{
|
@@ -58,7 +61,8 @@ module Fastly
|
|
58
61
|
:'created_at' => :'created_at',
|
59
62
|
:'deleted_at' => :'deleted_at',
|
60
63
|
:'updated_at' => :'updated_at',
|
61
|
-
:'service_id' => :'service_id'
|
64
|
+
:'service_id' => :'service_id',
|
65
|
+
:'environments' => :'environments'
|
62
66
|
}
|
63
67
|
end
|
64
68
|
|
@@ -80,7 +84,8 @@ module Fastly
|
|
80
84
|
:'created_at' => :'Time',
|
81
85
|
:'deleted_at' => :'Time',
|
82
86
|
:'updated_at' => :'Time',
|
83
|
-
:'service_id' => :'String'
|
87
|
+
:'service_id' => :'String',
|
88
|
+
:'environments' => :'Array<Environment>'
|
84
89
|
}
|
85
90
|
end
|
86
91
|
|
@@ -169,6 +174,12 @@ module Fastly
|
|
169
174
|
if attributes.key?(:'service_id')
|
170
175
|
self.service_id = attributes[:'service_id']
|
171
176
|
end
|
177
|
+
|
178
|
+
if attributes.key?(:'environments')
|
179
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
180
|
+
self.environments = value
|
181
|
+
end
|
182
|
+
end
|
172
183
|
end
|
173
184
|
|
174
185
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -199,7 +210,8 @@ module Fastly
|
|
199
210
|
created_at == o.created_at &&
|
200
211
|
deleted_at == o.deleted_at &&
|
201
212
|
updated_at == o.updated_at &&
|
202
|
-
service_id == o.service_id
|
213
|
+
service_id == o.service_id &&
|
214
|
+
environments == o.environments
|
203
215
|
end
|
204
216
|
|
205
217
|
# @see the `==` method
|
@@ -211,7 +223,7 @@ module Fastly
|
|
211
223
|
# Calculates hash code according to all attributes.
|
212
224
|
# @return [Integer] Hash code
|
213
225
|
def hash
|
214
|
-
[active, comment, deployed, locked, number, staging, testing, created_at, deleted_at, updated_at, service_id].hash
|
226
|
+
[active, comment, deployed, locked, number, staging, testing, created_at, deleted_at, updated_at, service_id, environments].hash
|
215
227
|
end
|
216
228
|
|
217
229
|
# Builds the object from hash
|
@@ -15,10 +15,14 @@ module Fastly
|
|
15
15
|
class VersionResponseAllOf
|
16
16
|
attr_accessor :service_id
|
17
17
|
|
18
|
+
# A list of environments where the service has been deployed.
|
19
|
+
attr_accessor :environments
|
20
|
+
|
18
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
19
22
|
def self.attribute_map
|
20
23
|
{
|
21
|
-
:'service_id' => :'service_id'
|
24
|
+
:'service_id' => :'service_id',
|
25
|
+
:'environments' => :'environments'
|
22
26
|
}
|
23
27
|
end
|
24
28
|
|
@@ -30,7 +34,8 @@ module Fastly
|
|
30
34
|
# Attribute type mapping.
|
31
35
|
def self.fastly_types
|
32
36
|
{
|
33
|
-
:'service_id' => :'String'
|
37
|
+
:'service_id' => :'String',
|
38
|
+
:'environments' => :'Array<Environment>'
|
34
39
|
}
|
35
40
|
end
|
36
41
|
|
@@ -58,6 +63,12 @@ module Fastly
|
|
58
63
|
if attributes.key?(:'service_id')
|
59
64
|
self.service_id = attributes[:'service_id']
|
60
65
|
end
|
66
|
+
|
67
|
+
if attributes.key?(:'environments')
|
68
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
69
|
+
self.environments = value
|
70
|
+
end
|
71
|
+
end
|
61
72
|
end
|
62
73
|
|
63
74
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -78,7 +89,8 @@ module Fastly
|
|
78
89
|
def ==(o)
|
79
90
|
return true if self.equal?(o)
|
80
91
|
self.class == o.class &&
|
81
|
-
service_id == o.service_id
|
92
|
+
service_id == o.service_id &&
|
93
|
+
environments == o.environments
|
82
94
|
end
|
83
95
|
|
84
96
|
# @see the `==` method
|
@@ -90,7 +102,7 @@ module Fastly
|
|
90
102
|
# Calculates hash code according to all attributes.
|
91
103
|
# @return [Integer] Hash code
|
92
104
|
def hash
|
93
|
-
[service_id].hash
|
105
|
+
[service_id, environments].hash
|
94
106
|
end
|
95
107
|
|
96
108
|
# Builds the object from hash
|
data/lib/fastly/version.rb
CHANGED
data/lib/fastly.rb
CHANGED
@@ -72,6 +72,13 @@ require 'fastly/models/bulk_waf_active_rules'
|
|
72
72
|
require 'fastly/models/cache_setting'
|
73
73
|
require 'fastly/models/cache_setting_response'
|
74
74
|
require 'fastly/models/client_key'
|
75
|
+
require 'fastly/models/compute_acl_create_acls_request'
|
76
|
+
require 'fastly/models/compute_acl_create_acls_response'
|
77
|
+
require 'fastly/models/compute_acl_list_entries'
|
78
|
+
require 'fastly/models/compute_acl_list_entries_item'
|
79
|
+
require 'fastly/models/compute_acl_list_entries_meta'
|
80
|
+
require 'fastly/models/compute_acl_lookup'
|
81
|
+
require 'fastly/models/compute_acl_update_entry'
|
75
82
|
require 'fastly/models/condition'
|
76
83
|
require 'fastly/models/condition_response'
|
77
84
|
require 'fastly/models/config_store'
|
@@ -81,6 +88,10 @@ require 'fastly/models/config_store_item_response'
|
|
81
88
|
require 'fastly/models/config_store_item_response_all_of'
|
82
89
|
require 'fastly/models/config_store_response'
|
83
90
|
require 'fastly/models/config_store_response_all_of'
|
91
|
+
require 'fastly/models/configured_product_response'
|
92
|
+
require 'fastly/models/configured_product_response_configuration'
|
93
|
+
require 'fastly/models/configured_product_response_links'
|
94
|
+
require 'fastly/models/configured_product_response_product'
|
84
95
|
require 'fastly/models/contact'
|
85
96
|
require 'fastly/models/contact_response'
|
86
97
|
require 'fastly/models/contact_response_all_of'
|
@@ -88,6 +99,7 @@ require 'fastly/models/content'
|
|
88
99
|
require 'fastly/models/create_dashboard_request'
|
89
100
|
require 'fastly/models/create_response_object_request'
|
90
101
|
require 'fastly/models/customer'
|
102
|
+
require 'fastly/models/customer_address'
|
91
103
|
require 'fastly/models/customer_response'
|
92
104
|
require 'fastly/models/customer_response_all_of'
|
93
105
|
require 'fastly/models/dashboard'
|
@@ -124,6 +136,8 @@ require 'fastly/models/enabled_product_response'
|
|
124
136
|
require 'fastly/models/enabled_product_response_links'
|
125
137
|
require 'fastly/models/enabled_product_response_product'
|
126
138
|
require 'fastly/models/enabled_product_response_service'
|
139
|
+
require 'fastly/models/environment'
|
140
|
+
require 'fastly/models/environment_name'
|
127
141
|
require 'fastly/models/eom_invoice_response'
|
128
142
|
require 'fastly/models/error'
|
129
143
|
require 'fastly/models/error_response_data'
|
@@ -198,6 +212,7 @@ require 'fastly/models/inline_response2004_meta'
|
|
198
212
|
require 'fastly/models/inline_response2005'
|
199
213
|
require 'fastly/models/inline_response2006'
|
200
214
|
require 'fastly/models/inline_response2007'
|
215
|
+
require 'fastly/models/inline_response201'
|
201
216
|
require 'fastly/models/inline_response400'
|
202
217
|
require 'fastly/models/invitation'
|
203
218
|
require 'fastly/models/invitation_data'
|
@@ -219,6 +234,7 @@ require 'fastly/models/legacy_waf_ruleset'
|
|
219
234
|
require 'fastly/models/legacy_waf_tag'
|
220
235
|
require 'fastly/models/legacy_waf_update_status'
|
221
236
|
require 'fastly/models/line_item_data'
|
237
|
+
require 'fastly/models/list_customer_addresses_response'
|
222
238
|
require 'fastly/models/list_dashboards_response'
|
223
239
|
require 'fastly/models/list_eom_invoices_response'
|
224
240
|
require 'fastly/models/listinvoices'
|
@@ -318,8 +334,6 @@ require 'fastly/models/origin_inspector_historical_meta'
|
|
318
334
|
require 'fastly/models/origin_inspector_historical_meta_filters'
|
319
335
|
require 'fastly/models/origin_inspector_measurements'
|
320
336
|
require 'fastly/models/origin_inspector_realtime_entry'
|
321
|
-
require 'fastly/models/origin_inspector_realtime_entry_recorded'
|
322
|
-
require 'fastly/models/origin_inspector_subsequent_request_timestamp'
|
323
337
|
require 'fastly/models/origin_inspector_values'
|
324
338
|
require 'fastly/models/package'
|
325
339
|
require 'fastly/models/package_metadata'
|
@@ -361,7 +375,6 @@ require 'fastly/models/realtime_entry'
|
|
361
375
|
require 'fastly/models/realtime_entry_aggregated'
|
362
376
|
require 'fastly/models/realtime_entry_recorded'
|
363
377
|
require 'fastly/models/realtime_measurements'
|
364
|
-
require 'fastly/models/recorded_timestamp'
|
365
378
|
require 'fastly/models/relationship_common_name'
|
366
379
|
require 'fastly/models/relationship_customer'
|
367
380
|
require 'fastly/models/relationship_customer_customer'
|
@@ -524,6 +537,8 @@ require 'fastly/models/serviceusagemetrics'
|
|
524
537
|
require 'fastly/models/serviceusagemetrics_data'
|
525
538
|
require 'fastly/models/serviceusagetype'
|
526
539
|
require 'fastly/models/serviceusagetypes'
|
540
|
+
require 'fastly/models/set_configuration'
|
541
|
+
require 'fastly/models/set_workspace_id'
|
527
542
|
require 'fastly/models/settings'
|
528
543
|
require 'fastly/models/settings_response'
|
529
544
|
require 'fastly/models/signing_key'
|
@@ -543,7 +558,6 @@ require 'fastly/models/star_response_all_of'
|
|
543
558
|
require 'fastly/models/stats'
|
544
559
|
require 'fastly/models/store'
|
545
560
|
require 'fastly/models/store_response'
|
546
|
-
require 'fastly/models/subsequent_request_timestamp'
|
547
561
|
require 'fastly/models/sudo_generic_token_error'
|
548
562
|
require 'fastly/models/sudo_request'
|
549
563
|
require 'fastly/models/sudo_response'
|
@@ -743,6 +757,7 @@ require 'fastly/models/ws_message_format'
|
|
743
757
|
# APIs
|
744
758
|
require 'fastly/api/acl_api'
|
745
759
|
require 'fastly/api/acl_entry_api'
|
760
|
+
require 'fastly/api/acls_in_compute_api'
|
746
761
|
require 'fastly/api/apex_redirect_api'
|
747
762
|
require 'fastly/api/automation_tokens_api'
|
748
763
|
require 'fastly/api/backend_api'
|
@@ -757,6 +772,7 @@ require 'fastly/api/config_store_item_api'
|
|
757
772
|
require 'fastly/api/contact_api'
|
758
773
|
require 'fastly/api/content_api'
|
759
774
|
require 'fastly/api/customer_api'
|
775
|
+
require 'fastly/api/customer_addresses_api'
|
760
776
|
require 'fastly/api/dictionary_api'
|
761
777
|
require 'fastly/api/dictionary_info_api'
|
762
778
|
require 'fastly/api/dictionary_item_api'
|
data/sig.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"G": "
|
1
|
+
{"G": "dbe8e713", "D": "4061d4ec"}
|