fastly 16.1.0 → 17.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +77 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +102 -58
  5. data/docs/Action.md +11 -0
  6. data/docs/ActionType.md +9 -0
  7. data/docs/AgentKey.md +14 -0
  8. data/docs/AgentKeyMeta.md +10 -0
  9. data/docs/Backend.md +3 -1
  10. data/docs/BackendApi.md +12 -4
  11. data/docs/BackendResponse.md +3 -1
  12. data/docs/BotManagementRequestUpdateConfiguration.md +10 -0
  13. data/docs/BotManagementResponseConfiguration.md +10 -0
  14. data/docs/BotManagementResponseConfigurationConfiguration.md +10 -0
  15. data/docs/BotManagementResponseConfigure.md +13 -0
  16. data/docs/ClientSideProtectionApi.md +821 -0
  17. data/docs/ConditionOperator.md +9 -0
  18. data/docs/ConditionType.md +9 -0
  19. data/docs/DdosProtectionApi.md +4 -4
  20. data/docs/Directive.md +11 -0
  21. data/docs/DmDomainsApi.md +2 -2
  22. data/docs/DmRoutingConfigsApi.md +912 -0
  23. data/docs/DomainInspectorMeasurements.md +6 -0
  24. data/docs/DomainOwnershipsApi.md +2 -2
  25. data/docs/DomainResearchApi.md +2 -2
  26. data/docs/DraftDiff.md +12 -0
  27. data/docs/DraftUpdate.md +10 -0
  28. data/docs/ErrorResponse.md +13 -0
  29. data/docs/ErrorResponseErrors.md +12 -0
  30. data/docs/EventsResponse.md +1 -1
  31. data/docs/HeaderEvent.md +14 -0
  32. data/docs/InitialVersion.md +12 -0
  33. data/docs/InitialVersionPath.md +11 -0
  34. data/docs/InlineResponse20010.md +2 -2
  35. data/docs/InlineResponse20011.md +2 -2
  36. data/docs/InlineResponse20012.md +1 -1
  37. data/docs/InlineResponse20013.md +2 -2
  38. data/docs/InlineResponse20014.md +2 -1
  39. data/docs/InlineResponse20015.md +10 -0
  40. data/docs/InlineResponse20016.md +10 -0
  41. data/docs/InlineResponse20017.md +11 -0
  42. data/docs/InlineResponse20018.md +11 -0
  43. data/docs/InlineResponse20019.md +11 -0
  44. data/docs/InlineResponse20020.md +11 -0
  45. data/docs/InlineResponse20021.md +11 -0
  46. data/docs/InlineResponse20022.md +10 -0
  47. data/docs/InlineResponse2005.md +2 -2
  48. data/docs/InlineResponse2006.md +2 -2
  49. data/docs/InlineResponse2007.md +2 -2
  50. data/docs/InlineResponse2008.md +2 -1
  51. data/docs/InlineResponse2009.md +2 -1
  52. data/docs/InvitationsResponse.md +1 -1
  53. data/docs/KvStoreApi.md +2 -2
  54. data/docs/KvStoreItemApi.md +2 -2
  55. data/docs/KvStoreResponseBodyEnable.md +12 -0
  56. data/docs/KvStoreResponseCustomer.md +10 -0
  57. data/docs/KvStoreResponseLinks.md +10 -0
  58. data/docs/KvStoreResponseLinksLinks.md +10 -0
  59. data/docs/KvStoreResponseProduct.md +10 -0
  60. data/docs/KvStoreResponseProductProduct.md +11 -0
  61. data/docs/LogError.md +15 -0
  62. data/docs/LogErrorBatch.md +11 -0
  63. data/docs/LoggingAzureblobApi.md +4 -4
  64. data/docs/LoggingAzureblobResponse.md +1 -1
  65. data/docs/LoggingCloudfilesApi.md +4 -4
  66. data/docs/LoggingCloudfilesResponse.md +1 -1
  67. data/docs/LoggingDigitaloceanApi.md +4 -4
  68. data/docs/LoggingDigitaloceanResponse.md +1 -1
  69. data/docs/LoggingEndpointErrorsApi.md +61 -0
  70. data/docs/LoggingFtpApi.md +4 -4
  71. data/docs/LoggingFtpResponse.md +1 -1
  72. data/docs/LoggingGcsApi.md +4 -4
  73. data/docs/LoggingGcsResponse.md +1 -1
  74. data/docs/LoggingGenericCommon.md +1 -1
  75. data/docs/LoggingGenericCommonResponse.md +1 -1
  76. data/docs/LoggingGenericCommonResponseAllOf.md +1 -1
  77. data/docs/LoggingHttpsAdditional.md +1 -1
  78. data/docs/LoggingHttpsApi.md +4 -4
  79. data/docs/LoggingHttpsResponse.md +1 -1
  80. data/docs/LoggingOpenstackApi.md +4 -4
  81. data/docs/LoggingOpenstackResponse.md +1 -1
  82. data/docs/LoggingS3Api.md +4 -4
  83. data/docs/LoggingS3Response.md +1 -1
  84. data/docs/LoggingSftpApi.md +4 -4
  85. data/docs/LoggingSftpResponse.md +1 -1
  86. data/docs/LoggingSumologicAdditional.md +1 -1
  87. data/docs/LoggingSumologicApi.md +4 -4
  88. data/docs/LoggingSumologicResponse.md +1 -1
  89. data/docs/LoggingSyslogAdditional.md +1 -1
  90. data/docs/LoggingSyslogApi.md +4 -4
  91. data/docs/LoggingSyslogResponse.md +1 -1
  92. data/docs/MutualAuthenticationsResponse.md +1 -1
  93. data/docs/NgwafAgentKeysApi.md +55 -0
  94. data/docs/NgwafSimulateApi.md +61 -0
  95. data/docs/Notification.md +11 -0
  96. data/docs/NotificationConfig.md +10 -0
  97. data/docs/Page.md +17 -0
  98. data/docs/PageCreate.md +14 -0
  99. data/docs/PageUpdate.md +14 -0
  100. data/docs/Pagination.md +1 -1
  101. data/docs/PaginationMeta.md +4 -4
  102. data/docs/PaginationMeta1.md +13 -0
  103. data/docs/PathChange.md +15 -0
  104. data/docs/PathCreate.md +10 -0
  105. data/docs/PathResponse.md +14 -0
  106. data/docs/PathResponseAllOf.md +12 -0
  107. data/docs/PathUpdate.md +10 -0
  108. data/docs/PathWithRules.md +11 -0
  109. data/docs/PathsResponse.md +11 -0
  110. data/docs/Policy.md +17 -0
  111. data/docs/PolicyCreate.md +13 -0
  112. data/docs/PolicyUpdate.md +13 -0
  113. data/docs/Position.md +11 -0
  114. data/docs/ProductBotManagementApi.md +78 -0
  115. data/docs/ProductKvStoreApi.md +115 -0
  116. data/docs/RealtimeEntry.md +1 -1
  117. data/docs/RealtimeEntryAggregated.md +36 -3
  118. data/docs/RealtimeEntryDatacenter.md +347 -0
  119. data/docs/RealtimeMeasurements.md +36 -3
  120. data/docs/Report.md +15 -0
  121. data/docs/RequestBodyForCreate.md +1 -0
  122. data/docs/RequestBodyForUpdate.md +1 -0
  123. data/docs/Results.md +36 -3
  124. data/docs/RoutingConfig.md +11 -0
  125. data/docs/RoutingConfigCondition.md +13 -0
  126. data/docs/RoutingConfigResponse.md +16 -0
  127. data/docs/RoutingConfigResponseAllOf.md +14 -0
  128. data/docs/RoutingConfigState.md +9 -0
  129. data/docs/RoutingConfigVersionResponse.md +13 -0
  130. data/docs/RoutingConfigsResponse.md +11 -0
  131. data/docs/RuleChange.md +12 -0
  132. data/docs/RuleCreate.md +12 -0
  133. data/docs/RuleResponse.md +15 -0
  134. data/docs/RuleResponseAllOf.md +13 -0
  135. data/docs/RuleUpdate.md +12 -0
  136. data/docs/RulesResponse.md +11 -0
  137. data/docs/Script.md +20 -0
  138. data/docs/ScriptUpdate.md +12 -0
  139. data/docs/SecretStoreApi.md +2 -2
  140. data/docs/SecretStoreItemApi.md +2 -2
  141. data/docs/SecurityHeader.md +12 -0
  142. data/docs/ServiceAuthorizationsApi.md +2 -2
  143. data/docs/ServiceAuthorizationsResponse.md +1 -1
  144. data/docs/SuccessfulResponseAsObject.md +1 -0
  145. data/docs/SuccessfulResponseAsObjectAllOf.md +1 -0
  146. data/docs/TlsActivationsResponse.md +1 -1
  147. data/docs/TlsBulkCertificatesResponse.md +1 -1
  148. data/docs/TlsCertificatesResponse.md +1 -1
  149. data/docs/TlsConfigurationsResponse.md +1 -1
  150. data/docs/TlsDomainsResponse.md +1 -1
  151. data/docs/TlsPrivateKeysResponse.md +1 -1
  152. data/docs/TlsSubscriptionsResponse.md +1 -1
  153. data/docs/Values.md +6 -0
  154. data/docs/VersionsResponse.md +11 -0
  155. data/docs/WafSimulateRequest.md +11 -0
  156. data/docs/WafSimulateResponse.md +11 -0
  157. data/docs/WafSimulateSignal.md +16 -0
  158. data/docs/Website.md +14 -0
  159. data/docs/WebsiteCreate.md +10 -0
  160. data/docs/WebsiteUpdate.md +10 -0
  161. data/lib/fastly/api/backend_api.rb +16 -4
  162. data/lib/fastly/api/client_side_protection_api.rb +1465 -0
  163. data/lib/fastly/api/ddos_protection_api.rb +6 -6
  164. data/lib/fastly/api/dm_domains_api.rb +3 -3
  165. data/lib/fastly/api/dm_routing_configs_api.rb +1596 -0
  166. data/lib/fastly/api/domain_ownerships_api.rb +3 -3
  167. data/lib/fastly/api/domain_research_api.rb +3 -3
  168. data/lib/fastly/api/kv_store_api.rb +3 -3
  169. data/lib/fastly/api/kv_store_item_api.rb +3 -3
  170. data/lib/fastly/api/logging_azureblob_api.rb +6 -6
  171. data/lib/fastly/api/logging_cloudfiles_api.rb +6 -6
  172. data/lib/fastly/api/logging_digitalocean_api.rb +6 -6
  173. data/lib/fastly/api/logging_endpoint_errors_api.rb +92 -0
  174. data/lib/fastly/api/logging_ftp_api.rb +6 -6
  175. data/lib/fastly/api/logging_gcs_api.rb +6 -6
  176. data/lib/fastly/api/logging_https_api.rb +4 -4
  177. data/lib/fastly/api/logging_openstack_api.rb +6 -6
  178. data/lib/fastly/api/logging_s3_api.rb +6 -6
  179. data/lib/fastly/api/logging_sftp_api.rb +6 -6
  180. data/lib/fastly/api/logging_sumologic_api.rb +4 -4
  181. data/lib/fastly/api/logging_syslog_api.rb +4 -4
  182. data/lib/fastly/api/ngwaf_agent_keys_api.rb +83 -0
  183. data/lib/fastly/api/ngwaf_simulate_api.rb +95 -0
  184. data/lib/fastly/api/product_bot_management_api.rb +133 -0
  185. data/lib/fastly/api/product_kv_store_api.rb +186 -0
  186. data/lib/fastly/api/secret_store_api.rb +3 -3
  187. data/lib/fastly/api/secret_store_item_api.rb +3 -3
  188. data/lib/fastly/api/service_authorizations_api.rb +3 -3
  189. data/lib/fastly/configuration.rb +300 -0
  190. data/lib/fastly/models/action.rb +237 -0
  191. data/lib/fastly/models/action_type.rb +34 -0
  192. data/lib/fastly/models/agent_key.rb +283 -0
  193. data/lib/fastly/models/agent_key_meta.rb +223 -0
  194. data/lib/fastly/models/backend.rb +24 -2
  195. data/lib/fastly/models/backend_response.rb +24 -2
  196. data/lib/fastly/models/bot_management_request_update_configuration.rb +256 -0
  197. data/lib/fastly/models/bot_management_response_configuration.rb +216 -0
  198. data/lib/fastly/models/bot_management_response_configuration_configuration.rb +217 -0
  199. data/lib/fastly/models/bot_management_response_configure.rb +253 -0
  200. data/lib/fastly/models/condition_operator.rb +37 -0
  201. data/lib/fastly/models/condition_type.rb +34 -0
  202. data/lib/fastly/models/directive.rb +229 -0
  203. data/lib/fastly/models/domain_inspector_measurements.rb +64 -4
  204. data/lib/fastly/models/draft_diff.rb +244 -0
  205. data/lib/fastly/models/draft_update.rb +218 -0
  206. data/lib/fastly/models/error_response.rb +248 -0
  207. data/lib/fastly/models/error_response_errors.rb +234 -0
  208. data/lib/fastly/models/events_response.rb +1 -1
  209. data/lib/fastly/models/header_event.rb +252 -0
  210. data/lib/fastly/models/initial_version.rb +242 -0
  211. data/lib/fastly/models/initial_version_path.rb +254 -0
  212. data/lib/fastly/models/inline_response20010.rb +2 -2
  213. data/lib/fastly/models/inline_response20011.rb +2 -2
  214. data/lib/fastly/models/inline_response20012.rb +1 -1
  215. data/lib/fastly/models/inline_response20013.rb +11 -1
  216. data/lib/fastly/models/inline_response20014.rb +15 -4
  217. data/lib/fastly/models/inline_response20015.rb +217 -0
  218. data/lib/fastly/models/inline_response20016.rb +218 -0
  219. data/lib/fastly/models/inline_response20017.rb +227 -0
  220. data/lib/fastly/models/inline_response20018.rb +227 -0
  221. data/lib/fastly/models/inline_response20019.rb +228 -0
  222. data/lib/fastly/models/inline_response20020.rb +227 -0
  223. data/lib/fastly/models/inline_response20021.rb +227 -0
  224. data/lib/fastly/models/inline_response20022.rb +218 -0
  225. data/lib/fastly/models/inline_response2005.rb +2 -2
  226. data/lib/fastly/models/inline_response2006.rb +2 -12
  227. data/lib/fastly/models/inline_response2007.rb +2 -4
  228. data/lib/fastly/models/inline_response2008.rb +18 -8
  229. data/lib/fastly/models/inline_response2009.rb +17 -8
  230. data/lib/fastly/models/invitations_response.rb +1 -1
  231. data/lib/fastly/models/kv_store_response_body_enable.rb +243 -0
  232. data/lib/fastly/models/kv_store_response_customer.rb +216 -0
  233. data/lib/fastly/models/kv_store_response_links.rb +216 -0
  234. data/lib/fastly/models/kv_store_response_links_links.rb +217 -0
  235. data/lib/fastly/models/kv_store_response_product.rb +216 -0
  236. data/lib/fastly/models/kv_store_response_product_product.rb +227 -0
  237. data/lib/fastly/models/log_error.rb +267 -0
  238. data/lib/fastly/models/log_error_batch.rb +228 -0
  239. data/lib/fastly/models/logging_azureblob_response.rb +3 -3
  240. data/lib/fastly/models/logging_cloudfiles_response.rb +3 -3
  241. data/lib/fastly/models/logging_digitalocean_response.rb +3 -3
  242. data/lib/fastly/models/logging_ftp_response.rb +3 -3
  243. data/lib/fastly/models/logging_gcs_response.rb +3 -3
  244. data/lib/fastly/models/logging_generic_common.rb +3 -3
  245. data/lib/fastly/models/logging_generic_common_response.rb +3 -3
  246. data/lib/fastly/models/logging_generic_common_response_all_of.rb +3 -3
  247. data/lib/fastly/models/logging_https_additional.rb +1 -1
  248. data/lib/fastly/models/logging_https_response.rb +1 -1
  249. data/lib/fastly/models/logging_message_type.rb +1 -1
  250. data/lib/fastly/models/logging_openstack_response.rb +3 -3
  251. data/lib/fastly/models/logging_s3_response.rb +3 -3
  252. data/lib/fastly/models/logging_sftp_response.rb +3 -3
  253. data/lib/fastly/models/logging_sumologic_additional.rb +1 -1
  254. data/lib/fastly/models/logging_sumologic_response.rb +1 -1
  255. data/lib/fastly/models/logging_syslog_additional.rb +1 -1
  256. data/lib/fastly/models/logging_syslog_response.rb +1 -1
  257. data/lib/fastly/models/mutual_authentications_response.rb +1 -1
  258. data/lib/fastly/models/notification.rb +270 -0
  259. data/lib/fastly/models/notification_config.rb +218 -0
  260. data/lib/fastly/models/page.rb +289 -0
  261. data/lib/fastly/models/page_create.rb +266 -0
  262. data/lib/fastly/models/page_update.rb +256 -0
  263. data/lib/fastly/models/pagination.rb +1 -1
  264. data/lib/fastly/models/pagination_meta.rb +30 -55
  265. data/lib/fastly/models/pagination_meta1.rb +273 -0
  266. data/lib/fastly/models/path_change.rb +274 -0
  267. data/lib/fastly/models/path_create.rb +242 -0
  268. data/lib/fastly/models/path_response.rb +285 -0
  269. data/lib/fastly/models/path_response_all_of.rb +254 -0
  270. data/lib/fastly/models/path_update.rb +233 -0
  271. data/lib/fastly/models/path_with_rules.rb +228 -0
  272. data/lib/fastly/models/paths_response.rb +228 -0
  273. data/lib/fastly/models/policy.rb +315 -0
  274. data/lib/fastly/models/policy_create.rb +289 -0
  275. data/lib/fastly/models/policy_update.rb +279 -0
  276. data/lib/fastly/models/position.rb +228 -0
  277. data/lib/fastly/models/realtime_entry.rb +2 -5
  278. data/lib/fastly/models/realtime_entry_aggregated.rb +364 -34
  279. data/lib/fastly/models/realtime_entry_datacenter.rb +3597 -0
  280. data/lib/fastly/models/realtime_measurements.rb +364 -34
  281. data/lib/fastly/models/report.rb +261 -0
  282. data/lib/fastly/models/request_body_for_create.rb +12 -1
  283. data/lib/fastly/models/request_body_for_update.rb +12 -1
  284. data/lib/fastly/models/results.rb +361 -31
  285. data/lib/fastly/models/routing_config.rb +251 -0
  286. data/lib/fastly/models/routing_config_condition.rb +261 -0
  287. data/lib/fastly/models/routing_config_response.rb +305 -0
  288. data/lib/fastly/models/routing_config_response_all_of.rb +274 -0
  289. data/lib/fastly/models/routing_config_state.rb +36 -0
  290. data/lib/fastly/models/routing_config_version_response.rb +250 -0
  291. data/lib/fastly/models/routing_configs_response.rb +228 -0
  292. data/lib/fastly/models/rule_change.rb +236 -0
  293. data/lib/fastly/models/rule_create.rb +267 -0
  294. data/lib/fastly/models/rule_response.rb +279 -0
  295. data/lib/fastly/models/rule_response_all_of.rb +248 -0
  296. data/lib/fastly/models/rule_update.rb +252 -0
  297. data/lib/fastly/models/rules_response.rb +228 -0
  298. data/lib/fastly/models/script.rb +350 -0
  299. data/lib/fastly/models/script_update.rb +271 -0
  300. data/lib/fastly/models/security_header.rb +234 -0
  301. data/lib/fastly/models/service_authorizations_response.rb +1 -1
  302. data/lib/fastly/models/successful_response_as_object.rb +12 -1
  303. data/lib/fastly/models/successful_response_as_object_all_of.rb +12 -1
  304. data/lib/fastly/models/tls_activations_response.rb +1 -1
  305. data/lib/fastly/models/tls_bulk_certificates_response.rb +1 -1
  306. data/lib/fastly/models/tls_certificates_response.rb +1 -1
  307. data/lib/fastly/models/tls_configurations_response.rb +1 -1
  308. data/lib/fastly/models/tls_domains_response.rb +1 -1
  309. data/lib/fastly/models/tls_private_keys_response.rb +1 -1
  310. data/lib/fastly/models/tls_subscriptions_response.rb +1 -1
  311. data/lib/fastly/models/values.rb +64 -4
  312. data/lib/fastly/models/versions_response.rb +228 -0
  313. data/lib/fastly/models/waf_simulate_request.rb +233 -0
  314. data/lib/fastly/models/waf_simulate_response.rb +240 -0
  315. data/lib/fastly/models/waf_simulate_signal.rb +344 -0
  316. data/lib/fastly/models/website.rb +257 -0
  317. data/lib/fastly/models/website_create.rb +222 -0
  318. data/lib/fastly/models/website_update.rb +217 -0
  319. data/lib/fastly/version.rb +1 -1
  320. data/lib/fastly.rb +82 -0
  321. data/sig.json +1 -1
  322. metadata +166 -2
