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
@@ -0,0 +1,217 @@
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 AiAcceleratorResponseLinksLinks
16
+ # Location of resource
17
+ attr_accessor :_self
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'_self' => :'self'
23
+ }
24
+ end
25
+
26
+ # Returns all the JSON keys this model knows about
27
+ def self.acceptable_attributes
28
+ attribute_map.values
29
+ end
30
+
31
+ # Attribute type mapping.
32
+ def self.fastly_types
33
+ {
34
+ :'_self' => :'String'
35
+ }
36
+ end
37
+
38
+ # List of attributes with nullable: true
39
+ def self.fastly_nullable
40
+ Set.new([
41
+ ])
42
+ end
43
+
44
+ # Initializes the object
45
+ # @param [Hash] attributes Model attributes in the form of hash
46
+ def initialize(attributes = {})
47
+ if (!attributes.is_a?(Hash))
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::AiAcceleratorResponseLinksLinks` initialize method"
49
+ end
50
+
51
+ # check to see if the attribute exists and convert string to symbol for hash key
52
+ attributes = attributes.each_with_object({}) { |(k, v), h|
53
+ if (!self.class.attribute_map.key?(k.to_sym))
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::AiAcceleratorResponseLinksLinks`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ end
56
+ h[k.to_sym] = v
57
+ }
58
+
59
+ if attributes.key?(:'_self')
60
+ self._self = attributes[:'_self']
61
+ end
62
+ end
63
+
64
+ # Show invalid properties with the reasons. Usually used together with valid?
65
+ # @return Array for valid properties with the reasons
66
+ def list_invalid_properties
67
+ invalid_properties = Array.new
68
+ invalid_properties
69
+ end
70
+
71
+ # Check to see if the all the properties in the model are valid
72
+ # @return true if the model is valid
73
+ def valid?
74
+ true
75
+ end
76
+
77
+ # Checks equality by comparing each attribute.
78
+ # @param [Object] Object to be compared
79
+ def ==(o)
80
+ return true if self.equal?(o)
81
+ self.class == o.class &&
82
+ _self == o._self
83
+ end
84
+
85
+ # @see the `==` method
86
+ # @param [Object] Object to be compared
87
+ def eql?(o)
88
+ self == o
89
+ end
90
+
91
+ # Calculates hash code according to all attributes.
92
+ # @return [Integer] Hash code
93
+ def hash
94
+ [_self].hash
95
+ end
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def self.build_from_hash(attributes)
101
+ new.build_from_hash(attributes)
102
+ end
103
+
104
+ # Builds the object from hash
105
+ # @param [Hash] attributes Model attributes in the form of hash
106
+ # @return [Object] Returns the model itself
107
+ def build_from_hash(attributes)
108
+ return nil unless attributes.is_a?(Hash)
109
+ self.class.fastly_types.each_pair do |key, type|
110
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
111
+ self.send("#{key}=", nil)
112
+ elsif type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
116
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
117
+ end
118
+ elsif !attributes[self.class.attribute_map[key]].nil?
119
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
120
+ end
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :Time
133
+ Time.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :Boolean
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ # models (e.g. Pet) or oneOf
164
+ klass = Fastly.const_get(type)
165
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
166
+ end
167
+ end
168
+
169
+ # Returns the string representation of the object
170
+ # @return [String] String presentation of the object
171
+ def to_s
172
+ to_hash.to_s
173
+ end
174
+
175
+ # to_body is an alias to to_hash (backward compatibility)
176
+ # @return [Hash] Returns the object in the form of hash
177
+ def to_body
178
+ to_hash
179
+ end
180
+
181
+ # Returns the object in the form of hash
182
+ # @return [Hash] Returns the object in the form of hash
183
+ def to_hash
184
+ hash = {}
185
+ self.class.attribute_map.each_pair do |attr, param|
186
+ value = self.send(attr)
187
+ if value.nil?
188
+ is_nullable = self.class.fastly_nullable.include?(attr)
189
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
+ end
191
+
192
+ hash[param] = _to_hash(value)
193
+ end
194
+ hash
195
+ end
196
+
197
+ # Outputs non-array value in the form of hash
198
+ # For object, use to_hash. Otherwise, just return the value
199
+ # @param [Object] value Any valid value
200
+ # @return [Hash] Returns the value in the form of hash
201
+ def _to_hash(value)
202
+ if value.is_a?(Array)
203
+ value.compact.map { |v| _to_hash(v) }
204
+ elsif value.is_a?(Hash)
205
+ {}.tap do |hash|
206
+ value.each { |k, v| hash[k] = _to_hash(v) }
207
+ end
208
+ elsif value.respond_to? :to_hash
209
+ value.to_hash
210
+ else
211
+ value
212
+ end
213
+ end
214
+
215
+ end
216
+
217
+ end
@@ -12,13 +12,13 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- class BillingResponseItemItemsData
16
- attr_accessor :line_items
15
+ class AiAcceleratorResponseProduct
16
+ attr_accessor :product
17
17
 
