fastly 8.8.0 → 8.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +30 -3
  5. data/docs/AclsInComputeApi.md +284 -0
  6. data/docs/{OriginInspectorRealtimeEntryRecorded.md → ComputeAclCreateAclsRequest.md} +2 -1
  7. data/docs/ComputeAclCreateAclsResponse.md +11 -0
  8. data/docs/ComputeAclListEntries.md +11 -0
  9. data/docs/ComputeAclListEntriesItem.md +11 -0
  10. data/docs/ComputeAclListEntriesMeta.md +11 -0
  11. data/docs/ComputeAclLookup.md +12 -0
  12. data/docs/ComputeAclUpdateEntry.md +12 -0
  13. data/docs/ConfiguredProductResponse.md +13 -0
  14. data/docs/ConfiguredProductResponseConfiguration.md +11 -0
  15. data/docs/ConfiguredProductResponseLinks.md +11 -0
  16. data/docs/ConfiguredProductResponseProduct.md +11 -0
  17. data/docs/ContactApi.md +1 -1
  18. data/docs/CustomerAddress.md +16 -0
  19. data/docs/CustomerAddressesApi.md +127 -0
  20. data/docs/DomainInspector.md +1 -1
  21. data/docs/DomainInspectorRealtimeEntry.md +1 -1
  22. data/docs/EnabledProductsApi.md +93 -9
  23. data/docs/Environment.md +12 -0
  24. data/docs/{RecordedTimestamp.md → EnvironmentName.md} +1 -1
  25. data/docs/{OriginInspectorSubsequentRequestTimestamp.md → InlineResponse201.md} +2 -1
  26. data/docs/{SubsequentRequestTimestamp.md → ListCustomerAddressesResponse.md} +2 -1
  27. data/docs/OriginInspector.md +1 -1
  28. data/docs/OriginInspectorRealtimeEntry.md +1 -1
  29. data/docs/RealtimeEntryAggregated.md +1 -0
  30. data/docs/RealtimeMeasurements.md +1 -0
  31. data/docs/Results.md +1 -0
  32. data/docs/SchemasVersionResponse.md +1 -0
  33. data/docs/ServiceDetail.md +1 -0
  34. data/docs/ServiceListResponse.md +1 -0
  35. data/docs/ServiceListResponseAllOf.md +1 -0
  36. data/docs/ServiceResponse.md +1 -0
  37. data/docs/ServiceResponseAllOf.md +1 -0
  38. data/docs/ServiceVersionDetail.md +1 -0
  39. data/docs/ServiceVersionDetailOrNull.md +1 -0
  40. data/docs/SetConfiguration.md +11 -0
  41. data/docs/SetWorkspaceId.md +10 -0
  42. data/docs/TlsCertificatesApi.md +2 -2
  43. data/docs/TlsDomainsApi.md +2 -2
  44. data/docs/TlsSubscriptionsApi.md +2 -2
  45. data/docs/VersionApi.md +84 -0
  46. data/docs/VersionResponse.md +1 -0
  47. data/docs/VersionResponseAllOf.md +1 -0
  48. data/lib/fastly/api/acls_in_compute_api.rb +470 -0
  49. data/lib/fastly/api/contact_api.rb +1 -1
  50. data/lib/fastly/api/customer_addresses_api.rb +224 -0
  51. data/lib/fastly/api/enabled_products_api.rb +164 -10
  52. data/lib/fastly/api/tls_certificates_api.rb +7 -7
  53. data/lib/fastly/api/tls_domains_api.rb +7 -7
  54. data/lib/fastly/api/tls_subscriptions_api.rb +7 -7
  55. data/lib/fastly/api/version_api.rb +154 -0
  56. data/lib/fastly/configuration.rb +84 -0
  57. data/lib/fastly/models/billing_response_line_item.rb +10 -0
  58. data/lib/fastly/models/{origin_inspector_realtime_entry_recorded.rb → compute_acl_create_acls_request.rb} +15 -6
  59. data/lib/fastly/models/compute_acl_create_acls_response.rb +227 -0
  60. data/lib/fastly/models/compute_acl_list_entries.rb +228 -0
  61. data/lib/fastly/models/compute_acl_list_entries_item.rb +227 -0
  62. data/lib/fastly/models/compute_acl_list_entries_meta.rb +227 -0
  63. data/lib/fastly/models/compute_acl_lookup.rb +238 -0
  64. data/lib/fastly/models/compute_acl_update_entry.rb +238 -0
  65. data/lib/fastly/models/configured_product_response.rb +243 -0
  66. data/lib/fastly/models/configured_product_response_configuration.rb +227 -0
  67. data/lib/fastly/models/configured_product_response_links.rb +227 -0
  68. data/lib/fastly/models/configured_product_response_product.rb +227 -0
  69. data/lib/fastly/models/customer_address.rb +294 -0
  70. data/lib/fastly/models/domain_inspector.rb +2 -1
  71. data/lib/fastly/models/domain_inspector_realtime_entry.rb +2 -1
  72. data/lib/fastly/models/environment.rb +235 -0
  73. data/lib/fastly/models/environment_name.rb +34 -0
  74. data/lib/fastly/models/event_attributes.rb +2 -2
  75. data/lib/fastly/models/{recorded_timestamp.rb → inline_response201.rb} +15 -6
  76. data/lib/fastly/models/line_item_data.rb +10 -0
  77. data/lib/fastly/models/{origin_inspector_subsequent_request_timestamp.rb → list_customer_addresses_response.rb} +16 -6
  78. data/lib/fastly/models/origin_inspector.rb +2 -1
  79. data/lib/fastly/models/origin_inspector_realtime_entry.rb +2 -1
  80. data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
  81. data/lib/fastly/models/realtime_measurements.rb +14 -4
  82. data/lib/fastly/models/results.rb +11 -1
  83. data/lib/fastly/models/schemas_version_response.rb +16 -4
  84. data/lib/fastly/models/service_detail.rb +13 -1
  85. data/lib/fastly/models/service_list_response.rb +16 -4
  86. data/lib/fastly/models/service_list_response_all_of.rb +16 -4
  87. data/lib/fastly/models/service_response.rb +16 -4
  88. data/lib/fastly/models/service_response_all_of.rb +16 -4
  89. data/lib/fastly/models/service_version_detail.rb +13 -1
  90. data/lib/fastly/models/service_version_detail_or_null.rb +13 -1
  91. data/lib/fastly/models/set_configuration.rb +227 -0
  92. data/lib/fastly/models/{subsequent_request_timestamp.rb → set_workspace_id.rb} +15 -6
  93. data/lib/fastly/models/version_response.rb +16 -4
  94. data/lib/fastly/models/version_response_all_of.rb +16 -4
  95. data/lib/fastly/version.rb +1 -1
  96. data/lib/fastly.rb +20 -4
  97. data/sig.json +1 -1
  98. metadata +42 -10