@@ -0,0 +1,228 @@
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 LogErrorBatch
16
+ # Unique identifier for this batch of logs.
17
+ attr_accessor :batch_id
18
+
19
+ attr_accessor :logs
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'batch_id' => :'batch_id',
25
+ :'logs' => :'logs'
26
+ }
27
+ end
28
+
29
+ # Returns all the JSON keys this model knows about
30
+ def self.acceptable_attributes
31
+ attribute_map.values
32
+ end
33
+
34
+ # Attribute type mapping.
35
+ def self.fastly_types
36
+ {
37
+ :'batch_id' => :'String',
38
+ :'logs' => :'Array<LogError>'
39
+ }
40
+ end
41
+
42
+ # List of attributes with nullable: true
43
+ def self.fastly_nullable
44
+ Set.new([
45
+ ])
46
+ end
47
+
48
+ # Initializes the object
49
+ # @param [Hash] attributes Model attributes in the form of hash
50
+ def initialize(attributes = {})
51
+ if (!attributes.is_a?(Hash))
52
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::LogErrorBatch` initialize method"
53
+ end
54
+
55
+ # check to see if the attribute exists and convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h|
57
+ if (!self.class.attribute_map.key?(k.to_sym))
58
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::LogErrorBatch`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
59
+ end
60
+ h[k.to_sym] = v
61
+ }
62
+
63
+ if attributes.key?(:'batch_id')
64
+ self.batch_id = attributes[:'batch_id']
65
+ end
66
+
67
+ if attributes.key?(:'logs')
68
+ if (value = attributes[:'logs']).is_a?(Array)
69
+ self.logs = value
70
+ end
71
+ end
72
+ end
73
+
74
+ # Show invalid properties with the reasons. Usually used together with valid?
75
+ # @return Array for valid properties with the reasons
76
+ def list_invalid_properties
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ true
85
+ end
86
+
87
+ # Checks equality by comparing each attribute.
88
+ # @param [Object] Object to be compared
89
+ def ==(o)
90
+ return true if self.equal?(o)
91
+ self.class == o.class &&
92
+ batch_id == o.batch_id &&
93
+ logs == o.logs
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Integer] Hash code
104
+ def hash
105
+ [batch_id, logs].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def self.build_from_hash(attributes)
112
+ new.build_from_hash(attributes)
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 build_from_hash(attributes)
119
+ return nil unless attributes.is_a?(Hash)
120
+ self.class.fastly_types.each_pair do |key, type|
121
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
122
+ self.send("#{key}=", nil)
123
+ elsif type =~ /\AArray<(.*)>/i
124
+ # check to ensure the input is an array given that the attribute
125
+ # is documented as an array but the input is not
126
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
127
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
128
+ end
129
+ elsif !attributes[self.class.attribute_map[key]].nil?
130
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
131
+ end
132
+ end
133
+
134
+ self
135
+ end
136
+
137
+ # Deserializes the data based on type
138
+ # @param string type Data type
139
+ # @param string value Value to be deserialized
140
+ # @return [Object] Deserialized data
141
+ def _deserialize(type, value)
142
+ case type.to_sym
143
+ when :Time
144
+ Time.parse(value)
145
+ when :Date
146
+ Date.parse(value)
147
+ when :String
148
+ value.to_s
149
+ when :Integer
150
+ value.to_i
151
+ when :Float
152
+ value.to_f
153
+ when :Boolean
154
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
155
+ true
156
+ else
157
+ false
158
+ end
159
+ when :Object
160
+ # generic object (usually a Hash), return directly
161
+ value
162
+ when /\AArray<(?<inner_type>.+)>\z/
163
+ inner_type = Regexp.last_match[:inner_type]
164
+ value.map { |v| _deserialize(inner_type, v) }
165
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
166
+ k_type = Regexp.last_match[:k_type]
167
+ v_type = Regexp.last_match[:v_type]
168
+ {}.tap do |hash|
169
+ value.each do |k, v|
170
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
171
+ end
172
+ end
173
+ else # model
174
+ # models (e.g. Pet) or oneOf
175
+ klass = Fastly.const_get(type)
176
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
177
+ end
178
+ end
179
+
180
+ # Returns the string representation of the object
181
+ # @return [String] String presentation of the object
182
+ def to_s
183
+ to_hash.to_s
184
+ end
185
+
186
+ # to_body is an alias to to_hash (backward compatibility)
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_body
189
+ to_hash
190
+ end
191
+
192
+ # Returns the object in the form of hash
193
+ # @return [Hash] Returns the object in the form of hash
194
+ def to_hash
195
+ hash = {}
196
+ self.class.attribute_map.each_pair do |attr, param|
197
+ value = self.send(attr)
198
+ if value.nil?
199
+ is_nullable = self.class.fastly_nullable.include?(attr)
200
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
201
+ end
202
+
203
+ hash[param] = _to_hash(value)
204
+ end
205
+ hash
206
+ end
207
+
208
+ # Outputs non-array value in the form of hash
209
+ # For object, use to_hash. Otherwise, just return the value
210
+ # @param [Object] value Any valid value
211
+ # @return [Hash] Returns the value in the form of hash
212
+ def _to_hash(value)
213
+ if value.is_a?(Array)
214
+ value.compact.map { |v| _to_hash(v) }
215
+ elsif value.is_a?(Hash)
216
+ {}.tap do |hash|
217
+ value.each { |k, v| hash[k] = _to_hash(v) }
218
+ end
219
+ elsif value.respond_to? :to_hash
220
+ value.to_hash
221
+ else
222
+ value
223
+ end
224
+ end
225
+
226
+ end
227
+
228
+ end
@@ -233,7 +233,7 @@ module Fastly
233
233
  if attributes.key?(:'message_type')