18
18
  # Attribute mapping from ruby-style variable name to JSON key.
19
19
  def self.attribute_map
20
20
  {
21
- :'line_items' => :'line_items'
21
+ :'product' => :'product'
22
22
  }
23
23
  end
24
24
 
@@ -30,7 +30,7 @@ module Fastly
30
30
  # Attribute type mapping.
31
31
  def self.fastly_types
32
32
  {
33
- :'line_items' => :'Array<BillingResponseLineItem>'
33
+ :'product' => :'AiAcceleratorResponseProductProduct'
34
34
  }
35
35
  end
36
36
 
@@ -44,21 +44,19 @@ module Fastly
44
44
  # @param [Hash] attributes Model attributes in the form of hash
45
45
  def initialize(attributes = {})
46
46
  if (!attributes.is_a?(Hash))
47
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::BillingResponseItemItemsData` initialize method"
47
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::AiAcceleratorResponseProduct` initialize method"
48
48
  end
49
49
 
50
50
  # check to see if the attribute exists and convert string to symbol for hash key
51
51
  attributes = attributes.each_with_object({}) { |(k, v), h|
52
52
  if (!self.class.attribute_map.key?(k.to_sym))
53
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::BillingResponseItemItemsData`. 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::AiAcceleratorResponseProduct`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
54
  end
55
55
  h[k.to_sym] = v
56
56
  }
57
57
 
58
- if attributes.key?(:'line_items')
59
- if (value = attributes[:'line_items']).is_a?(Array)
60
- self.line_items = value
61
- end
58
+ if attributes.key?(:'product')
59
+ self.product = attributes[:'product']
62
60
  end
63
61
  end
64
62
 
@@ -80,7 +78,7 @@ module Fastly
80
78
  def ==(o)
81
79
  return true if self.equal?(o)
82
80
  self.class == o.class &&
83
- line_items == o.line_items
81
+ product == o.product
84
82
  end
85
83
 
86
84
  # @see the `==` method
@@ -92,7 +90,7 @@ module Fastly
92
90
  # Calculates hash code according to all attributes.
93
91
  # @return [Integer] Hash code
94
92
  def hash
95
- [line_items].hash
93
+ [product].hash
96
94
  end
97
95
 
98
96
  # Builds the object from hash