@@ -0,0 +1,235 @@
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 Environment
16
+ attr_accessor :name
17
+
18
+ # Alphanumeric string identifying the service.
19
+ attr_accessor :service_id
20
+
21
+ attr_accessor :active_version
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'name' => :'name',
27
+ :'service_id' => :'service_id',
28
+ :'active_version' => :'active_version'
29
+ }
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.fastly_types
39
+ {
40
+ :'name' => :'String',
41
+ :'service_id' => :'String',
42
+ :'active_version' => :'Integer'
43
+ }
44
+ end
45
+
46
+ # List of attributes with nullable: true
47
+ def self.fastly_nullable
48
+ Set.new([
49
+ ])
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ if (!attributes.is_a?(Hash))
56
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::Environment` initialize method"
57
+ end
58
+
59
+ # check to see if the attribute exists and convert string to symbol for hash key
60
+ attributes = attributes.each_with_object({}) { |(k, v), h|
61
+ if (!self.class.attribute_map.key?(k.to_sym))
62
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::Environment`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ end
64
+ h[k.to_sym] = v
65
+ }
66
+
67
+ if attributes.key?(:'name')
68
+ self.name = attributes[:'name']
69
+ end
70
+
71
+ if attributes.key?(:'service_id')
72
+ self.service_id = attributes[:'service_id']
73
+ end
74
+
75
+ if attributes.key?(:'active_version')
76
+ self.active_version = attributes[:'active_version']
77
+ end
78
+ end
79
+
80
+ # Show invalid properties with the reasons. Usually used together with valid?
81
+ # @return Array for valid properties with the reasons
82
+ def list_invalid_properties
83
+ invalid_properties = Array.new
84
+ invalid_properties
85
+ end
86
+
87
+ # Check to see if the all the properties in the model are valid
88
+ # @return true if the model is valid
89
+ def valid?
90
+ true
91
+ end
92
+
93
+ # Checks equality by comparing each attribute.
94
+ # @param [Object] Object to be compared
95
+ def ==(o)
96
+ return true if self.equal?(o)
97
+ self.class == o.class &&
98
+ name == o.name &&
99
+ service_id == o.service_id &&
100
+ active_version == o.active_version
101
+ end
102
+
103
+ # @see the `==` method
104
+ # @param [Object] Object to be compared
105
+ def eql?(o)
106
+ self == o
107
+ end
108
+
109
+ # Calculates hash code according to all attributes.
110
+ # @return [Integer] Hash code
111
+ def hash
112
+ [name, service_id, active_version].hash
113
+ end
114
+
115
+ # Builds the object from hash
116
+ # @param [Hash] attributes Model attributes in the form of hash
117
+ # @return [Object] Returns the model itself
118
+ def self.build_from_hash(attributes)
119
+ new.build_from_hash(attributes)
120
+ end
121
+
122
+ # Builds the object from hash
123
+ # @param [Hash] attributes Model attributes in the form of hash
124
+ # @return [Object] Returns the model itself
125
+ def build_from_hash(attributes)
126
+ return nil unless attributes.is_a?(Hash)
127
+ self.class.fastly_types.each_pair do |key, type|
128
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
129
+ self.send("#{key}=", nil)
130
+ elsif type =~ /\AArray<(.*)>/i
131
+ # check to ensure the input is an array given that the attribute
132
+ # is documented as an array but the input is not
133
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
134
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
135
+ end
136
+ elsif !attributes[self.class.attribute_map[key]].nil?
137
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
138
+ end
139
+ end
140
+
141
+ self
142
+ end
143
+
144
+ # Deserializes the data based on type
145
+ # @param string type Data type
146
+ # @param string value Value to be deserialized
147
+ # @return [Object] Deserialized data
148
+ def _deserialize(type, value)
149
+ case type.to_sym
150
+ when :Time
151
+ Time.parse(value)
152
+ when :Date
153
+ Date.parse(value)
154
+ when :String
155
+ value.to_s
156
+ when :Integer
157
+ value.to_i
158
+ when :Float
159
+ value.to_f
160
+ when :Boolean
161
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
162
+ true
163
+ else
164
+ false
165
+ end
166
+ when :Object
167
+ # generic object (usually a Hash), return directly
168
+ value
169
+ when /\AArray<(?<inner_type>.+)>\z/
170
+ inner_type = Regexp.last_match[:inner_type]
171
+ value.map { |v| _deserialize(inner_type, v) }
172
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
173
+ k_type = Regexp.last_match[:k_type]
174
+ v_type = Regexp.last_match[:v_type]
175
+ {}.tap do |hash|
176
+ value.each do |k, v|
177
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
178
+ end
179
+ end
180
+ else # model
181
+ # models (e.g. Pet) or oneOf
182
+ klass = Fastly.const_get(type)
183
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
184
+ end
185
+ end
186
+
187
+ # Returns the string representation of the object
188
+ # @return [String] String presentation of the object
189
+ def to_s
190
+ to_hash.to_s
191
+ end
192
+
193
+ # to_body is an alias to to_hash (backward compatibility)
194
+ # @return [Hash] Returns the object in the form of hash
195
+ def to_body
196
+ to_hash
197
+ end
198
+
199
+ # Returns the object in the form of hash
200
+ # @return [Hash] Returns the object in the form of hash
201
+ def to_hash
202
+ hash = {}
203
+ self.class.attribute_map.each_pair do |attr, param|
204
+ value = self.send(attr)
205
+ if value.nil?
206
+ is_nullable = self.class.fastly_nullable.include?(attr)
207
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
208
+ end
209
+
210
+ hash[param] = _to_hash(value)
211
+ end
212
+ hash
213
+ end
214
+
215
+ # Outputs non-array value in the form of hash
216
+ # For object, use to_hash. Otherwise, just return the value
217
+ # @param [Object] value Any valid value
218
+ # @return [Hash] Returns the value in the form of hash
219
+ def _to_hash(value)
220
+ if value.is_a?(Array)
221
+ value.compact.map { |v| _to_hash(v) }
222
+ elsif value.is_a?(Hash)
223
+ {}.tap do |hash|
224
+ value.each { |k, v| hash[k] = _to_hash(v) }
225
+ end
226
+ elsif value.respond_to? :to_hash
227
+ value.to_hash
228
+ else
229
+ value
230
+ end
231
+ end
232
+
233
+ end
234
+
235
+ end
@@ -0,0 +1,34 @@
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 EnvironmentName
16
+ STAGING = "staging".freeze
17
+
18
+ # Builds the enum from string
19
+ # @param [String] The enum value in the form of the string
20
+ # @return [String] The enum value
21
+ def self.build_from_hash(value)
22
+ new.build_from_hash(value)
23
+ end
24
+
25
+ # Builds the enum from string
26
+ # @param [String] The enum value in the form of the string
27
+ # @return [String] The enum value
28
+ def build_from_hash(value)
29
+ constantValues = EnvironmentName.constants.select { |c| EnvironmentName::const_get(c) == value }
30
+ raise "Invalid ENUM value #{value} for class #EnvironmentName" if constantValues.empty?
31
+ value
32
+ end
33
+ end
34
+ end
@@ -173,7 +173,7 @@ module Fastly
173
173
  # Check to see if the all the properties in the model are valid