234
234
  self.message_type = attributes[:'message_type']
235
235
  else
236
- self.message_type = 'classic'
236
+ self.message_type = 'blank'
237
237
  end
238
238
 
239
239
  if attributes.key?(:'timestamp_format')
@@ -325,7 +325,7 @@ module Fastly
325
325
  return false unless log_processing_region_validator.valid?(@log_processing_region)
326
326
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
327
327
  return false unless format_version_validator.valid?(@format_version)
328
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
328
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
329
329
  return false unless message_type_validator.valid?(@message_type)
330
330
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
331
331
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -366,7 +366,7 @@ module Fastly
366
366
  # Custom attribute writer method checking allowed values (enum).
367
367
  # @param [Object] message_type Object to be assigned
368
368
  def message_type=(message_type)
369
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
369
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
370
370
  unless validator.valid?(message_type)
371
371
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
372
372
  end
@@ -234,7 +234,7 @@ module Fastly
234
234
  if attributes.key?(:'message_type')
235
235
  self.message_type = attributes[:'message_type']
236
236
  else
237
- self.message_type = 'classic'
237
+ self.message_type = 'blank'
238
238
  end
239
239
 
240
240
  if attributes.key?(:'timestamp_format')
@@ -322,7 +322,7 @@ module Fastly
322
322
  return false unless log_processing_region_validator.valid?(@log_processing_region)