@@ -0,0 +1,227 @@
1
+ =begin
2
+ #Fastly API
3
+
4
+ #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: oss@fastly.com
8
+
9
+ =end
10
+
11
+ require 'date'
12
+ require 'time'
13
+
14
+ module Fastly
15
+ class AiAcceleratorResponseProductProduct
16
+ # Product identifier
17
+ attr_accessor :id
18
+
19
+ # Name of the object
20
+ attr_accessor :object
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'id' => :'id',
26
+ :'object' => :'object'
27
+ }
28
+ end
29
+
30
+ # Returns all the JSON keys this model knows about
31
+ def self.acceptable_attributes
32
+ attribute_map.values
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.fastly_types
37
+ {
38
+ :'id' => :'String',
39
+ :'object' => :'String'
40
+ }
41
+ end
42
+
43
+ # List of attributes with nullable: true
44
+ def self.fastly_nullable
45
+ Set.new([
46
+ ])
47
+ end
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ def initialize(attributes = {})
52
+ if (!attributes.is_a?(Hash))
53
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::AiAcceleratorResponseProductProduct` initialize method"
54
+ end
55
+
56
+ # check to see if the attribute exists and convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h|
58
+ if (!self.class.attribute_map.key?(k.to_sym))
59
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::AiAcceleratorResponseProductProduct`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
+ end
61
+ h[k.to_sym] = v
62
+ }
63
+
64
+ if attributes.key?(:'id')
65
+ self.id = attributes[:'id']
66
+ end
67
+
68
+ if attributes.key?(:'object')
69
+ self.object = attributes[:'object']
70
+ end
71
+ end
72
+
73
+ # Show invalid properties with the reasons. Usually used together with valid?
74
+ # @return Array for valid properties with the reasons
75
+ def list_invalid_properties
76
+ invalid_properties = Array.new
77
+ invalid_properties
78
+ end
79
+
80
+ # Check to see if the all the properties in the model are valid
81
+ # @return true if the model is valid
82
+ def valid?
83
+ true
84
+ end
85
+
86
+ # Checks equality by comparing each attribute.
87
+ # @param [Object] Object to be compared
88
+ def ==(o)
89
+ return true if self.equal?(o)
90
+ self.class == o.class &&
91
+ id == o.id &&
92
+ object == o.object
93
+ end
94
+
95
+ # @see the `==` method
96
+ # @param [Object] Object to be compared
97
+ def eql?(o)
98
+ self == o
99
+ end
100
+
101
+ # Calculates hash code according to all attributes.
102
+ # @return [Integer] Hash code
103
+ def hash
104
+ [id, object].hash
105
+ end
106
+
107
+ # Builds the object from hash
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ # @return [Object] Returns the model itself
110
+ def self.build_from_hash(attributes)
111
+ new.build_from_hash(attributes)
112
+ end
113
+
114
+ # Builds the object from hash
115
+ # @param [Hash] attributes Model attributes in the form of hash
116
+ # @return [Object] Returns the model itself
117
+ def build_from_hash(attributes)
118
+ return nil unless attributes.is_a?(Hash)
119
+ self.class.fastly_types.each_pair do |key, type|
120
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
121
+ self.send("#{key}=", nil)
122
+ elsif type =~ /\AArray<(.*)>/i
123
+ # check to ensure the input is an array given that the attribute
124
+ # is documented as an array but the input is not
125
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
126
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
127
+ end
128
+ elsif !attributes[self.class.attribute_map[key]].nil?
129
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
130
+ end
131
+ end
132
+
133
+ self
134
+ end
135
+
136
+ # Deserializes the data based on type
137
+ # @param string type Data type
138
+ # @param string value Value to be deserialized
139
+ # @return [Object] Deserialized data
140
+ def _deserialize(type, value)
141
+ case type.to_sym
142
+ when :Time
143
+ Time.parse(value)
144
+ when :Date
145
+ Date.parse(value)
146
+ when :String
147
+ value.to_s
148
+ when :Integer
149
+ value.to_i
150
+ when :Float
151
+ value.to_f
152
+ when :Boolean
153
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
154
+ true
155
+ else
156
+ false
157
+ end
158
+ when :Object
159
+ # generic object (usually a Hash), return directly
160
+ value
161
+ when /\AArray<(?<inner_type>.+)>\z/
162
+ inner_type = Regexp.last_match[:inner_type]
163
+ value.map { |v| _deserialize(inner_type, v) }
164
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
165
+ k_type = Regexp.last_match[:k_type]
166
+ v_type = Regexp.last_match[:v_type]
167
+ {}.tap do |hash|
168
+ value.each do |k, v|
169
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
170
+ end
171
+ end
172
+ else # model
173
+ # models (e.g. Pet) or oneOf
174
+ klass = Fastly.const_get(type)
175
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
176
+ end
177
+ end
178
+
179
+ # Returns the string representation of the object
180
+ # @return [String] String presentation of the object
181
+ def to_s
182
+ to_hash.to_s
183
+ end
184
+
185
+ # to_body is an alias to to_hash (backward compatibility)
186
+ # @return [Hash] Returns the object in the form of hash
187
+ def to_body
188
+ to_hash
189
+ end
190
+
191
+ # Returns the object in the form of hash
192
+ # @return [Hash] Returns the object in the form of hash
193
+ def to_hash
194
+ hash = {}
195
+ self.class.attribute_map.each_pair do |attr, param|
196
+ value = self.send(attr)
197
+ if value.nil?
198
+ is_nullable = self.class.fastly_nullable.include?(attr)
199
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
200
+ end
201
+
202
+ hash[param] = _to_hash(value)
203
+ end
204
+ hash
205
+ end
206
+
207
+ # Outputs non-array value in the form of hash
208
+ # For object, use to_hash. Otherwise, just return the value
209
+ # @param [Object] value Any valid value
210
+ # @return [Hash] Returns the value in the form of hash
211
+ def _to_hash(value)
212
+ if value.is_a?(Array)
213
+ value.compact.map { |v| _to_hash(v) }
214
+ elsif value.is_a?(Hash)
215
+ {}.tap do |hash|
216
+ value.each { |k, v| hash[k] = _to_hash(v) }
217
+ end
218
+ elsif value.respond_to? :to_hash
219
+ value.to_hash
220
+ else
221
+ value
222
+ end
223
+ end
224
+
225
+ end
226
+
227
+ end
@@ -25,7 +25,7 @@ module Fastly
25
25
  # A space-delimited list of authorization scope.