174
174
  # @return true if the model is valid
175
175
  def valid?
176
- event_type_validator = EnumAttributeValidator.new('String', ["api_key.create", "acl.create", "acl.delete", "acl.update", "address.create", "address.delete", "address.update", "alerts.definition.create", "alerts.definition.delete", "alerts.definition.test", "alerts.definition.update", "backend.create", "backend.delete", "backend.update", "billing.contact_update", "cache_settings.create", "cache_settings.delete", "cache_settings.update", "customer.create", "customer.pricing", "customer.update", "customer_feature.create", "customer_feature.delete", "director.create", "director.delete", "director.update", "director_backend.create", "director_backend.delete", "domain.create", "domain.delete", "domain.update", "gzip.create", "gzip.delete", "gzip.update", "header.create", "header.delete", "header.update", "healthcheck.create", "healthcheck.delete", "healthcheck.update", "invitation.accept", "invitation.sent", "invoice.failed_payment", "invoice.payment", "io_settings.create", "io_settings.delete", "io_settings.update", "logging.create", "logging.delete", "logging.update", "pool.create", "pool.delete", "pool.update", "request_settings.create", "request_settings.delete", "request_settings.update", "response_object.create", "response_object.delete", "response_object.update", "rule_status.update", "rule_status.upsert", "server.create", "server.delete", "server.update", "service.create", "service.delete", "service.move", "service.move_destination", "service.move_source", "service.purge_all", "service.update", "service_authorization.create", "service_authorization.delete", "service_authorization.update", "tls.bulk_certificate.create", "tls.bulk_certificate.delete", "tls.bulk_certificate.update", "tls.certificate.create", "tls.certificate.expiration_email", "tls.certificate.update", "tls.certificate.delete", "tls.configuration.update", "tls.private_key.create", "tls.private_key.delete", "tls.activation.enable", "tls.activation.update", "tls.activation.disable", "tls.globalsign.domain.create", "tls.globalsign.domain.verify", "tls.globalsign.domain.delete", "tls.subscription.create", "tls.subscription.delete", "tls.subscription.dns_check_email", "token.create", "token.destroy", "two_factor_auth.disable", "two_factor_auth.enable", "user.create", "user.destroy", "user.lock", "user.login", "user.login_failure", "user.logout", "user.password_update", "user.unlock", "user.update", "vcl.create", "vcl.delete", "vcl.update", "version.activate", "version.clone", "version.copy", "version.copy_destination", "version.copy_source", "version.create", "version.deactivate", "version.lock", "version.update", "waf.configuration_set_update", "waf.create", "waf.delete", "waf.update", "waf.enable", "waf.disable", "waf.owasp.create", "waf.owasp.update", "waf.ruleset.deploy", "waf.ruleset.deploy_failure", "wordpress.create", "wordpress.delete", "wordpress.update"])
176
+ event_type_validator = EnumAttributeValidator.new('String', ["api_key.create", "acl.create", "acl.delete", "acl.update", "address.create", "address.delete", "address.update", "alerts.definition.create", "alerts.definition.delete", "alerts.definition.test", "alerts.definition.update", "backend.create", "backend.delete", "backend.update", "billing.contact_update", "cache_settings.create", "cache_settings.delete", "cache_settings.update", "customer.create", "customer.pricing", "customer.update", "customer_feature.create", "customer_feature.delete", "director.create", "director.delete", "director.update", "director_backend.create", "director_backend.delete", "domain.create", "domain.delete", "domain.update", "gzip.create", "gzip.delete", "gzip.update", "header.create", "header.delete", "header.update", "healthcheck.create", "healthcheck.delete", "healthcheck.update", "invitation.accept", "invitation.sent", "invoice.failed_payment", "invoice.payment", "io_settings.create", "io_settings.delete", "io_settings.update", "logging.create", "logging.delete", "logging.update", "pool.create", "pool.delete", "pool.update", "request_settings.create", "request_settings.delete", "request_settings.update", "response_object.create", "response_object.delete", "response_object.update", "rule_status.update", "rule_status.upsert", "security.workspace.create", "security.workspace.update", "security.workspace.delete", "security.redaction.create", "security.redaction.update", "security.redaction.delete", "security.rule.create", "security.rule.update", "security.rule.delete", "security.virtual_patch.create", "security.virtual_patch.update", "security.virtual_patch.delete", "security.event.update", "server.create", "server.delete", "server.update", "service.create", "service.delete", "service.move", "service.move_destination", "service.move_source", "service.purge_all", "service.update", "service_authorization.create", "service_authorization.delete", "service_authorization.update", "tls.bulk_certificate.create", "tls.bulk_certificate.delete", "tls.bulk_certificate.update", "tls.certificate.create", "tls.certificate.expiration_email", "tls.certificate.update", "tls.certificate.delete", "tls.configuration.update", "tls.private_key.create", "tls.private_key.delete", "tls.activation.enable", "tls.activation.update", "tls.activation.disable", "tls.globalsign.domain.create", "tls.globalsign.domain.verify", "tls.globalsign.domain.delete", "tls.subscription.create", "tls.subscription.delete", "tls.subscription.dns_check_email", "token.create", "token.destroy", "two_factor_auth.disable", "two_factor_auth.enable", "user.create", "user.destroy", "user.lock", "user.login", "user.login_failure", "user.logout", "user.password_update", "user.unlock", "user.update", "vcl.create", "vcl.delete", "vcl.update", "version.activate", "version.clone", "version.copy", "version.copy_destination", "version.copy_source", "version.create", "version.deactivate", "version.lock", "version.update", "waf.configuration_set_update", "waf.create", "waf.delete", "waf.update", "waf.enable", "waf.disable", "waf.owasp.create", "waf.owasp.update", "waf.ruleset.deploy", "waf.ruleset.deploy_failure", "wordpress.create", "wordpress.delete", "wordpress.update"])
177
177
  return false unless event_type_validator.valid?(@event_type)
