fastly 9.0.0 → 11.0.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 (361) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +66 -19
  3. data/Gemfile.lock +3 -3
  4. data/README.md +50 -46
  5. data/docs/AclsInComputeApi.md +2 -2
  6. data/docs/AiAcceleratorResponseBodyEnable.md +12 -0
  7. data/docs/AiAcceleratorResponseCustomer.md +10 -0
  8. data/docs/AiAcceleratorResponseCustomerCustomer.md +11 -0
  9. data/docs/AiAcceleratorResponseLinks.md +10 -0
  10. data/docs/AiAcceleratorResponseLinksLinks.md +10 -0
  11. data/docs/AiAcceleratorResponseProduct.md +10 -0
  12. data/docs/AiAcceleratorResponseProductProduct.md +11 -0
  13. data/docs/AutomationToken.md +1 -1
  14. data/docs/AutomationTokenCreateRequestAttributes.md +1 -1
  15. data/docs/AutomationTokenCreateResponse.md +4 -6
  16. data/docs/AutomationTokenCreateResponseAllOf.md +3 -3
  17. data/docs/AutomationTokenResponse.md +4 -6
  18. data/docs/AutomationTokenResponseAllOf.md +4 -4
  19. data/docs/Backend.md +1 -1
  20. data/docs/BackendApi.md +4 -4
  21. data/docs/BackendResponse.md +1 -1
  22. data/docs/BillingUsageMetricsApi.md +15 -13
  23. data/docs/BotManagementResponseBodyEnable.md +12 -0
  24. data/docs/BotManagementResponseLinks.md +10 -0
  25. data/docs/BotManagementResponseLinksLinks.md +11 -0
  26. data/docs/BotManagementResponseProduct.md +10 -0
  27. data/docs/BotManagementResponseProductProduct.md +11 -0
  28. data/docs/BotManagementResponseService.md +10 -0
  29. data/docs/{EnabledProductResponseService.md → BotManagementResponseServiceService.md} +1 -1
  30. data/docs/BrotliCompressionResponseBodyEnable.md +12 -0
  31. data/docs/BrotliCompressionResponseLinks.md +10 -0
  32. data/docs/BrotliCompressionResponseLinksLinks.md +11 -0
  33. data/docs/BrotliCompressionResponseProduct.md +10 -0
  34. data/docs/BrotliCompressionResponseProductProduct.md +11 -0
  35. data/docs/BrotliCompressionResponseService.md +10 -0
  36. data/docs/ComputeAclList.md +11 -0
  37. data/docs/ComputeAclListEntriesMeta.md +1 -1
  38. data/docs/{LegacyWafTag.md → ComputeAclListMeta.md} +2 -2
  39. data/docs/ComputeAclLookup.md +1 -2
  40. data/docs/{BillingEstimateInvoiceId.md → DdosProtectionRequestUpdateConfiguration.md} +2 -2
  41. data/docs/DdosProtectionResponseConfiguration.md +10 -0
  42. data/docs/{ReadOnlyServiceId.md → DdosProtectionResponseConfigurationConfiguration.md} +2 -1
  43. data/docs/DdosProtectionResponseConfigure.md +13 -0
  44. data/docs/DdosProtectionResponseEnable.md +12 -0
  45. data/docs/{BillingResponseItemItemsData.md → DdosProtectionResponseLinks.md} +2 -2
  46. data/docs/DdosProtectionResponseLinksLinks.md +11 -0
  47. data/docs/DdosProtectionResponseProduct.md +10 -0
  48. data/docs/DdosProtectionResponseProductProduct.md +11 -0
  49. data/docs/DdosProtectionResponseService.md +10 -0
  50. data/docs/DomainInspectorMeasurements.md +2 -0
  51. data/docs/DomainInspectorResponseBodyEnable.md +12 -0
  52. data/docs/DomainInspectorResponseLinks.md +10 -0
  53. data/docs/DomainInspectorResponseLinksLinks.md +11 -0
  54. data/docs/DomainInspectorResponseProduct.md +10 -0
  55. data/docs/DomainInspectorResponseProductProduct.md +11 -0
  56. data/docs/DomainInspectorResponseService.md +10 -0
  57. data/docs/FanoutResponseBodyEnable.md +12 -0
  58. data/docs/FanoutResponseLinks.md +10 -0
  59. data/docs/{EnabledProductResponseLinks.md → FanoutResponseLinksLinks.md} +1 -1
  60. data/docs/FanoutResponseProduct.md +10 -0
  61. data/docs/{EnabledProductResponseProduct.md → FanoutResponseProductProduct.md} +1 -1
  62. data/docs/FanoutResponseService.md +10 -0
  63. data/docs/Header.md +2 -0
  64. data/docs/HeaderApi.md +8 -8
  65. data/docs/ImageOptimizerResponseBodyEnable.md +12 -0
  66. data/docs/ImageOptimizerResponseLinks.md +10 -0
  67. data/docs/ImageOptimizerResponseLinksLinks.md +11 -0
  68. data/docs/ImageOptimizerResponseProduct.md +10 -0
  69. data/docs/ImageOptimizerResponseProductProduct.md +11 -0
  70. data/docs/ImageOptimizerResponseService.md +10 -0
  71. data/docs/InlineResponse2003.md +2 -2
  72. data/docs/InlineResponse2004.md +1 -1
  73. data/docs/KvStoreApi.md +30 -30
  74. data/docs/{Batch.md → KvStoreBatchResponse.md} +2 -2
  75. data/docs/{BatchErrors.md → KvStoreBatchResponseErrors.md} +4 -4
  76. data/docs/{StoreResponse.md → KvStoreDetails.md} +2 -2
  77. data/docs/KvStoreItemApi.md +53 -50
  78. data/docs/KvStoreRequestCreate.md +10 -0
  79. data/docs/KvStoreUpsertBatch.md +14 -0
  80. data/docs/LogExplorerInsightsResponseBodyEnable.md +12 -0
  81. data/docs/LogExplorerInsightsResponseLinks.md +10 -0
  82. data/docs/LogExplorerInsightsResponseLinksLinks.md +11 -0
  83. data/docs/{BillingBandwidth.md → LogExplorerInsightsResponseProduct.md} +2 -3
  84. data/docs/LogExplorerInsightsResponseProductProduct.md +11 -0
  85. data/docs/LogExplorerInsightsResponseService.md +10 -0
  86. data/docs/LoggingAzureblobAdditional.md +1 -1
  87. data/docs/LoggingAzureblobApi.md +4 -4
  88. data/docs/LoggingAzureblobResponse.md +1 -1
  89. data/docs/{BillingInvoiceId.md → NgwafRequestEnable.md} +2 -2
  90. data/docs/NgwafRequestUpdateConfiguration.md +11 -0
  91. data/docs/NgwafResponseConfiguration.md +10 -0
  92. data/docs/{ConfiguredProductResponseConfiguration.md → NgwafResponseConfigurationConfiguration.md} +2 -2
  93. data/docs/NgwafResponseConfigure.md +13 -0
  94. data/docs/NgwafResponseEnable.md +12 -0
  95. data/docs/NgwafResponseLinks.md +10 -0
  96. data/docs/{ConfiguredProductResponseLinks.md → NgwafResponseLinksLinks.md} +1 -1
  97. data/docs/{InlineResponse2004Meta.md → NgwafResponseProduct.md} +2 -3
  98. data/docs/{ConfiguredProductResponseProduct.md → NgwafResponseProductProduct.md} +1 -1
  99. data/docs/NgwafResponseService.md +10 -0
  100. data/docs/ObjectStorageResponseBodyEnable.md +12 -0
  101. data/docs/ObjectStorageResponseCustomer.md +10 -0
  102. data/docs/ObjectStorageResponseLinks.md +10 -0
  103. data/docs/ObjectStorageResponseLinksLinks.md +10 -0
  104. data/docs/ObjectStorageResponseProduct.md +10 -0
  105. data/docs/ObjectStorageResponseProductProduct.md +11 -0
  106. data/docs/OriginInspectorMeasurements.md +4 -0
  107. data/docs/OriginInspectorResponseBodyEnable.md +12 -0
  108. data/docs/OriginInspectorResponseLinks.md +10 -0
  109. data/docs/OriginInspectorResponseLinksLinks.md +11 -0
  110. data/docs/OriginInspectorResponseProduct.md +10 -0
  111. data/docs/OriginInspectorResponseProductProduct.md +11 -0
  112. data/docs/OriginInspectorResponseService.md +10 -0
  113. data/docs/OriginInspectorValues.md +4 -0
  114. data/docs/ProductAiAcceleratorApi.md +115 -0
  115. data/docs/ProductBotManagementApi.md +130 -0
  116. data/docs/ProductBrotliCompressionApi.md +130 -0
  117. data/docs/ProductDdosProtectionApi.md +208 -0
  118. data/docs/ProductDomainInspectorApi.md +130 -0
  119. data/docs/ProductFanoutApi.md +130 -0
  120. data/docs/ProductImageOptimizerApi.md +130 -0
  121. data/docs/ProductLogExplorerInsightsApi.md +130 -0
  122. data/docs/ProductNgwafApi.md +210 -0
  123. data/docs/ProductObjectStorageApi.md +115 -0
  124. data/docs/ProductOriginInspectorApi.md +130 -0
  125. data/docs/ProductWebsocketsApi.md +130 -0
  126. data/docs/RealtimeEntryAggregated.md +18 -3
  127. data/docs/RealtimeMeasurements.md +18 -3
  128. data/docs/Results.md +25 -3
  129. data/docs/SnippetApi.md +17 -17
  130. data/docs/{SnippetResponseCommonAllOf.md → SnippetResponseAllOf.md} +1 -1
  131. data/docs/TlsBulkCertificatesApi.md +4 -0
  132. data/docs/Values.md +2 -0
  133. data/docs/WebsocketsResponseBodyEnable.md +12 -0
  134. data/docs/WebsocketsResponseLinks.md +10 -0
  135. data/docs/WebsocketsResponseLinksLinks.md +11 -0
  136. data/docs/WebsocketsResponseProduct.md +10 -0
  137. data/docs/WebsocketsResponseProductProduct.md +11 -0
  138. data/docs/{BillingEstimateLines.md → WebsocketsResponseService.md} +2 -2
  139. data/lib/fastly/api/acls_in_compute_api.rb +3 -3
  140. data/lib/fastly/api/automation_tokens_api.rb +6 -6
  141. data/lib/fastly/api/backend_api.rb +4 -4
  142. data/lib/fastly/api/billing_usage_metrics_api.rb +33 -30
  143. data/lib/fastly/api/header_api.rb +8 -8
  144. data/lib/fastly/api/kv_store_api.rb +53 -45
  145. data/lib/fastly/api/kv_store_item_api.rb +112 -100
  146. data/lib/fastly/api/logging_azureblob_api.rb +4 -4
  147. data/lib/fastly/api/product_ai_accelerator_api.rb +186 -0
  148. data/lib/fastly/api/product_bot_management_api.rb +207 -0
  149. data/lib/fastly/api/product_brotli_compression_api.rb +207 -0
  150. data/lib/fastly/api/product_ddos_protection_api.rb +340 -0
  151. data/lib/fastly/api/product_domain_inspector_api.rb +207 -0
  152. data/lib/fastly/api/product_fanout_api.rb +207 -0
  153. data/lib/fastly/api/product_image_optimizer_api.rb +207 -0
  154. data/lib/fastly/api/product_log_explorer_insights_api.rb +207 -0
  155. data/lib/fastly/api/product_ngwaf_api.rb +347 -0
  156. data/lib/fastly/api/product_object_storage_api.rb +186 -0
  157. data/lib/fastly/api/product_origin_inspector_api.rb +207 -0
  158. data/lib/fastly/api/product_websockets_api.rb +207 -0
  159. data/lib/fastly/api/snippet_api.rb +38 -38
  160. data/lib/fastly/api/tls_bulk_certificates_api.rb +6 -0
  161. data/lib/fastly/configuration.rb +248 -224
  162. data/lib/fastly/models/{billing_regions.rb → ai_accelerator_response_body_enable.rb} +31 -31
  163. data/lib/fastly/models/ai_accelerator_response_customer.rb +216 -0
  164. data/lib/fastly/models/ai_accelerator_response_customer_customer.rb +227 -0
  165. data/lib/fastly/models/{billing_estimate_invoice_id.rb → ai_accelerator_response_links.rb} +10 -10
  166. data/lib/fastly/models/ai_accelerator_response_links_links.rb +217 -0
  167. data/lib/fastly/models/{billing_response_item_items_data.rb → ai_accelerator_response_product.rb} +10 -12
  168. data/lib/fastly/models/ai_accelerator_response_product_product.rb +227 -0
  169. data/lib/fastly/models/automation_token.rb +1 -1
  170. data/lib/fastly/models/automation_token_create_request_attributes.rb +1 -1
  171. data/lib/fastly/models/automation_token_create_response.rb +21 -43
  172. data/lib/fastly/models/automation_token_create_response_all_of.rb +13 -12
  173. data/lib/fastly/models/automation_token_response.rb +24 -46
  174. data/lib/fastly/models/automation_token_response_all_of.rb +11 -10
  175. data/lib/fastly/models/backend.rb +1 -1
  176. data/lib/fastly/models/backend_response.rb +1 -1
  177. data/lib/fastly/models/bot_management_response_body_enable.rb +243 -0
  178. data/lib/fastly/models/bot_management_response_links.rb +216 -0
  179. data/lib/fastly/models/bot_management_response_links_links.rb +227 -0
  180. data/lib/fastly/models/bot_management_response_product.rb +216 -0
  181. data/lib/fastly/models/bot_management_response_product_product.rb +227 -0
  182. data/lib/fastly/models/bot_management_response_service.rb +216 -0
  183. data/lib/fastly/models/{enabled_product_response_service.rb → bot_management_response_service_service.rb} +3 -3
  184. data/lib/fastly/models/brotli_compression_response_body_enable.rb +243 -0
  185. data/lib/fastly/models/brotli_compression_response_links.rb +216 -0
  186. data/lib/fastly/models/brotli_compression_response_links_links.rb +227 -0
  187. data/lib/fastly/models/brotli_compression_response_product.rb +216 -0
  188. data/lib/fastly/models/brotli_compression_response_product_product.rb +227 -0
  189. data/lib/fastly/models/brotli_compression_response_service.rb +216 -0
  190. data/lib/fastly/models/{billing_bandwidth.rb → compute_acl_list.rb} +19 -18
  191. data/lib/fastly/models/compute_acl_list_entries_meta.rb +1 -1
  192. data/lib/fastly/models/compute_acl_list_meta.rb +218 -0
  193. data/lib/fastly/models/compute_acl_lookup.rb +2 -12
  194. data/lib/fastly/models/{snippet_all_of.rb → ddos_protection_request_update_configuration.rb} +24 -19
  195. data/lib/fastly/models/ddos_protection_response_configuration.rb +216 -0
  196. data/lib/fastly/models/ddos_protection_response_configuration_configuration.rb +217 -0
  197. data/lib/fastly/models/ddos_protection_response_configure.rb +253 -0
  198. data/lib/fastly/models/ddos_protection_response_enable.rb +243 -0
  199. data/lib/fastly/models/ddos_protection_response_links.rb +216 -0
  200. data/lib/fastly/models/ddos_protection_response_links_links.rb +227 -0
  201. data/lib/fastly/models/ddos_protection_response_product.rb +216 -0
  202. data/lib/fastly/models/ddos_protection_response_product_product.rb +227 -0
  203. data/lib/fastly/models/ddos_protection_response_service.rb +216 -0
  204. data/lib/fastly/models/domain_inspector_measurements.rb +21 -1
  205. data/lib/fastly/models/domain_inspector_response_body_enable.rb +243 -0
  206. data/lib/fastly/models/domain_inspector_response_links.rb +216 -0
  207. data/lib/fastly/models/domain_inspector_response_links_links.rb +227 -0
  208. data/lib/fastly/models/domain_inspector_response_product.rb +216 -0
  209. data/lib/fastly/models/domain_inspector_response_product_product.rb +227 -0
  210. data/lib/fastly/models/domain_inspector_response_service.rb +216 -0
  211. data/lib/fastly/models/fanout_response_body_enable.rb +243 -0
  212. data/lib/fastly/models/{store.rb → fanout_response_links.rb} +10 -11
  213. data/lib/fastly/models/{enabled_product_response_links.rb → fanout_response_links_links.rb} +3 -3
  214. data/lib/fastly/models/fanout_response_product.rb +216 -0
  215. data/lib/fastly/models/{enabled_product_response_product.rb → fanout_response_product_product.rb} +3 -3
  216. data/lib/fastly/models/fanout_response_service.rb +216 -0
  217. data/lib/fastly/models/header.rb +26 -4
  218. data/lib/fastly/models/header_response.rb +0 -1
  219. data/lib/fastly/models/image_optimizer_response_body_enable.rb +243 -0
  220. data/lib/fastly/models/image_optimizer_response_links.rb +216 -0
  221. data/lib/fastly/models/image_optimizer_response_links_links.rb +227 -0
  222. data/lib/fastly/models/image_optimizer_response_product.rb +216 -0
  223. data/lib/fastly/models/image_optimizer_response_product_product.rb +227 -0
  224. data/lib/fastly/models/image_optimizer_response_service.rb +216 -0
  225. data/lib/fastly/models/inline_response2003.rb +2 -2
  226. data/lib/fastly/models/inline_response2004.rb +1 -1
  227. data/lib/fastly/models/{batch.rb → kv_store_batch_response.rb} +5 -5
  228. data/lib/fastly/models/{batch_errors.rb → kv_store_batch_response_errors.rb} +6 -6
  229. data/lib/fastly/models/{store_response.rb → kv_store_details.rb} +4 -4
  230. data/lib/fastly/models/{legacy_waf_configuration_set.rb → kv_store_request_create.rb} +10 -15
  231. data/lib/fastly/models/{snippet_common.rb → kv_store_upsert_batch.rb} +55 -69
  232. data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +243 -0
  233. data/lib/fastly/models/log_explorer_insights_response_links.rb +216 -0
  234. data/lib/fastly/models/log_explorer_insights_response_links_links.rb +227 -0
  235. data/lib/fastly/models/log_explorer_insights_response_product.rb +216 -0
  236. data/lib/fastly/models/log_explorer_insights_response_product_product.rb +227 -0
  237. data/lib/fastly/models/log_explorer_insights_response_service.rb +216 -0
  238. data/lib/fastly/models/logging_azureblob_additional.rb +1 -1
  239. data/lib/fastly/models/logging_azureblob_response.rb +1 -1
  240. data/lib/fastly/models/{set_workspace_id.rb → ngwaf_request_enable.rb} +9 -4
  241. data/lib/fastly/models/ngwaf_request_update_configuration.rb +227 -0
  242. data/lib/fastly/models/ngwaf_response_configuration.rb +216 -0
  243. data/lib/fastly/models/{configured_product_response_configuration.rb → ngwaf_response_configuration_configuration.rb} +4 -4
  244. data/lib/fastly/models/{configured_product_response.rb → ngwaf_response_configure.rb} +17 -7
  245. data/lib/fastly/models/{enabled_product_response.rb → ngwaf_response_enable.rb} +15 -6
  246. data/lib/fastly/models/{legacy_waf_tag.rb → ngwaf_response_links.rb} +10 -11
  247. data/lib/fastly/models/{configured_product_response_links.rb → ngwaf_response_links_links.rb} +3 -3
  248. data/lib/fastly/models/{billing_invoice_id.rb → ngwaf_response_product.rb} +10 -10
  249. data/lib/fastly/models/ngwaf_response_product_product.rb +227 -0
  250. data/lib/fastly/models/{billing_estimate_lines.rb → ngwaf_response_service.rb} +10 -12
  251. data/lib/fastly/models/{billing_total_extras.rb → object_storage_response_body_enable.rb} +31 -25
  252. data/lib/fastly/models/object_storage_response_customer.rb +216 -0
  253. data/lib/fastly/models/object_storage_response_links.rb +216 -0
  254. data/lib/fastly/models/object_storage_response_links_links.rb +217 -0
  255. data/lib/fastly/models/object_storage_response_product.rb +216 -0
  256. data/lib/fastly/models/object_storage_response_product_product.rb +227 -0
  257. data/lib/fastly/models/origin_inspector_measurements.rb +41 -1
  258. data/lib/fastly/models/origin_inspector_response_body_enable.rb +243 -0
  259. data/lib/fastly/models/origin_inspector_response_links.rb +216 -0
  260. data/lib/fastly/models/origin_inspector_response_links_links.rb +227 -0
  261. data/lib/fastly/models/origin_inspector_response_product.rb +216 -0
  262. data/lib/fastly/models/origin_inspector_response_product_product.rb +227 -0
  263. data/lib/fastly/models/origin_inspector_response_service.rb +216 -0
  264. data/lib/fastly/models/origin_inspector_values.rb +41 -1
  265. data/lib/fastly/models/realtime_entry_aggregated.rb +169 -19
  266. data/lib/fastly/models/realtime_measurements.rb +169 -19
  267. data/lib/fastly/models/results.rb +239 -19
  268. data/lib/fastly/models/schemas_snippet_response.rb +4 -2
  269. data/lib/fastly/models/snippet.rb +1 -8
  270. data/lib/fastly/models/snippet_response.rb +3 -1
  271. data/lib/fastly/models/{snippet_response_common_all_of.rb → snippet_response_all_of.rb} +3 -3
  272. data/lib/fastly/models/values.rb +21 -1
  273. data/lib/fastly/models/websockets_response_body_enable.rb +243 -0
  274. data/lib/fastly/models/websockets_response_links.rb +216 -0
  275. data/lib/fastly/models/websockets_response_links_links.rb +227 -0
  276. data/lib/fastly/models/websockets_response_product.rb +216 -0
  277. data/lib/fastly/models/{configured_product_response_product.rb → websockets_response_product_product.rb} +3 -3
  278. data/lib/fastly/models/websockets_response_service.rb +216 -0
  279. data/lib/fastly/version.rb +1 -1
  280. data/lib/fastly.rb +103 -61
  281. data/sig.json +1 -1
  282. metadata +211 -127
  283. data/docs/Billing.md +0 -16
  284. data/docs/BillingApi.md +0 -139
  285. data/docs/BillingBandwidthTiers.md +0 -14
  286. data/docs/BillingEstimateLinesLineItems.md +0 -18
  287. data/docs/BillingEstimateResponse.md +0 -18
  288. data/docs/BillingRegions.md +0 -13
  289. data/docs/BillingResponse.md +0 -18
  290. data/docs/BillingResponseLineItem.md +0 -29
  291. data/docs/BillingStatus.md +0 -11
  292. data/docs/BillingTotal.md +0 -25
  293. data/docs/BillingTotalExtras.md +0 -12
  294. data/docs/ConfiguredProductResponse.md +0 -13
  295. data/docs/EnabledProductResponse.md +0 -12
  296. data/docs/EnabledProductsApi.md +0 -220
  297. data/docs/HeaderResponseAdditional.md +0 -11
  298. data/docs/InlineResponse2003Meta.md +0 -11
  299. data/docs/LegacyWafConfigurationSet.md +0 -11
  300. data/docs/LegacyWafConfigurationSetsApi.md +0 -128
  301. data/docs/LegacyWafFirewall.md +0 -18
  302. data/docs/LegacyWafFirewallApi.md +0 -355
  303. data/docs/LegacyWafOwasp.md +0 -38
  304. data/docs/LegacyWafOwaspApi.md +0 -141
  305. data/docs/LegacyWafRule.md +0 -14
  306. data/docs/LegacyWafRuleApi.md +0 -187
  307. data/docs/LegacyWafRuleStatus.md +0 -12
  308. data/docs/LegacyWafRuleStatusApi.md +0 -205
  309. data/docs/LegacyWafRuleset.md +0 -11
  310. data/docs/LegacyWafRulesetApi.md +0 -139
  311. data/docs/LegacyWafTagApi.md +0 -61
  312. data/docs/LegacyWafUpdateStatus.md +0 -15
  313. data/docs/LegacyWafUpdateStatusApi.md +0 -105
  314. data/docs/LineItemData.md +0 -26
  315. data/docs/ReadOnlyVersion.md +0 -9
  316. data/docs/SchemasSnippetResponseCommon.md +0 -15
  317. data/docs/SetConfiguration.md +0 -12
  318. data/docs/SetWorkspaceId.md +0 -10
  319. data/docs/SnippetAllOf.md +0 -10
  320. data/docs/SnippetCommon.md +0 -13
  321. data/docs/SnippetResponseCommon.md +0 -15
  322. data/docs/SnippetResponsePost.md +0 -20
  323. data/docs/SnippetWithDynamicNumber.md +0 -14
  324. data/docs/SnippetWithDynamicNumberAllOf.md +0 -10
  325. data/docs/Store.md +0 -10
  326. data/lib/fastly/api/billing_api.rb +0 -229
  327. data/lib/fastly/api/enabled_products_api.rb +0 -382
  328. data/lib/fastly/api/legacy_waf_configuration_sets_api.rb +0 -209
  329. data/lib/fastly/api/legacy_waf_firewall_api.rb +0 -627
  330. data/lib/fastly/api/legacy_waf_owasp_api.rb +0 -244
  331. data/lib/fastly/api/legacy_waf_rule_api.rb +0 -307
  332. data/lib/fastly/api/legacy_waf_rule_status_api.rb +0 -366
  333. data/lib/fastly/api/legacy_waf_ruleset_api.rb +0 -237
  334. data/lib/fastly/api/legacy_waf_tag_api.rb +0 -96
  335. data/lib/fastly/api/legacy_waf_update_status_api.rb +0 -184
  336. data/lib/fastly/models/billing.rb +0 -278
  337. data/lib/fastly/models/billing_bandwidth_tiers.rb +0 -252
  338. data/lib/fastly/models/billing_estimate_lines_line_items.rb +0 -288
  339. data/lib/fastly/models/billing_estimate_response.rb +0 -307
  340. data/lib/fastly/models/billing_response.rb +0 -307
  341. data/lib/fastly/models/billing_response_line_item.rb +0 -418
  342. data/lib/fastly/models/billing_status.rb +0 -262
  343. data/lib/fastly/models/billing_total.rb +0 -371
  344. data/lib/fastly/models/header_response_additional.rb +0 -229
  345. data/lib/fastly/models/inline_response2003_meta.rb +0 -228
  346. data/lib/fastly/models/inline_response2004_meta.rb +0 -225
  347. data/lib/fastly/models/legacy_waf_firewall.rb +0 -297
  348. data/lib/fastly/models/legacy_waf_owasp.rb +0 -527
  349. data/lib/fastly/models/legacy_waf_rule.rb +0 -257
  350. data/lib/fastly/models/legacy_waf_rule_status.rb +0 -237
  351. data/lib/fastly/models/legacy_waf_ruleset.rb +0 -227
  352. data/lib/fastly/models/legacy_waf_update_status.rb +0 -267
  353. data/lib/fastly/models/line_item_data.rb +0 -377
  354. data/lib/fastly/models/read_only_service_id.rb +0 -207
  355. data/lib/fastly/models/read_only_version.rb +0 -207
  356. data/lib/fastly/models/schemas_snippet_response_common.rb +0 -276
  357. data/lib/fastly/models/set_configuration.rb +0 -237
  358. data/lib/fastly/models/snippet_response_common.rb +0 -276
  359. data/lib/fastly/models/snippet_response_post.rb +0 -374
  360. data/lib/fastly/models/snippet_with_dynamic_number.rb +0 -313
  361. data/lib/fastly/models/snippet_with_dynamic_number_all_of.rb +0 -251