323
323
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
324
324
  return false unless format_version_validator.valid?(@format_version)
325
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
325
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
326
326
  return false unless message_type_validator.valid?(@message_type)
327
327
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
328
328
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -364,7 +364,7 @@ module Fastly
364
364
  # Custom attribute writer method checking allowed values (enum).
365
365
  # @param [Object] message_type Object to be assigned
366
366
  def message_type=(message_type)
367
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
367
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
368
368
  unless validator.valid?(message_type)
369
369
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
370
370
  end
@@ -233,7 +233,7 @@ module Fastly
233
233
  if attributes.key?(:'message_type')
234
234
  self.message_type = attributes[:'message_type']
235
235
  else
236
- self.message_type = 'classic'
236
+ self.message_type = 'blank'
237
237
  end
238
238
 
239
239
  if attributes.key?(:'timestamp_format')
@@ -323,7 +323,7 @@ module Fastly
323
323
  return false unless log_processing_region_validator.valid?(@log_processing_region)
324
324
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
325
325
  return false unless format_version_validator.valid?(@format_version)
326
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
326
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
327
327
  return false unless message_type_validator.valid?(@message_type)
328
328
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
329
329
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -363,7 +363,7 @@ module Fastly
363
363
  # Custom attribute writer method checking allowed values (enum).