178
178
  true
179
179
  end
@@ -181,7 +181,7 @@ module Fastly
181
181
  # Custom attribute writer method checking allowed values (enum).
182
182
  # @param [Object] event_type Object to be assigned
183
183
  def event_type=(event_type)
184
- validator = EnumAttributeValidator.new('String', ["api_key.create", "acl.create", "acl.delete", "acl.update", "address.create", "address.delete", "address.update", "alerts.definition.create", "alerts.definition.delete", "alerts.definition.test", "alerts.definition.update", "backend.create", "backend.delete", "backend.update", "billing.contact_update", "cache_settings.create", "cache_settings.delete", "cache_settings.update", "customer.create", "customer.pricing", "customer.update", "customer_feature.create", "customer_feature.delete", "director.create", "director.delete", "director.update", "director_backend.create", "director_backend.delete", "domain.create", "domain.delete", "domain.update", "gzip.create", "gzip.delete", "gzip.update", "header.create", "header.delete", "header.update", "healthcheck.create", "healthcheck.delete", "healthcheck.update", "invitation.accept", "invitation.sent", "invoice.failed_payment", "invoice.payment", "io_settings.create", "io_settings.delete", "io_settings.update", "logging.create", "logging.delete", "logging.update", "pool.create", "pool.delete", "pool.update", "request_settings.create", "request_settings.delete", "request_settings.update", "response_object.create", "response_object.delete", "response_object.update", "rule_status.update", "rule_status.upsert", "server.create", "server.delete", "server.update", "service.create", "service.delete", "service.move", "service.move_destination", "service.move_source", "service.purge_all", "service.update", "service_authorization.create", "service_authorization.delete", "service_authorization.update", "tls.bulk_certificate.create", "tls.bulk_certificate.delete", "tls.bulk_certificate.update", "tls.certificate.create", "tls.certificate.expiration_email", "tls.certificate.update", "tls.certificate.delete", "tls.configuration.update", "tls.private_key.create", "tls.private_key.delete", "tls.activation.enable", "tls.activation.update", "tls.activation.disable", "tls.globalsign.domain.create", "tls.globalsign.domain.verify", "tls.globalsign.domain.delete", "tls.subscription.create", "tls.subscription.delete", "tls.subscription.dns_check_email", "token.create", "token.destroy", "two_factor_auth.disable", "two_factor_auth.enable", "user.create", "user.destroy", "user.lock", "user.login", "user.login_failure", "user.logout", "user.password_update", "user.unlock", "user.update", "vcl.create", "vcl.delete", "vcl.update", "version.activate", "version.clone", "version.copy", "version.copy_destination", "version.copy_source", "version.create", "version.deactivate", "version.lock", "version.update", "waf.configuration_set_update", "waf.create", "waf.delete", "waf.update", "waf.enable", "waf.disable", "waf.owasp.create", "waf.owasp.update", "waf.ruleset.deploy", "waf.ruleset.deploy_failure", "wordpress.create", "wordpress.delete", "wordpress.update"])
184
+ validator = EnumAttributeValidator.new('String', ["api_key.create", "acl.create", "acl.delete", "acl.update", "address.create", "address.delete", "address.update", "alerts.definition.create", "alerts.definition.delete", "alerts.definition.test", "alerts.definition.update", "backend.create", "backend.delete", "backend.update", "billing.contact_update", "cache_settings.create", "cache_settings.delete", "cache_settings.update", "customer.create", "customer.pricing", "customer.update", "customer_feature.create", "customer_feature.delete", "director.create", "director.delete", "director.update", "director_backend.create", "director_backend.delete", "domain.create", "domain.delete", "domain.update", "gzip.create", "gzip.delete", "gzip.update", "header.create", "header.delete", "header.update", "healthcheck.create", "healthcheck.delete", "healthcheck.update", "invitation.accept", "invitation.sent", "invoice.failed_payment", "invoice.payment", "io_settings.create", "io_settings.delete", "io_settings.update", "logging.create", "logging.delete", "logging.update", "pool.create", "pool.delete", "pool.update", "request_settings.create", "request_settings.delete", "request_settings.update", "response_object.create", "response_object.delete", "response_object.update", "rule_status.update", "rule_status.upsert", "security.workspace.create", "security.workspace.update", "security.workspace.delete", "security.redaction.create", "security.redaction.update", "security.redaction.delete", "security.rule.create", "security.rule.update", "security.rule.delete", "security.virtual_patch.create", "security.virtual_patch.update", "security.virtual_patch.delete", "security.event.update", "server.create", "server.delete", "server.update", "service.create", "service.delete", "service.move", "service.move_destination", "service.move_source", "service.purge_all", "service.update", "service_authorization.create", "service_authorization.delete", "service_authorization.update", "tls.bulk_certificate.create", "tls.bulk_certificate.delete", "tls.bulk_certificate.update", "tls.certificate.create", "tls.certificate.expiration_email", "tls.certificate.update", "tls.certificate.delete", "tls.configuration.update", "tls.private_key.create", "tls.private_key.delete", "tls.activation.enable", "tls.activation.update", "tls.activation.disable", "tls.globalsign.domain.create", "tls.globalsign.domain.verify", "tls.globalsign.domain.delete", "tls.subscription.create", "tls.subscription.delete", "tls.subscription.dns_check_email", "token.create", "token.destroy", "two_factor_auth.disable", "two_factor_auth.enable", "user.create", "user.destroy", "user.lock", "user.login", "user.login_failure", "user.logout", "user.password_update", "user.unlock", "user.update", "vcl.create", "vcl.delete", "vcl.update", "version.activate", "version.clone", "version.copy", "version.copy_destination", "version.copy_source", "version.create", "version.deactivate", "version.lock", "version.update", "waf.configuration_set_update", "waf.create", "waf.delete", "waf.update", "waf.enable", "waf.disable", "waf.owasp.create", "waf.owasp.update", "waf.ruleset.deploy", "waf.ruleset.deploy_failure", "wordpress.create", "wordpress.delete", "wordpress.update"])
185
185
  unless validator.valid?(event_type)