@@ -144,6 +144,8 @@ module Fastly
144
144
  # List certificates
145
145
  # List all certificates.
146
146
  # @option opts [String] :filter_tls_domain_id Filter certificates by their matching, fully-qualified domain name.
147
+ # @option opts [String] :filter_not_before Filter the returned certificates by not_before date in UTC. Accepts parameters: lt, lte, gt, gte (e.g., filter[not_before][gte]=2020-05-05).
148
+ # @option opts [String] :filter_not_after Filter the returned certificates by expiry date in UTC. Accepts parameters: lt, lte, gt, gte (e.g., filter[not_after][lte]=2020-05-05).
147
149
  # @option opts [Integer] :page_number Current page.
148
150
  # @option opts [Integer] :page_size Number of records per page. (default to 20)
149
151
  # @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
@@ -156,6 +158,8 @@ module Fastly
156
158
  # List certificates
157
159
  # List all certificates.
158
160
  # @option opts [String] :filter_tls_domain_id Filter certificates by their matching, fully-qualified domain name.
161
+ # @option opts [String] :filter_not_before Filter the returned certificates by not_before date in UTC. Accepts parameters: lt, lte, gt, gte (e.g., filter[not_before][gte]=2020-05-05).
162
+ # @option opts [String] :filter_not_after Filter the returned certificates by expiry date in UTC. Accepts parameters: lt, lte, gt, gte (e.g., filter[not_after][lte]=2020-05-05).
159
163
  # @option opts [Integer] :page_number Current page.