364
364
  # @param [Object] message_type Object to be assigned
365
365
  def message_type=(message_type)
366
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
366
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
367
367
  unless validator.valid?(message_type)
368
368
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
369
369
  end
@@ -243,7 +243,7 @@ module Fastly
243
243
  if attributes.key?(:'message_type')
244
244
  self.message_type = attributes[:'message_type']
245
245
  else
246
- self.message_type = 'classic'
246
+ self.message_type = 'blank'
247
247
  end
248
248
 
249
249
  if attributes.key?(:'timestamp_format')
@@ -339,7 +339,7 @@ module Fastly
339
339
  return false unless log_processing_region_validator.valid?(@log_processing_region)
340
340
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
341
341
  return false unless format_version_validator.valid?(@format_version)
342
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
342
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
343
343
  return false unless message_type_validator.valid?(@message_type)
344
344
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
345
345
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -379,7 +379,7 @@ module Fastly
379
379
  # Custom attribute writer method checking allowed values (enum).
380
380
  # @param [Object] message_type Object to be assigned
381
381
  def message_type=(message_type)
382
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
382
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
383
383
  unless validator.valid?(message_type)
384
384
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
385
385
  end
@@ -237,7 +237,7 @@ module Fastly
237
237
  if attributes.key?(:'message_type')