186
186
  fail ArgumentError, "invalid value for \"event_type\", must be one of #{validator.allowable_values}."
187
187
  end
@@ -12,11 +12,14 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- # The Unix timestamp at which this record's data was generated.
16
- class RecordedTimestamp
15
+ class InlineResponse201
16
+ # Alphanumeric string identifying the address.
17
+ attr_accessor :id
18
+
17
19
  # Attribute mapping from ruby-style variable name to JSON key.
18
20
  def self.attribute_map
19
21
  {
22
+ :'id' => :'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
+ :'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::RecordedTimestamp` initialize method"
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::InlineResponse201` 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::RecordedTimestamp`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::InlineResponse201`. 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?(:'id')
60
+ self.id = attributes[:'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
+ id == o.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
+ [id].hash
86
95
  end
87
96
 
88
97
  # Builds the object from hash
@@ -102,10 +102,20 @@ module Fastly
102
102
  # List of attributes with nullable: true
103
103
  def self.fastly_nullable
104
104
  Set.new([
105
+ :'amount',
106
+ :'aria_invoice_id',
107
+ :'client_service_id',
105
108
  :'credit_coupon_code',
109
+ :'description',
110
+ :'line_number',
111
+ :'plan_name',
112
+ :'plan_no',
106
113
  :'rate_per_unit',
107
114
  :'rate_schedule_no',
108
115
  :'rate_schedule_tier_no',
116
+ :'service_name',
117
+ :'service_no',
118
+ :'units',
109
119
  :'usage_type_cd',
110
120
  :'usage_type_no'
111
121
  ])
@@ -12,11 +12,13 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- # Value to use for subsequent requests.
16
- class OriginInspectorSubsequentRequestTimestamp
15
+ class ListCustomerAddressesResponse
16
+ attr_accessor :data
17
+
17
18
  # Attribute mapping from ruby-style variable name to JSON key.
18
19
  def self.attribute_map
19
20
  {
21
+ :'data' => :'data'
20
22
  }
21
23
  end
22
24
 
@@ -28,6 +30,7 @@ module Fastly
28
30
  # Attribute type mapping.
29
31
  def self.fastly_types
30
32
  {
33
+ :'data' => :'Array<CustomerAddress>'
31
34
  }
32
35
  end
33
36
 
@@ -41,16 +44,22 @@ module Fastly
41
44
  # @param [Hash] attributes Model attributes in the form of hash
42
45
  def initialize(attributes = {})
43
46
  if (!attributes.is_a?(Hash))
44
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::OriginInspectorSubsequentRequestTimestamp` initialize method"
47
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::ListCustomerAddressesResponse` initialize method"
45
48
  end
46
49
 
47
50
  # check to see if the attribute exists and convert string to symbol for hash key
48
51
  attributes = attributes.each_with_object({}) { |(k, v), h|
49
52
  if (!self.class.attribute_map.key?(k.to_sym))
50
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::OriginInspectorSubsequentRequestTimestamp`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
53
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::ListCustomerAddressesResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
51
54
  end
52
55
  h[k.to_sym] = v
53
56
  }