160
164
  # @option opts [Integer] :page_size Number of records per page. (default to 20)
161
165
  # @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
@@ -183,6 +187,8 @@ module Fastly
183
187
  # query parameters
184
188
  query_params = opts[:query_params] || {}
185
189
  query_params[:'filter[tls_domain.id]'] = opts[:'filter_tls_domain_id'] if !opts[:'filter_tls_domain_id'].nil?
190
+ query_params[:'filter[not_before]'] = opts[:'filter_not_before'] if !opts[:'filter_not_before'].nil?
191
+ query_params[:'filter[not_after]'] = opts[:'filter_not_after'] if !opts[:'filter_not_after'].nil?
186
192
  query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
187
193
  query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
188
194
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
@@ -476,24 +476,6 @@ module Fastly
476
476
  description: "No description provided",
477
477
  }
478
478
  ],
479
- "BillingApi.get_invoice": [
480
- {
481
- url: "https://api.fastly.com",
482
- description: "No description provided",
483
- }
484
- ],
485
- "BillingApi.get_invoice_by_id": [
486
- {
487
- url: "https://api.fastly.com",
488
- description: "No description provided",
489
- }
490
- ],
491
- "BillingApi.get_invoice_mtd": [
492
- {
493
- url: "https://api.fastly.com",
494
- description: "No description provided",
495
- }
496
- ],
497
479
  "BillingAddressApi.add_billing_addr": [
498
480
  {
499
481
  url: "https://api.fastly.com",
@@ -968,36 +950,6 @@ module Fastly
968
950
  description: "No description provided",
969
951
  }
970
952
  ],