238
238
  self.message_type = attributes[:'message_type']
239
239
  else
240
- self.message_type = 'classic'
240
+ self.message_type = 'blank'
241
241
  end
242
242
 
243
243
  if attributes.key?(:'timestamp_format')
@@ -329,7 +329,7 @@ module Fastly
329
329
  return false unless log_processing_region_validator.valid?(@log_processing_region)
330
330
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
331
331
  return false unless format_version_validator.valid?(@format_version)
332
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
332
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
333
333
  return false unless message_type_validator.valid?(@message_type)
334
334
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
335
335
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -369,7 +369,7 @@ module Fastly
369
369
  # Custom attribute writer method checking allowed values (enum).
370
370
  # @param [Object] message_type Object to be assigned
371
371
  def message_type=(message_type)
372
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
372
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
373
373
  unless validator.valid?(message_type)
374
374
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
375
375
  end
@@ -92,7 +92,7 @@ module Fastly
92
92
  if attributes.key?(:'message_type')
93
93
  self.message_type = attributes[:'message_type']
94
94
  else
95
- self.message_type = 'classic'
95
+ self.message_type = 'blank'
96
96
  end
97
97
 
98
98
  if attributes.key?(:'timestamp_format')
@@ -114,7 +114,7 @@ module Fastly
114
114
  # Check to see if the all the properties in the model are valid