57
+
58
+ if attributes.key?(:'data')
59
+ if (value = attributes[:'data']).is_a?(Array)
60
+ self.data = value
61
+ end
62
+ end
54
63
  end
55
64
 
56
65
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -70,7 +79,8 @@ module Fastly
70
79
  # @param [Object] Object to be compared
71
80
  def ==(o)
72
81
  return true if self.equal?(o)
73
- self.class == o.class
82
+ self.class == o.class &&
83
+ data == o.data
74
84
  end
75
85
 
76
86
  # @see the `==` method
@@ -82,7 +92,7 @@ module Fastly
82
92
  # Calculates hash code according to all attributes.
83
93
  # @return [Integer] Hash code
84
94
  def hash
85
- [].hash
95
+ [data].hash
86
96
  end
87
97
 
88
98
  # Builds the object from hash
@@ -13,6 +13,7 @@ require 'time'
13
13
 
14
14
  module Fastly
15
15
  class OriginInspector
16
+ # Value to use for subsequent requests.
16
17
  attr_accessor :timestamp
17
18
 
18
19
  # Offset of entry timestamps from the current time due to processing time.
@@ -38,7 +39,7 @@ module Fastly
38
39
  # Attribute type mapping.
39
40
  def self.fastly_types
40
41
  {
41
- :'timestamp' => :'OriginInspectorSubsequentRequestTimestamp',
42
+ :'timestamp' => :'Integer',
42
43
  :'aggregate_delay' => :'Integer',
43
44
  :'data' => :'Array<OriginInspectorRealtimeEntry>'
44
45
  }