26
26
  attr_accessor :scope
27
27
 
28
- # A UTC time-stamp of when the token expires.
28
+ # A UTC timestamp of when the token expires.
29
29
  attr_accessor :expires_at
30
30
 
31
31
  class EnumAttributeValidator
@@ -23,7 +23,7 @@ module Fastly
23
23
 
24
24
  attr_accessor :scope
25
25
 
26
- # A UTC time-stamp of when the token will expire.
26
+ # A UTC timestamp of when the token will expire.
27
27
  attr_accessor :expires_at
28
28
 
29
29
  # Indicates whether TLS access is enabled for the token.
@@ -25,29 +25,24 @@ module Fastly
25
25
  # A space-delimited list of authorization scope.
26
26
  attr_accessor :scope
27
27
 
28
- # A UTC time-stamp of when the token expires.
28
+ # A UTC timestamp of when the token expires.
29
29
  attr_accessor :expires_at
30
30
 
31
- # A UTC time-stamp of when the token was created.
32
- attr_accessor :created_at
33
-
34
- # Date and time in ISO 8601 format.
35
- attr_accessor :deleted_at
36
-
37
- # Date and time in ISO 8601 format.
38
- attr_accessor :updated_at
39
-
40
31
  attr_accessor :id
41
32
 
42
33
  attr_accessor :user_id
43
34
 
44
35
  attr_accessor :customer_id
45
36
 
46
- attr_accessor :sudo_expires_at
37
+ # A UTC timestamp of when the token was created.
38
+ attr_accessor :created_at
47
39
 
48
40
  attr_accessor :access_token
49
41
 
50
- # A UTC time-stamp of when the token was last used.
42
+ # Indicates whether TLS access is enabled for the token.
43
+ attr_accessor :tls_access
44
+
45
+ # A UTC timestamp of when the token was last used.
51
46
  attr_accessor :last_used_at
52
47
 
53
48
  # The User-Agent header of the client that last used the token.
@@ -83,14 +78,12 @@ module Fastly
83
78
  :'services' => :'services',
84
79
  :'scope' => :'scope',
85
80
  :'expires_at' => :'expires_at',
86
- :'created_at' => :'created_at',
87
- :'deleted_at' => :'deleted_at',
88
- :'updated_at' => :'updated_at',
89
81
  :'id' => :'id',
90
82
  :'user_id' => :'user_id',
91
83
  :'customer_id' => :'customer_id',
92
- :'sudo_expires_at' => :'sudo_expires_at',
84
+ :'created_at' => :'created_at',
93
85
  :'access_token' => :'access_token',
86
+ :'tls_access' => :'tls_access',
94
87
  :'last_used_at' => :'last_used_at',
95
88
  :'user_agent' => :'user_agent'
96
89
  }
@@ -109,14 +102,12 @@ module Fastly
109
102
  :'services' => :'Array<String>',