115
115
  # @return true if the model is valid
116
116
  def valid?
117
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
117
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
118
118
  return false unless message_type_validator.valid?(@message_type)
119
119
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
120
120
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -124,7 +124,7 @@ module Fastly
124
124
  # Custom attribute writer method checking allowed values (enum).
125
125
  # @param [Object] message_type Object to be assigned
126
126
  def message_type=(message_type)
127
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
127
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
128
128
  unless validator.valid?(message_type)
129
129
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
130
130
  end
@@ -110,7 +110,7 @@ module Fastly
110
110
  if attributes.key?(:'message_type')
111
111
  self.message_type = attributes[:'message_type']
112
112
  else
113
- self.message_type = 'classic'
113
+ self.message_type = 'blank'
114
114
  end
115
115
 
116
116
  if attributes.key?(:'timestamp_format')
@@ -144,7 +144,7 @@ module Fastly
144
144
  # Check to see if the all the properties in the model are valid
145
145
  # @return true if the model is valid
146
146
  def valid?
147
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
147
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
148
148
  return false unless message_type_validator.valid?(@message_type)
149
149
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
150
150
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -154,7 +154,7 @@ module Fastly
154
154
  # Custom attribute writer method checking allowed values (enum).
155
155
  # @param [Object] message_type Object to be assigned
156
156
  def message_type=(message_type)
157
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
157
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
158
158
  unless validator.valid?(message_type)
159
159
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
160
160
  end
@@ -92,7 +92,7 @@ module Fastly
92
92
  if attributes.key?(:'message_type')
93
93
  self.message_type = attributes[:'message_type']
94
94
  else
95
- self.message_type = 'classic'
95
+ self.message_type = 'blank'
96
96
  end
97
97
 
98
98
  if attributes.key?(:'timestamp_format')
@@ -114,7 +114,7 @@ module Fastly
114
114
  # Check to see if the all the properties in the model are valid
115
115
  # @return true if the model is valid
116
116
  def valid?
117
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
117
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
118
118
  return false unless message_type_validator.valid?(@message_type)
119
119
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
120
120
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -124,7 +124,7 @@ module Fastly
124
124
  # Custom attribute writer method checking allowed values (enum).
125
125
  # @param [Object] message_type Object to be assigned
126
126
  def message_type=(message_type)
127
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
127
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
128
128
  unless validator.valid?(message_type)
129
129
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
130
130
  end
@@ -161,7 +161,7 @@ module Fastly
161
161
  if attributes.key?(:'message_type')
162
162
  self.message_type = attributes[:'message_type']
163
163
  else
164
- self.message_type = 'classic'
164
+ self.message_type = 'blank'
165
165
  end
166
166
 
167
167
  if attributes.key?(:'header_value')
@@ -304,7 +304,7 @@ module Fastly
304
304
  if attributes.key?(:'message_type')
305
305
  self.message_type = attributes[:'message_type']
306
306
  else
307
- self.message_type = 'classic'
307
+ self.message_type = 'blank'
308
308
  end
309
309
 
310
310
  if attributes.key?(:'header_value')
@@ -13,10 +13,10 @@ require 'time'
13
13
 
14
14
  module Fastly
15
15
  class LoggingMessageType
16
+ BLANK = "blank".freeze
16
17
  CLASSIC = "classic".freeze
17
18
  LOGGLY = "loggly".freeze
18
19
  LOGPLEX = "logplex".freeze
19
- BLANK = "blank".freeze
20
20
 