@@ -14,6 +14,7 @@ require 'time'
14
14
  module Fastly
15
15
  # Each reporting period is represented by an entry in the `Data` property of the top level response and provides access to [measurement data](#measurements-data-model) for that time period, grouped by origin name and optionally by POP. The `datacenter` property organizes the measurements by Fastly POP, while the `aggregated` property combines the measurements of all POPs.
16
16
  class OriginInspectorRealtimeEntry
17
+ # The Unix timestamp at which this record's data was generated.
17
18
  attr_accessor :recorded
18
19
 
19
20
  # Groups [measurements](#measurements-data-model) by backend name.
@@ -39,7 +40,7 @@ module Fastly
39
40
  # Attribute type mapping.
40
41
  def self.fastly_types
41
42
  {
42
- :'recorded' => :'OriginInspectorRealtimeEntryRecorded',
43
+ :'recorded' => :'Integer',
43
44
  :'aggregated' => :'Hash<String, OriginInspectorMeasurements>',
44
45
  :'datacenter' => :'Hash<String, Hash<String, OriginInspectorMeasurements>>'
45
46
  }
@@ -761,6 +761,9 @@ module Fastly
761
761
  # Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`).
762
762
  attr_accessor :origin_offload
763
763
 
764
+ # Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body.
765
+ attr_accessor :request_denied_get_head_body
766
+
764
767
  # Attribute mapping from ruby-style variable name to JSON key.