110
103
  :'scope' => :'String',
111
104
  :'expires_at' => :'String',
112
- :'created_at' => :'Time',
113
- :'deleted_at' => :'Time',
114
- :'updated_at' => :'Time',
115
105
  :'id' => :'ReadOnlyId',
116
106
  :'user_id' => :'ReadOnlyUserId',
117
107
  :'customer_id' => :'ReadOnlyCustomerId',
118
- :'sudo_expires_at' => :'Time',
108
+ :'created_at' => :'Time',
119
109
  :'access_token' => :'String',
110
+ :'tls_access' => :'Boolean',
120
111
  :'last_used_at' => :'Time',
121
112
  :'user_agent' => :'String'
122
113
  }
@@ -125,8 +116,6 @@ module Fastly
125
116
  # List of attributes with nullable: true
126
117
  def self.fastly_nullable
127
118
  Set.new([
128
- :'deleted_at',
129
- :'updated_at',
130
119
  ])
131
120
  end
132
121
 
@@ -134,8 +123,7 @@ module Fastly
134
123
  def self.fastly_all_of
135
124
  [
136
125
  :'AutomationToken',
137
- :'AutomationTokenCreateResponseAllOf',
138
- :'Timestamps'
126
+ :'AutomationTokenCreateResponseAllOf'
139
127
  ]
140
128
  end
141
129
 
@@ -178,18 +166,6 @@ module Fastly
178
166
  self.expires_at = attributes[:'expires_at']
179
167
  end
180
168
 
181
- if attributes.key?(:'created_at')
182
- self.created_at = attributes[:'created_at']
183
- end
184
-
185
- if attributes.key?(:'deleted_at')
186
- self.deleted_at = attributes[:'deleted_at']
187
- end
188
-
189
- if attributes.key?(:'updated_at')
190
- self.updated_at = attributes[:'updated_at']
191
- end
192
-
193
169
  if attributes.key?(:'id')
194
170
  self.id = attributes[:'id']
195
171
  end
@@ -202,14 +178,18 @@ module Fastly
202
178
  self.customer_id = attributes[:'customer_id']
203
179
  end
204
180
 
205
- if attributes.key?(:'sudo_expires_at')
206
- self.sudo_expires_at = attributes[:'sudo_expires_at']
181
+ if attributes.key?(:'created_at')
182
+ self.created_at = attributes[:'created_at']
207
183
  end
208
184
 
209
185
  if attributes.key?(:'access_token')
210
186
  self.access_token = attributes[:'access_token']
211
187
  end
212
188
 
189
+ if attributes.key?(:'tls_access')
190
+ self.tls_access = attributes[:'tls_access']
191
+ end
192
+
213
193
  if attributes.key?(:'last_used_at')
214
194
  self.last_used_at = attributes[:'last_used_at']
215
195
  end
@@ -266,14 +246,12 @@ module Fastly
266
246
  services == o.services &&
267
247
  scope == o.scope &&
268
248
  expires_at == o.expires_at &&
269
- created_at == o.created_at &&
270
- deleted_at == o.deleted_at &&
271
- updated_at == o.updated_at &&
272
249
  id == o.id &&
273
250
  user_id == o.user_id &&
274
251
  customer_id == o.customer_id &&
275
- sudo_expires_at == o.sudo_expires_at &&
252
+ created_at == o.created_at &&
276
253
  access_token == o.access_token &&
254
+ tls_access == o.tls_access &&
277
255
  last_used_at == o.last_used_at &&
278
256
  user_agent == o.user_agent
279
257
  end
@@ -287,7 +265,7 @@ module Fastly
287
265
  # Calculates hash code according to all attributes.
288
266
  # @return [Integer] Hash code
289
267
  def hash
290
- [name, role, services, scope, expires_at, created_at, deleted_at, updated_at, id, user_id, customer_id, sudo_expires_at, access_token, last_used_at, user_agent].hash
268
+ [name, role, services, scope, expires_at, id, user_id, customer_id, created_at, access_token, tls_access, last_used_at, user_agent].hash
291
269
  end
292
270
 
293
271
  # Builds the object from hash