21
21
  # Builds the enum from string
22
22
  # @param [String] The enum value in the form of the string
@@ -233,7 +233,7 @@ module Fastly
233
233
  if attributes.key?(:'message_type')
234
234
  self.message_type = attributes[:'message_type']
235
235
  else
236
- self.message_type = 'classic'
236
+ self.message_type = 'blank'
237
237
  end
238
238
 
239
239
  if attributes.key?(:'timestamp_format')
@@ -321,7 +321,7 @@ module Fastly
321
321
  return false unless log_processing_region_validator.valid?(@log_processing_region)
322
322
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
323
323
  return false unless format_version_validator.valid?(@format_version)
324
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
324
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
325
325
  return false unless message_type_validator.valid?(@message_type)
326
326
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
327
327
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -361,7 +361,7 @@ module Fastly
361
361
  # Custom attribute writer method checking allowed values (enum).
362
362
  # @param [Object] message_type Object to be assigned
363
363
  def message_type=(message_type)
364
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
364
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
365
365
  unless validator.valid?(message_type)
366
366
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
367
367
  end
@@ -269,7 +269,7 @@ module Fastly
269
269
  if attributes.key?(:'message_type')
270
270
  self.message_type = attributes[:'message_type']
271
271
  else
272
- self.message_type = 'classic'
272
+ self.message_type = 'blank'
273
273
  end
274
274
 
275
275
  if attributes.key?(:'timestamp_format')
@@ -391,7 +391,7 @@ module Fastly
391
391
  return false unless log_processing_region_validator.valid?(@log_processing_region)
392
392
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
393
393
  return false unless format_version_validator.valid?(@format_version)
394
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
394
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
395
395
  return false unless message_type_validator.valid?(@message_type)
396
396
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
397
397
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -432,7 +432,7 @@ module Fastly
432
432
  # Custom attribute writer method checking allowed values (enum).
433
433
  # @param [Object] message_type Object to be assigned
434
434
  def message_type=(message_type)
435
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
435
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
436
436
  unless validator.valid?(message_type)
437
437
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
438
438
  end
@@ -245,7 +245,7 @@ module Fastly
245
245
  if attributes.key?(:'message_type')
246
246
  self.message_type = attributes[:'message_type']
247
247
  else
248
- self.message_type = 'classic'
248
+ self.message_type = 'blank'
249
249
  end
250
250
 
251
251
  if attributes.key?(:'timestamp_format')
@@ -345,7 +345,7 @@ module Fastly
345
345
  return false unless log_processing_region_validator.valid?(@log_processing_region)
346
346
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
347
347
  return false unless format_version_validator.valid?(@format_version)
348
- message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
348
+ message_type_validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
349
349
  return false unless message_type_validator.valid?(@message_type)
350
350
  compression_codec_validator = EnumAttributeValidator.new('String', ["zstd", "snappy", "gzip"])
351
351
  return false unless compression_codec_validator.valid?(@compression_codec)
@@ -385,7 +385,7 @@ module Fastly
385
385
  # Custom attribute writer method checking allowed values (enum).
386
386
  # @param [Object] message_type Object to be assigned
387
387
  def message_type=(message_type)
388
- validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
388
+ validator = EnumAttributeValidator.new('String', ["blank", "classic", "loggly", "logplex"])
389
389
  unless validator.valid?(message_type)
390
390
  fail ArgumentError, "invalid value for \"message_type\", must be one of #{validator.allowable_values}."
391
391
  end
@@ -63,7 +63,7 @@ module Fastly
63
63
  if attributes.key?(:'message_type')
64
64
  self.message_type = attributes[:'message_type']
65
65
  else
66
- self.message_type = 'classic'
66
+ self.message_type = 'blank'
67
67
  end
68
68
 
69
69
  if attributes.key?(:'url')
@@ -183,7 +183,7 @@ module Fastly
183
183
  if attributes.key?(:'message_type')
184
184
  self.message_type = attributes[:'message_type']
185
185
  else
186
- self.message_type = 'classic'
186
+ self.message_type = 'blank'
187
187
  end
188
188
 
189
189
  if attributes.key?(:'url')
@@ -79,7 +79,7 @@ module Fastly
79
79
  if attributes.key?(:'message_type')
80
80
  self.message_type = attributes[:'message_type']
81
81
  else
82
- self.message_type = 'classic'
82
+ self.message_type = 'blank'
83
83
  end
84
84
 
85
85
  if attributes.key?(:'hostname')
@@ -269,7 +269,7 @@ module Fastly
269
269
  if attributes.key?(:'message_type')
270
270
  self.message_type = attributes[:'message_type']
271
271
  else
272
- self.message_type = 'classic'
272
+ self.message_type = 'blank'
273
273
  end
274
274
 
275
275
  if attributes.key?(:'hostname')
@@ -37,7 +37,7 @@ module Fastly
37
37
  def self.fastly_types
38
38
  {
39
39
  :'links' => :'PaginationLinks',
40
- :'meta' => :'PaginationMeta',
40
+ :'meta' => :'PaginationMeta1',
41
41
  :'data' => :'Array<MutualAuthenticationResponseData>'
42
42
  }
43
43
  end