765
768
  def self.attribute_map
766
769
  {
@@ -1012,7 +1015,8 @@ module Fastly
1012
1015
  :'all_status_3xx' => :'all_status_3xx',
1013
1016
  :'all_status_4xx' => :'all_status_4xx',
1014
1017
  :'all_status_5xx' => :'all_status_5xx',
1015
- :'origin_offload' => :'origin_offload'
1018
+ :'origin_offload' => :'origin_offload',
1019
+ :'request_denied_get_head_body' => :'request_denied_get_head_body'
1016
1020
  }
1017
1021
  end
1018
1022
 
@@ -1272,7 +1276,8 @@ module Fastly
1272
1276
  :'all_status_3xx' => :'Integer',
1273
1277
  :'all_status_4xx' => :'Integer',
1274
1278
  :'all_status_5xx' => :'Integer',
1275
- :'origin_offload' => :'Float'
1279
+ :'origin_offload' => :'Float',
1280
+ :'request_denied_get_head_body' => :'Integer'
1276
1281
  }
1277
1282
  end
1278
1283
 
@@ -2301,6 +2306,10 @@ module Fastly
2301
2306
  if attributes.key?(:'origin_offload')
2302
2307
  self.origin_offload = attributes[:'origin_offload']
2303
2308
  end
2309
+
2310
+ if attributes.key?(:'request_denied_get_head_body')
2311
+ self.request_denied_get_head_body = attributes[:'request_denied_get_head_body']
2312
+ end
2304
2313
  end
2305
2314
 
2306
2315
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -2569,7 +2578,8 @@ module Fastly
2569
2578
  all_status_3xx == o.all_status_3xx &&
2570
2579
  all_status_4xx == o.all_status_4xx &&
2571
2580
  all_status_5xx == o.all_status_5xx &&
2572
- origin_offload == o.origin_offload
2581
+ origin_offload == o.origin_offload &&
2582
+ request_denied_get_head_body == o.request_denied_get_head_body
2573
2583
  end
2574
2584
 
2575
2585
  # @see the `==` method
@@ -2581,7 +2591,7 @@ module Fastly
2581
2591
  # Calculates hash code according to all attributes.
2582
2592
  # @return [Integer] Hash code
2583
2593
  def hash
2584
- [requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, bot_challenge_complete_tokens_issued, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, origin_offload].hash
2594
+ [requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, bot_challenge_complete_tokens_issued, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, origin_offload, request_denied_get_head_body].hash
2585
2595
  end
2586
2596
 
2587
2597
  # Builds the object from hash