971
- "EnabledProductsApi.disable_product": [
972
- {
973
- url: "https://api.fastly.com",
974
- description: "No description provided",
975
- }
976
- ],
977
- "EnabledProductsApi.enable_product": [
978
- {
979
- url: "https://api.fastly.com",
980
- description: "No description provided",
981
- }
982
- ],
983
- "EnabledProductsApi.get_enabled_product": [
984
- {
985
- url: "https://api.fastly.com",
986
- description: "No description provided",
987
- }
988
- ],
989
- "EnabledProductsApi.get_product_configuration": [
990
- {
991
- url: "https://api.fastly.com",
992
- description: "No description provided",
993
- }
994
- ],
995
- "EnabledProductsApi.set_product_configuration": [
996
- {
997
- url: "https://api.fastly.com",
998
- description: "No description provided",
999
- }
1000
- ],
1001
953
  "EventsApi.get_event": [
1002
954
  {
1003
955
  url: "https://api.fastly.com",
@@ -1394,217 +1346,49 @@ module Fastly
1394
1346
  description: "No description provided",
1395
1347
  }
1396
1348
  ],
1397
- "KvStoreApi.create_store": [
1398
- {
1399
- url: "https://api.fastly.com",
1400
- description: "No description provided",
1401
- }
1402
- ],
1403
- "KvStoreApi.delete_store": [
1404
- {
1405
- url: "https://api.fastly.com",
1406
- description: "No description provided",
1407
- }
1408
- ],
1409
- "KvStoreApi.get_store": [
1410
- {
1411
- url: "https://api.fastly.com",
1412
- description: "No description provided",
1413
- }
1414
- ],
1415
- "KvStoreApi.get_stores": [
1416
- {
1417
- url: "https://api.fastly.com",
1418
- description: "No description provided",
1419
- }
1420
- ],
1421
- "KvStoreItemApi.delete_key_from_store": [
1422
- {
1423
- url: "https://api.fastly.com",
1424
- description: "No description provided",
1425
- }
1426
- ],
1427
- "KvStoreItemApi.get_keys": [
1428
- {
1429
- url: "https://api.fastly.com",
1430
- description: "No description provided",
1431
- }
1432
- ],
1433
- "KvStoreItemApi.get_value_for_key": [
1434
- {
1435
- url: "https://api.fastly.com",
1436
- description: "No description provided",
1437
- }
1438
- ],
1439
- "KvStoreItemApi.set_value_for_key": [
1440
- {
1441
- url: "https://api.fastly.com",
1442
- description: "No description provided",
1443
- }
1444
- ],
1445
- "LegacyWafConfigurationSetsApi.list_waf_config_sets": [
1446
- {
1447
- url: "https://api.fastly.com",
1448
- description: "No description provided",
1449
- }
1450
- ],
1451
- "LegacyWafConfigurationSetsApi.list_wafs_config_set": [
1452
- {
1453
- url: "https://api.fastly.com",
1454
- description: "No description provided",
1455
- }
1456
- ],
1457
- "LegacyWafConfigurationSetsApi.use_waf_config_set": [
1458
- {
1459
- url: "https://api.fastly.com",
1460
- description: "No description provided",
1461
- }
1462
- ],
1463
- "LegacyWafFirewallApi.create_legacy_waf_firewall_service": [
1349
+ "KvStoreApi.kv_store_create": [
1464
1350
  {
1465
1351
  url: "https://api.fastly.com",
1466
1352
  description: "No description provided",
1467
1353
  }
1468
1354
  ],
1469
- "LegacyWafFirewallApi.disable_legacy_waf_firewall": [
1355
+ "KvStoreApi.kv_store_delete": [
1470
1356
  {
1471
1357
  url: "https://api.fastly.com",
1472
1358
  description: "No description provided",
1473
1359
  }
1474
1360
  ],
1475
- "LegacyWafFirewallApi.enable_legacy_waf_firewall": [
1361
+ "KvStoreApi.kv_store_get": [
1476
1362
  {
1477
1363
  url: "https://api.fastly.com",
1478
1364
  description: "No description provided",
1479
1365
  }
1480
1366
  ],
1481
- "LegacyWafFirewallApi.get_legacy_waf_firewall": [
1367
+ "KvStoreApi.kv_store_list": [
1482
1368
  {
1483
1369
  url: "https://api.fastly.com",
1484
1370
  description: "No description provided",
1485
1371
  }
1486
1372
  ],
1487
- "LegacyWafFirewallApi.get_legacy_waf_firewall_service": [
1373
+ "KvStoreItemApi.kv_store_delete_item": [
1488
1374
  {
1489
1375
  url: "https://api.fastly.com",
1490
1376
  description: "No description provided",
1491
1377
  }
1492
1378
  ],
1493
- "LegacyWafFirewallApi.list_legacy_waf_firewalls": [
1379
+ "KvStoreItemApi.kv_store_get_item": [
1494
1380
  {
1495
1381
  url: "https://api.fastly.com",
1496
1382
  description: "No description provided",
1497
1383
  }
1498
1384
  ],
1499
- "LegacyWafFirewallApi.list_legacy_waf_firewalls_service": [
1385
+ "KvStoreItemApi.kv_store_list_item_keys": [
1500
1386
  {
1501
1387
  url: "https://api.fastly.com",
1502
1388
  description: "No description provided",
1503
1389
  }
1504
1390
  ],
1505
- "LegacyWafFirewallApi.update_legacy_waf_firewall_service": [
1506
- {
1507
- url: "https://api.fastly.com",
1508
- description: "No description provided",
1509
- }
1510
- ],
1511
- "LegacyWafOwaspApi.create_owasp_settings": [
1512
- {
1513
- url: "https://api.fastly.com",
1514
- description: "No description provided",
1515
- }
1516
- ],
1517
- "LegacyWafOwaspApi.get_owasp_settings": [
1518
- {
1519
- url: "https://api.fastly.com",
1520
- description: "No description provided",
1521
- }
1522
- ],
1523
- "LegacyWafOwaspApi.update_owasp_settings": [
1524
- {
1525
- url: "https://api.fastly.com",
1526
- description: "No description provided",
1527
- }
1528
- ],
1529
- "LegacyWafRuleApi.get_legacy_waf_firewall_rule_vcl": [
1530
- {
1531
- url: "https://api.fastly.com",
1532
- description: "No description provided",
1533
- }
1534
- ],
1535
- "LegacyWafRuleApi.get_legacy_waf_rule": [
1536
- {
1537
- url: "https://api.fastly.com",
1538
- description: "No description provided",
1539
- }
1540
- ],
1541
- "LegacyWafRuleApi.get_legacy_waf_rule_vcl": [
1542
- {
1543
- url: "https://api.fastly.com",
1544
- description: "No description provided",
1545
- }
1546
- ],
1547
- "LegacyWafRuleApi.list_legacy_waf_rules": [
1548
- {
1549
- url: "https://api.fastly.com",
1550
- description: "No description provided",
1551
- }
1552
- ],
1553
- "LegacyWafRuleStatusApi.get_waf_firewall_rule_status": [
1554
- {
1555
- url: "https://api.fastly.com",
1556
- description: "No description provided",
1557
- }
1558
- ],
1559
- "LegacyWafRuleStatusApi.list_waf_firewall_rule_statuses": [
1560
- {
1561
- url: "https://api.fastly.com",
1562
- description: "No description provided",
1563
- }
1564
- ],
1565
- "LegacyWafRuleStatusApi.update_waf_firewall_rule_status": [
1566
- {
1567
- url: "https://api.fastly.com",
1568
- description: "No description provided",
1569
- }
1570
- ],
1571
- "LegacyWafRuleStatusApi.update_waf_firewall_rule_statuses_tag": [
1572
- {
1573
- url: "https://api.fastly.com",
1574
- description: "No description provided",
1575
- }
1576
- ],
1577
- "LegacyWafRulesetApi.get_waf_ruleset": [
1578
- {
1579
- url: "https://api.fastly.com",
1580
- description: "No description provided",
1581
- }
1582
- ],
1583
- "LegacyWafRulesetApi.get_waf_ruleset_vcl": [
1584
- {
1585
- url: "https://api.fastly.com",
1586
- description: "No description provided",
1587
- }
1588
- ],
1589
- "LegacyWafRulesetApi.update_waf_ruleset": [
1590
- {
1591
- url: "https://api.fastly.com",
1592
- description: "No description provided",
1593
- }
1594
- ],
1595
- "LegacyWafTagApi.list_legacy_waf_tags": [
1596
- {
1597
- url: "https://api.fastly.com",
1598
- description: "No description provided",
1599
- }
1600
- ],
1601
- "LegacyWafUpdateStatusApi.get_waf_update_status": [
1602
- {
1603
- url: "https://api.fastly.com",
1604
- description: "No description provided",
1605
- }
1606
- ],
1607
- "LegacyWafUpdateStatusApi.list_waf_update_statuses": [
1391
+ "KvStoreItemApi.kv_store_upsert_item": [
1608
1392
  {
1609
1393
  url: "https://api.fastly.com",
1610
1394
  description: "No description provided",
@@ -2612,6 +2396,246 @@ module Fastly
2612
2396
  description: "No description provided",
2613
2397
  }
2614
2398
  ],
2399
+ "ProductAiAcceleratorApi.disable_product_ai_accelerator": [
2400
+ {
2401
+ url: "https://api.fastly.com",
2402
+ description: "No description provided",
2403
+ }
2404
+ ],
2405
+ "ProductAiAcceleratorApi.enable_ai_accelerator": [
2406
+ {
2407
+ url: "https://api.fastly.com",
2408
+ description: "No description provided",
2409
+ }
2410
+ ],
2411
+ "ProductAiAcceleratorApi.get_ai_accelerator": [
2412
+ {
2413
+ url: "https://api.fastly.com",
2414
+ description: "No description provided",
2415
+ }
2416
+ ],
2417
+ "ProductBotManagementApi.disable_product_bot_management": [
2418
+ {
2419
+ url: "https://api.fastly.com",
2420
+ description: "No description provided",
2421
+ }
2422
+ ],
2423
+ "ProductBotManagementApi.enable_product_bot_management": [
2424
+ {
2425
+ url: "https://api.fastly.com",
2426
+ description: "No description provided",
2427
+ }
2428
+ ],
2429
+ "ProductBotManagementApi.get_product_bot_management": [
2430
+ {
2431
+ url: "https://api.fastly.com",
2432
+ description: "No description provided",
2433
+ }
2434
+ ],
2435
+ "ProductBrotliCompressionApi.disable_product_brotli_compression": [
2436
+ {
2437
+ url: "https://api.fastly.com",
2438
+ description: "No description provided",
2439
+ }
2440
+ ],
2441
+ "ProductBrotliCompressionApi.enable_product_brotli_compression": [
2442
+ {
2443
+ url: "https://api.fastly.com",
2444
+ description: "No description provided",
2445
+ }
2446
+ ],
2447
+ "ProductBrotliCompressionApi.get_product_brotli_compression": [
2448
+ {
2449
+ url: "https://api.fastly.com",
2450
+ description: "No description provided",
2451
+ }
2452
+ ],
2453
+ "ProductDdosProtectionApi.disable_product_ddos_protection": [
2454
+ {
2455
+ url: "https://api.fastly.com",
2456
+ description: "No description provided",
2457
+ }
2458
+ ],
2459
+ "ProductDdosProtectionApi.enable_product_ddos_protection": [
2460
+ {
2461
+ url: "https://api.fastly.com",
2462
+ description: "No description provided",
2463
+ }
2464
+ ],
2465
+ "ProductDdosProtectionApi.get_product_ddos_protection": [
2466
+ {
2467
+ url: "https://api.fastly.com",
2468
+ description: "No description provided",
2469
+ }
2470
+ ],
2471
+ "ProductDdosProtectionApi.get_product_ddos_protection_configuration": [
2472
+ {
2473
+ url: "https://api.fastly.com",
2474
+ description: "No description provided",
2475
+ }
2476
+ ],
2477
+ "ProductDdosProtectionApi.set_product_ddos_protection_configuration": [
2478
+ {
2479
+ url: "https://api.fastly.com",
2480
+ description: "No description provided",
2481
+ }
2482
+ ],
2483
+ "ProductDomainInspectorApi.disable_product_domain_inspector": [
2484
+ {
2485
+ url: "https://api.fastly.com",
2486
+ description: "No description provided",
2487
+ }
2488
+ ],
2489
+ "ProductDomainInspectorApi.enable_product_domain_inspector": [
2490
+ {
2491
+ url: "https://api.fastly.com",
2492
+ description: "No description provided",
2493
+ }
2494
+ ],
2495
+ "ProductDomainInspectorApi.get_product_domain_inspector": [
2496
+ {
2497
+ url: "https://api.fastly.com",
2498
+ description: "No description provided",
2499
+ }
2500
+ ],
2501
+ "ProductFanoutApi.disable_product_fanout": [
2502
+ {
2503
+ url: "https://api.fastly.com",
2504
+ description: "No description provided",
2505
+ }
2506
+ ],
2507
+ "ProductFanoutApi.enable_product_fanout": [
2508
+ {
2509
+ url: "https://api.fastly.com",
2510
+ description: "No description provided",
2511
+ }
2512
+ ],
2513
+ "ProductFanoutApi.get_product_fanout": [
2514
+ {
2515
+ url: "https://api.fastly.com",
2516
+ description: "No description provided",
2517
+ }
2518
+ ],
2519
+ "ProductImageOptimizerApi.disable_product_image_optimizer": [
2520
+ {
2521
+ url: "https://api.fastly.com",
2522
+ description: "No description provided",
2523
+ }
2524
+ ],
2525
+ "ProductImageOptimizerApi.enable_product_image_optimizer": [
2526
+ {
2527
+ url: "https://api.fastly.com",
2528
+ description: "No description provided",
2529
+ }
2530
+ ],
2531
+ "ProductImageOptimizerApi.get_product_image_optimizer": [
2532
+ {
2533
+ url: "https://api.fastly.com",
2534
+ description: "No description provided",
2535
+ }
2536
+ ],
2537
+ "ProductLogExplorerInsightsApi.disable_product_log_explorer_insights": [
2538
+ {
2539
+ url: "https://api.fastly.com",
2540
+ description: "No description provided",
2541
+ }
2542
+ ],
2543
+ "ProductLogExplorerInsightsApi.enable_product_log_explorer_insights": [
2544
+ {
2545
+ url: "https://api.fastly.com",
2546
+ description: "No description provided",
2547
+ }
2548
+ ],
2549
+ "ProductLogExplorerInsightsApi.get_product_log_explorer_insights": [
2550
+ {
2551
+ url: "https://api.fastly.com",
2552
+ description: "No description provided",
2553
+ }
2554
+ ],
2555
+ "ProductNgwafApi.disable_product_ngwaf": [
2556
+ {
2557
+ url: "https://api.fastly.com",
2558
+ description: "No description provided",
2559
+ }
2560
+ ],
2561
+ "ProductNgwafApi.enable_product_ngwaf": [
2562
+ {
2563
+ url: "https://api.fastly.com",
2564
+ description: "No description provided",
2565
+ }
2566
+ ],
2567
+ "ProductNgwafApi.get_product_ngwaf": [
2568
+ {
2569
+ url: "https://api.fastly.com",
2570
+ description: "No description provided",
2571
+ }
2572
+ ],
2573
+ "ProductNgwafApi.get_product_ngwaf_configuration": [
2574
+ {
2575
+ url: "https://api.fastly.com",
2576
+ description: "No description provided",
2577
+ }
2578
+ ],
2579
+ "ProductNgwafApi.set_product_ngwaf_configuration": [
2580
+ {
2581
+ url: "https://api.fastly.com",
2582
+ description: "No description provided",
2583
+ }
2584
+ ],
2585
+ "ProductObjectStorageApi.disable_product_object_storage": [
2586
+ {
2587
+ url: "https://api.fastly.com",
2588
+ description: "No description provided",
2589
+ }
2590
+ ],
2591
+ "ProductObjectStorageApi.enable_object_storage": [
2592
+ {
2593
+ url: "https://api.fastly.com",
2594
+ description: "No description provided",
2595
+ }
2596
+ ],
2597
+ "ProductObjectStorageApi.get_object_storage": [
2598
+ {
2599
+ url: "https://api.fastly.com",
2600
+ description: "No description provided",
2601
+ }
2602
+ ],
2603
+ "ProductOriginInspectorApi.disable_product_origin_inspector": [
2604
+ {
2605
+ url: "https://api.fastly.com",
2606
+ description: "No description provided",
2607
+ }
2608
+ ],
2609
+ "ProductOriginInspectorApi.enable_product_origin_inspector": [
2610
+ {
2611
+ url: "https://api.fastly.com",
2612
+ description: "No description provided",
2613
+ }
2614
+ ],
2615
+ "ProductOriginInspectorApi.get_product_origin_inspector": [
2616
+ {
2617
+ url: "https://api.fastly.com",
2618
+ description: "No description provided",
2619
+ }
2620
+ ],
2621
+ "ProductWebsocketsApi.disable_product_websockets": [
2622
+ {
2623
+ url: "https://api.fastly.com",
2624
+ description: "No description provided",
2625
+ }
2626
+ ],
2627
+ "ProductWebsocketsApi.enable_product_websockets": [
2628
+ {
2629
+ url: "https://api.fastly.com",
2630
+ description: "No description provided",
2631
+ }
2632
+ ],
2633
+ "ProductWebsocketsApi.get_product_websockets": [
2634
+ {
2635
+ url: "https://api.fastly.com",
2636
+ description: "No description provided",
2637
+ }
2638
+ ],
2615
2639
  "PublicIpListApi.list_fastly_ips": [
2616
2640
  {
2617
2641
  url: "https://api.fastly.com",
@@ -12,22 +12,19 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- class BillingRegions
16
- attr_accessor :cost
15
+ class AiAcceleratorResponseBodyEnable
16
+ attr_accessor :product
17
17
 
18
- attr_accessor :bandwidth
18
+ attr_accessor :customer
19
19
 
20
- attr_accessor :percentile
21
-
22
- attr_accessor :requests
20
+ attr_accessor :_links
23
21
 
24
22
  # Attribute mapping from ruby-style variable name to JSON key.
25
23
  def self.attribute_map
26
24
  {
27
- :'cost' => :'cost',
28
- :'bandwidth' => :'bandwidth',
29
- :'percentile' => :'percentile',
30
- :'requests' => :'requests'
25
+ :'product' => :'product',
26
+ :'customer' => :'customer',
27
+ :'_links' => :'_links'
31
28
  }
32
29
  end
33
30
 
@@ -39,10 +36,9 @@ module Fastly
39
36
  # Attribute type mapping.
40
37
  def self.fastly_types
41
38
  {
42
- :'cost' => :'Float',
43
- :'bandwidth' => :'BillingBandwidth',
44
- :'percentile' => :'BillingBandwidth',
45
- :'requests' => :'BillingBandwidth'
39
+ :'product' => :'AiAcceleratorResponseProductProduct',
40
+ :'customer' => :'AiAcceleratorResponseCustomerCustomer',
41
+ :'_links' => :'AiAcceleratorResponseLinksLinks'
46
42
  }
47
43
  end
48
44
 
@@ -52,35 +48,40 @@ module Fastly
52
48
  ])
53
49
  end
54
50
 
51
+ # List of class defined in allOf (OpenAPI v3)
52
+ def self.fastly_all_of
53
+ [
54
+ :'AiAcceleratorResponseCustomer',
55
+ :'AiAcceleratorResponseLinks',
56
+ :'AiAcceleratorResponseProduct'
57
+ ]
58
+ end
59
+
55
60
  # Initializes the object
56
61
  # @param [Hash] attributes Model attributes in the form of hash
57
62
  def initialize(attributes = {})
58
63
  if (!attributes.is_a?(Hash))
59
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::BillingRegions` initialize method"
64
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::AiAcceleratorResponseBodyEnable` initialize method"
60
65
  end
61
66
 
62
67
  # check to see if the attribute exists and convert string to symbol for hash key
63
68
  attributes = attributes.each_with_object({}) { |(k, v), h|
64
69
  if (!self.class.attribute_map.key?(k.to_sym))
65
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::BillingRegions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
70
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::AiAcceleratorResponseBodyEnable`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
71
  end
67
72
  h[k.to_sym] = v
68
73
  }
69
74
 
70
- if attributes.key?(:'cost')
71
- self.cost = attributes[:'cost']
72
- end
73
-
74
- if attributes.key?(:'bandwidth')
75
- self.bandwidth = attributes[:'bandwidth']
75
+ if attributes.key?(:'product')
76
+ self.product = attributes[:'product']
76
77
  end
77
78
 
78
- if attributes.key?(:'percentile')
79
- self.percentile = attributes[:'percentile']
79
+ if attributes.key?(:'customer')
80
+ self.customer = attributes[:'customer']
80
81
  end
81
82
 
82
- if attributes.key?(:'requests')
83
- self.requests = attributes[:'requests']
83
+ if attributes.key?(:'_links')
84
+ self._links = attributes[:'_links']
84
85
  end
85
86
  end
86
87
 
@@ -102,10 +103,9 @@ module Fastly
102
103
  def ==(o)
103
104
  return true if self.equal?(o)
104
105
  self.class == o.class &&
105
- cost == o.cost &&
106
- bandwidth == o.bandwidth &&
107
- percentile == o.percentile &&
108
- requests == o.requests
106
+ product == o.product &&
107
+ customer == o.customer &&
108
+ _links == o._links
109
109
  end
110
110
 
111
111
  # @see the `==` method
@@ -117,7 +117,7 @@ module Fastly
117
117
  # Calculates hash code according to all attributes.
118
118
  # @return [Integer] Hash code
119
119
  def hash
120
- [cost, bandwidth, percentile, requests].hash
120
+ [product, customer, _links].hash
121
121
  end
122
122
 
123
123
  # Builds the object from hash