fastly 8.2.0 → 8.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (950) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/Gemfile.lock +3 -2
  4. data/README.md +19 -6
  5. data/docs/AclApi.md +10 -7
  6. data/docs/AclEntryApi.md +11 -8
  7. data/docs/ApexRedirectApi.md +10 -7
  8. data/docs/AutomationTokensApi.md +10 -7
  9. data/docs/BackendApi.md +10 -7
  10. data/docs/BillingAddressApi.md +9 -6
  11. data/docs/BillingApi.md +8 -5
  12. data/docs/BillingInvoicesApi.md +9 -6
  13. data/docs/CacheSettingsApi.md +10 -7
  14. data/docs/ConditionApi.md +10 -7
  15. data/docs/ConfigStoreApi.md +12 -9
  16. data/docs/ConfigStoreItemApi.md +12 -9
  17. data/docs/ContactApi.md +8 -5
  18. data/docs/ContentApi.md +6 -3
  19. data/docs/CustomerApi.md +10 -7
  20. data/docs/DefaultSettings.md +16 -0
  21. data/docs/DefaultSettingsError.md +12 -0
  22. data/docs/DefaultSettingsResponse.md +16 -0
  23. data/docs/DictionaryApi.md +10 -7
  24. data/docs/DictionaryInfoApi.md +6 -3
  25. data/docs/DictionaryItemApi.md +12 -9
  26. data/docs/DiffApi.md +6 -3
  27. data/docs/DirectorApi.md +10 -7
  28. data/docs/DirectorBackendApi.md +8 -5
  29. data/docs/DomainApi.md +12 -9
  30. data/docs/DomainInspectorHistoricalApi.md +6 -3
  31. data/docs/DomainInspectorRealtimeApi.md +8 -5
  32. data/docs/DomainOwnershipsApi.md +6 -3
  33. data/docs/EnabledProductsApi.md +8 -5
  34. data/docs/EventsApi.md +7 -4
  35. data/docs/GzipApi.md +10 -7
  36. data/docs/HeaderApi.md +10 -7
  37. data/docs/HealthcheckApi.md +10 -7
  38. data/docs/HistoricalApi.md +14 -11
  39. data/docs/Http3Api.md +8 -5
  40. data/docs/IamPermissionsApi.md +6 -3
  41. data/docs/IamRolesApi.md +13 -10
  42. data/docs/IamServiceGroupsApi.md +13 -10
  43. data/docs/IamUserGroupsApi.md +19 -16
  44. data/docs/ImageOptimizerDefaultSettingsApi.md +99 -0
  45. data/docs/InvitationsApi.md +8 -5
  46. data/docs/Invoicelineitems.md +1 -0
  47. data/docs/KvStoreApi.md +9 -6
  48. data/docs/KvStoreItemApi.md +9 -6
  49. data/docs/LegacyWafConfigurationSetsApi.md +8 -5
  50. data/docs/LegacyWafFirewallApi.md +13 -10
  51. data/docs/LegacyWafOwaspApi.md +8 -5
  52. data/docs/LegacyWafRuleApi.md +9 -6
  53. data/docs/LegacyWafRuleStatusApi.md +9 -6
  54. data/docs/LegacyWafRulesetApi.md +8 -5
  55. data/docs/LegacyWafTagApi.md +6 -3
  56. data/docs/LegacyWafUpdateStatusApi.md +7 -4
  57. data/docs/LoggingAzureblobApi.md +10 -7
  58. data/docs/LoggingBigqueryApi.md +10 -7
  59. data/docs/LoggingCloudfilesApi.md +10 -7
  60. data/docs/LoggingDatadogApi.md +10 -7
  61. data/docs/LoggingDigitaloceanApi.md +10 -7
  62. data/docs/LoggingElasticsearchApi.md +10 -7
  63. data/docs/LoggingFtpApi.md +10 -7
  64. data/docs/LoggingGcsApi.md +10 -7
  65. data/docs/LoggingHerokuApi.md +10 -7
  66. data/docs/LoggingHoneycombApi.md +10 -7
  67. data/docs/LoggingHttpsApi.md +10 -7
  68. data/docs/LoggingKafkaApi.md +10 -7
  69. data/docs/LoggingKinesisAdditional.md +1 -1
  70. data/docs/LoggingKinesisApi.md +12 -9
  71. data/docs/LoggingKinesisResponse.md +1 -1
  72. data/docs/LoggingLogentriesApi.md +10 -7
  73. data/docs/LoggingLogglyApi.md +10 -7
  74. data/docs/LoggingLogshuttleApi.md +10 -7
  75. data/docs/LoggingNewrelicApi.md +10 -7
  76. data/docs/LoggingNewrelicotlpApi.md +10 -7
  77. data/docs/LoggingOpenstackApi.md +10 -7
  78. data/docs/LoggingPapertrailApi.md +10 -7
  79. data/docs/LoggingPubsubApi.md +10 -7
  80. data/docs/LoggingS3Additional.md +1 -0
  81. data/docs/LoggingS3Api.md +14 -7
  82. data/docs/LoggingS3Response.md +1 -0
  83. data/docs/LoggingScalyrApi.md +10 -7
  84. data/docs/LoggingSftpApi.md +10 -7
  85. data/docs/LoggingSplunkApi.md +10 -7
  86. data/docs/LoggingSumologicApi.md +10 -7
  87. data/docs/LoggingSyslogApi.md +10 -7
  88. data/docs/MutualAuthenticationApi.md +10 -7
  89. data/docs/OriginInspectorHistoricalApi.md +6 -3
  90. data/docs/OriginInspectorRealtimeApi.md +8 -5
  91. data/docs/PackageApi.md +7 -4
  92. data/docs/PoolApi.md +10 -7
  93. data/docs/PopApi.md +6 -3
  94. data/docs/PublicIpListApi.md +6 -3
  95. data/docs/PublishApi.md +6 -3
  96. data/docs/PurgeApi.md +9 -6
  97. data/docs/RateLimiterApi.md +10 -7
  98. data/docs/RealtimeApi.md +8 -5
  99. data/docs/RequestSettingsApi.md +10 -7
  100. data/docs/ResourceApi.md +10 -7
  101. data/docs/ResourceResponse.md +1 -1
  102. data/docs/ResourceResponseAllOf.md +1 -1
  103. data/docs/ResponseObjectApi.md +10 -7
  104. data/docs/SecretStoreApi.md +11 -8
  105. data/docs/SecretStoreItemApi.md +11 -8
  106. data/docs/ServerApi.md +10 -7
  107. data/docs/ServiceApi.md +13 -10
  108. data/docs/ServiceAuthorizationsApi.md +12 -9
  109. data/docs/SettingsApi.md +7 -4
  110. data/docs/SnippetApi.md +12 -9
  111. data/docs/StarApi.md +9 -6
  112. data/docs/StatsApi.md +6 -3
  113. data/docs/SudoApi.md +6 -3
  114. data/docs/TlsActivationsApi.md +10 -7
  115. data/docs/TlsBulkCertificatesApi.md +10 -7
  116. data/docs/TlsCertificatesApi.md +10 -7
  117. data/docs/TlsConfigurationsApi.md +8 -5
  118. data/docs/TlsCsrsApi.md +6 -3
  119. data/docs/TlsDomainsApi.md +6 -3
  120. data/docs/TlsPrivateKeysApi.md +9 -6
  121. data/docs/TlsSubscriptionDataAttributes.md +1 -1
  122. data/docs/TlsSubscriptionsApi.md +18 -13
  123. data/docs/TokensApi.md +13 -10
  124. data/docs/UserApi.md +12 -9
  125. data/docs/VclApi.md +18 -15
  126. data/docs/VclDiffApi.md +6 -3
  127. data/docs/VersionApi.md +14 -11
  128. data/docs/WafActiveRulesApi.md +13 -10
  129. data/docs/WafExclusionsApi.md +10 -7
  130. data/docs/WafFirewallVersionsApi.md +11 -8
  131. data/docs/WafFirewallsApi.md +10 -7
  132. data/docs/WafRuleRevisionsApi.md +7 -4
  133. data/docs/WafRulesApi.md +7 -4
  134. data/docs/WafTagsApi.md +6 -3
  135. data/docs/WholePlatformDdosHistoricalApi.md +6 -3
  136. data/fastly.gemspec +2 -2
  137. data/lib/fastly/api/acl_api.rb +1 -1
  138. data/lib/fastly/api/acl_entry_api.rb +1 -1
  139. data/lib/fastly/api/apex_redirect_api.rb +1 -1
  140. data/lib/fastly/api/automation_tokens_api.rb +1 -1
  141. data/lib/fastly/api/backend_api.rb +1 -1
  142. data/lib/fastly/api/billing_address_api.rb +1 -1
  143. data/lib/fastly/api/billing_api.rb +1 -1
  144. data/lib/fastly/api/billing_invoices_api.rb +1 -1
  145. data/lib/fastly/api/cache_settings_api.rb +1 -1
  146. data/lib/fastly/api/condition_api.rb +1 -1
  147. data/lib/fastly/api/config_store_api.rb +1 -1
  148. data/lib/fastly/api/config_store_item_api.rb +1 -1
  149. data/lib/fastly/api/contact_api.rb +1 -1
  150. data/lib/fastly/api/content_api.rb +1 -1
  151. data/lib/fastly/api/customer_api.rb +1 -1
  152. data/lib/fastly/api/dictionary_api.rb +1 -1
  153. data/lib/fastly/api/dictionary_info_api.rb +1 -1
  154. data/lib/fastly/api/dictionary_item_api.rb +1 -1
  155. data/lib/fastly/api/diff_api.rb +1 -1
  156. data/lib/fastly/api/director_api.rb +1 -1
  157. data/lib/fastly/api/director_backend_api.rb +1 -1
  158. data/lib/fastly/api/domain_api.rb +1 -1
  159. data/lib/fastly/api/domain_inspector_historical_api.rb +1 -1
  160. data/lib/fastly/api/domain_inspector_realtime_api.rb +1 -1
  161. data/lib/fastly/api/domain_ownerships_api.rb +1 -1
  162. data/lib/fastly/api/enabled_products_api.rb +1 -1
  163. data/lib/fastly/api/events_api.rb +1 -1
  164. data/lib/fastly/api/gzip_api.rb +1 -1
  165. data/lib/fastly/api/header_api.rb +1 -1
  166. data/lib/fastly/api/healthcheck_api.rb +1 -1
  167. data/lib/fastly/api/historical_api.rb +1 -1
  168. data/lib/fastly/api/http3_api.rb +1 -1
  169. data/lib/fastly/api/iam_permissions_api.rb +1 -1
  170. data/lib/fastly/api/iam_roles_api.rb +1 -1
  171. data/lib/fastly/api/iam_service_groups_api.rb +1 -1
  172. data/lib/fastly/api/iam_user_groups_api.rb +1 -1
  173. data/lib/fastly/api/image_optimizer_default_settings_api.rb +167 -0
  174. data/lib/fastly/api/invitations_api.rb +1 -1
  175. data/lib/fastly/api/kv_store_api.rb +1 -1
  176. data/lib/fastly/api/kv_store_item_api.rb +1 -1
  177. data/lib/fastly/api/legacy_waf_configuration_sets_api.rb +1 -1
  178. data/lib/fastly/api/legacy_waf_firewall_api.rb +1 -1
  179. data/lib/fastly/api/legacy_waf_owasp_api.rb +1 -1
  180. data/lib/fastly/api/legacy_waf_rule_api.rb +1 -1
  181. data/lib/fastly/api/legacy_waf_rule_status_api.rb +1 -1
  182. data/lib/fastly/api/legacy_waf_ruleset_api.rb +1 -1
  183. data/lib/fastly/api/legacy_waf_tag_api.rb +1 -1
  184. data/lib/fastly/api/legacy_waf_update_status_api.rb +1 -1
  185. data/lib/fastly/api/logging_azureblob_api.rb +1 -1
  186. data/lib/fastly/api/logging_bigquery_api.rb +1 -1
  187. data/lib/fastly/api/logging_cloudfiles_api.rb +1 -1
  188. data/lib/fastly/api/logging_datadog_api.rb +1 -1
  189. data/lib/fastly/api/logging_digitalocean_api.rb +1 -1
  190. data/lib/fastly/api/logging_elasticsearch_api.rb +1 -1
  191. data/lib/fastly/api/logging_ftp_api.rb +1 -1
  192. data/lib/fastly/api/logging_gcs_api.rb +1 -1
  193. data/lib/fastly/api/logging_heroku_api.rb +1 -1
  194. data/lib/fastly/api/logging_honeycomb_api.rb +1 -1
  195. data/lib/fastly/api/logging_https_api.rb +1 -1
  196. data/lib/fastly/api/logging_kafka_api.rb +1 -1
  197. data/lib/fastly/api/logging_kinesis_api.rb +3 -3
  198. data/lib/fastly/api/logging_logentries_api.rb +1 -1
  199. data/lib/fastly/api/logging_loggly_api.rb +1 -1
  200. data/lib/fastly/api/logging_logshuttle_api.rb +1 -1
  201. data/lib/fastly/api/logging_newrelic_api.rb +1 -1
  202. data/lib/fastly/api/logging_newrelicotlp_api.rb +1 -1
  203. data/lib/fastly/api/logging_openstack_api.rb +1 -1
  204. data/lib/fastly/api/logging_papertrail_api.rb +1 -1
  205. data/lib/fastly/api/logging_pubsub_api.rb +1 -1
  206. data/lib/fastly/api/logging_s3_api.rb +15 -1
  207. data/lib/fastly/api/logging_scalyr_api.rb +1 -1
  208. data/lib/fastly/api/logging_sftp_api.rb +1 -1
  209. data/lib/fastly/api/logging_splunk_api.rb +1 -1
  210. data/lib/fastly/api/logging_sumologic_api.rb +1 -1
  211. data/lib/fastly/api/logging_syslog_api.rb +1 -1
  212. data/lib/fastly/api/mutual_authentication_api.rb +1 -1
  213. data/lib/fastly/api/origin_inspector_historical_api.rb +1 -1
  214. data/lib/fastly/api/origin_inspector_realtime_api.rb +1 -1
  215. data/lib/fastly/api/package_api.rb +1 -1
  216. data/lib/fastly/api/pool_api.rb +1 -1
  217. data/lib/fastly/api/pop_api.rb +1 -1
  218. data/lib/fastly/api/public_ip_list_api.rb +1 -1
  219. data/lib/fastly/api/publish_api.rb +1 -1
  220. data/lib/fastly/api/purge_api.rb +1 -1
  221. data/lib/fastly/api/rate_limiter_api.rb +1 -1
  222. data/lib/fastly/api/realtime_api.rb +1 -1
  223. data/lib/fastly/api/request_settings_api.rb +1 -1
  224. data/lib/fastly/api/resource_api.rb +1 -1
  225. data/lib/fastly/api/response_object_api.rb +1 -1
  226. data/lib/fastly/api/secret_store_api.rb +1 -1
  227. data/lib/fastly/api/secret_store_item_api.rb +1 -1
  228. data/lib/fastly/api/server_api.rb +1 -1
  229. data/lib/fastly/api/service_api.rb +1 -1
  230. data/lib/fastly/api/service_authorizations_api.rb +1 -1
  231. data/lib/fastly/api/settings_api.rb +1 -1
  232. data/lib/fastly/api/snippet_api.rb +1 -1
  233. data/lib/fastly/api/star_api.rb +1 -1
  234. data/lib/fastly/api/stats_api.rb +1 -1
  235. data/lib/fastly/api/sudo_api.rb +1 -1
  236. data/lib/fastly/api/tls_activations_api.rb +1 -1
  237. data/lib/fastly/api/tls_bulk_certificates_api.rb +1 -1
  238. data/lib/fastly/api/tls_certificates_api.rb +1 -1
  239. data/lib/fastly/api/tls_configurations_api.rb +1 -1
  240. data/lib/fastly/api/tls_csrs_api.rb +1 -1
  241. data/lib/fastly/api/tls_domains_api.rb +1 -1
  242. data/lib/fastly/api/tls_private_keys_api.rb +1 -1
  243. data/lib/fastly/api/tls_subscriptions_api.rb +8 -5
  244. data/lib/fastly/api/tokens_api.rb +1 -1
  245. data/lib/fastly/api/user_api.rb +1 -1
  246. data/lib/fastly/api/vcl_api.rb +1 -1
  247. data/lib/fastly/api/vcl_diff_api.rb +1 -1
  248. data/lib/fastly/api/version_api.rb +1 -1
  249. data/lib/fastly/api/waf_active_rules_api.rb +1 -1
  250. data/lib/fastly/api/waf_exclusions_api.rb +1 -1
  251. data/lib/fastly/api/waf_firewall_versions_api.rb +1 -1
  252. data/lib/fastly/api/waf_firewalls_api.rb +1 -1
  253. data/lib/fastly/api/waf_rule_revisions_api.rb +1 -1
  254. data/lib/fastly/api/waf_rules_api.rb +1 -1
  255. data/lib/fastly/api/waf_tags_api.rb +1 -1
  256. data/lib/fastly/api/whole_platform_ddos_historical_api.rb +1 -1
  257. data/lib/fastly/api_client.rb +2 -2
  258. data/lib/fastly/api_error.rb +1 -1
  259. data/lib/fastly/configuration.rb +13 -1
  260. data/lib/fastly/models/acl.rb +1 -1
  261. data/lib/fastly/models/acl_entry.rb +1 -1
  262. data/lib/fastly/models/acl_entry_response.rb +1 -1
  263. data/lib/fastly/models/acl_entry_response_all_of.rb +1 -1
  264. data/lib/fastly/models/acl_response.rb +1 -1
  265. data/lib/fastly/models/acl_response_all_of.rb +1 -1
  266. data/lib/fastly/models/apex_redirect.rb +1 -1
  267. data/lib/fastly/models/apex_redirect_all_of.rb +1 -1
  268. data/lib/fastly/models/automation_token.rb +1 -1
  269. data/lib/fastly/models/automation_token_create_request.rb +1 -1
  270. data/lib/fastly/models/automation_token_create_request_attributes.rb +1 -1
  271. data/lib/fastly/models/automation_token_create_response.rb +1 -1
  272. data/lib/fastly/models/automation_token_create_response_all_of.rb +1 -1
  273. data/lib/fastly/models/automation_token_error_response.rb +1 -1
  274. data/lib/fastly/models/automation_token_response.rb +1 -1
  275. data/lib/fastly/models/automation_token_response_all_of.rb +1 -1
  276. data/lib/fastly/models/aws_region.rb +1 -1
  277. data/lib/fastly/models/backend.rb +2 -1
  278. data/lib/fastly/models/backend_response.rb +2 -1
  279. data/lib/fastly/models/backend_response_all_of.rb +1 -1
  280. data/lib/fastly/models/batch.rb +1 -1
  281. data/lib/fastly/models/batch_errors.rb +1 -1
  282. data/lib/fastly/models/billing.rb +1 -1
  283. data/lib/fastly/models/billing_address_attributes.rb +1 -1
  284. data/lib/fastly/models/billing_address_request.rb +1 -1
  285. data/lib/fastly/models/billing_address_request_data.rb +1 -1
  286. data/lib/fastly/models/billing_address_response.rb +1 -1
  287. data/lib/fastly/models/billing_address_response_data.rb +1 -1
  288. data/lib/fastly/models/billing_address_verification_error_response.rb +1 -1
  289. data/lib/fastly/models/billing_address_verification_error_response_errors.rb +1 -1
  290. data/lib/fastly/models/billing_estimate_lines.rb +1 -1
  291. data/lib/fastly/models/billing_estimate_lines_line_items.rb +1 -1
  292. data/lib/fastly/models/billing_estimate_response.rb +1 -1
  293. data/lib/fastly/models/billing_response.rb +1 -1
  294. data/lib/fastly/models/billing_response_item_items_data.rb +1 -1
  295. data/lib/fastly/models/billing_response_line_item.rb +1 -1
  296. data/lib/fastly/models/billing_status.rb +1 -1
  297. data/lib/fastly/models/billing_total.rb +1 -1
  298. data/lib/fastly/models/billing_total_extras.rb +1 -1
  299. data/lib/fastly/models/bulk_update_acl_entries_request.rb +1 -1
  300. data/lib/fastly/models/bulk_update_acl_entry.rb +1 -1
  301. data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +1 -1
  302. data/lib/fastly/models/bulk_update_config_store_item.rb +1 -1
  303. data/lib/fastly/models/bulk_update_config_store_item_all_of.rb +1 -1
  304. data/lib/fastly/models/bulk_update_config_store_list_request.rb +1 -1
  305. data/lib/fastly/models/bulk_update_dictionary_item.rb +1 -1
  306. data/lib/fastly/models/bulk_update_dictionary_list_request.rb +1 -1
  307. data/lib/fastly/models/bulk_waf_active_rules.rb +1 -1
  308. data/lib/fastly/models/cache_setting.rb +1 -1
  309. data/lib/fastly/models/cache_setting_response.rb +1 -1
  310. data/lib/fastly/models/client_key.rb +1 -1
  311. data/lib/fastly/models/condition.rb +1 -1
  312. data/lib/fastly/models/condition_response.rb +1 -1
  313. data/lib/fastly/models/config_store.rb +1 -1
  314. data/lib/fastly/models/config_store_info_response.rb +1 -1
  315. data/lib/fastly/models/config_store_item.rb +1 -1
  316. data/lib/fastly/models/config_store_item_response.rb +1 -1
  317. data/lib/fastly/models/config_store_item_response_all_of.rb +1 -1
  318. data/lib/fastly/models/config_store_response.rb +1 -1
  319. data/lib/fastly/models/config_store_response_all_of.rb +1 -1
  320. data/lib/fastly/models/contact.rb +1 -1
  321. data/lib/fastly/models/contact_response.rb +1 -1
  322. data/lib/fastly/models/contact_response_all_of.rb +1 -1
  323. data/lib/fastly/models/content.rb +1 -1
  324. data/lib/fastly/models/create_response_object_request.rb +1 -1
  325. data/lib/fastly/models/customer.rb +1 -1
  326. data/lib/fastly/models/customer_response.rb +1 -1
  327. data/lib/fastly/models/customer_response_all_of.rb +1 -1
  328. data/lib/fastly/models/default_settings.rb +385 -0
  329. data/lib/fastly/models/default_settings_error.rb +234 -0
  330. data/lib/fastly/models/default_settings_response.rb +435 -0
  331. data/lib/fastly/models/dictionary.rb +1 -1
  332. data/lib/fastly/models/dictionary_info_response.rb +1 -1
  333. data/lib/fastly/models/dictionary_item.rb +1 -1
  334. data/lib/fastly/models/dictionary_item_response.rb +1 -1
  335. data/lib/fastly/models/dictionary_item_response_all_of.rb +1 -1
  336. data/lib/fastly/models/dictionary_response.rb +1 -1
  337. data/lib/fastly/models/dictionary_response_all_of.rb +1 -1
  338. data/lib/fastly/models/diff_response.rb +1 -1
  339. data/lib/fastly/models/director.rb +1 -1
  340. data/lib/fastly/models/director_backend.rb +1 -1
  341. data/lib/fastly/models/director_backend_all_of.rb +1 -1
  342. data/lib/fastly/models/director_response.rb +1 -1
  343. data/lib/fastly/models/domain.rb +1 -1
  344. data/lib/fastly/models/domain_inspector.rb +1 -1
  345. data/lib/fastly/models/domain_inspector_entry.rb +1 -1
  346. data/lib/fastly/models/domain_inspector_entry_dimensions.rb +1 -1
  347. data/lib/fastly/models/domain_inspector_measurements.rb +1 -1
  348. data/lib/fastly/models/domain_inspector_realtime_entry.rb +1 -1
  349. data/lib/fastly/models/domain_response.rb +1 -1
  350. data/lib/fastly/models/enabled_product_response.rb +1 -1
  351. data/lib/fastly/models/enabled_product_response_links.rb +1 -1
  352. data/lib/fastly/models/enabled_product_response_product.rb +1 -1
  353. data/lib/fastly/models/enabled_product_response_service.rb +1 -1
  354. data/lib/fastly/models/error.rb +1 -1
  355. data/lib/fastly/models/error_response_data.rb +1 -1
  356. data/lib/fastly/models/event.rb +1 -1
  357. data/lib/fastly/models/event_attributes.rb +1 -1
  358. data/lib/fastly/models/event_data.rb +1 -1
  359. data/lib/fastly/models/event_response.rb +1 -1
  360. data/lib/fastly/models/events_response.rb +1 -1
  361. data/lib/fastly/models/generic_token_error.rb +1 -1
  362. data/lib/fastly/models/gzip.rb +1 -1
  363. data/lib/fastly/models/gzip_response.rb +1 -1
  364. data/lib/fastly/models/header.rb +1 -1
  365. data/lib/fastly/models/header_response.rb +1 -1
  366. data/lib/fastly/models/header_response_additional.rb +1 -1
  367. data/lib/fastly/models/healthcheck.rb +1 -1
  368. data/lib/fastly/models/healthcheck_response.rb +1 -1
  369. data/lib/fastly/models/historical.rb +1 -1
  370. data/lib/fastly/models/historical_ddos.rb +1 -1
  371. data/lib/fastly/models/historical_ddos_meta.rb +1 -1
  372. data/lib/fastly/models/historical_domains.rb +1 -1
  373. data/lib/fastly/models/historical_domains_data.rb +1 -1
  374. data/lib/fastly/models/historical_domains_meta.rb +1 -1
  375. data/lib/fastly/models/historical_domains_meta_filters.rb +1 -1
  376. data/lib/fastly/models/historical_domains_response.rb +1 -1
  377. data/lib/fastly/models/historical_domains_response_all_of.rb +1 -1
  378. data/lib/fastly/models/historical_meta.rb +1 -1
  379. data/lib/fastly/models/historical_origins_response.rb +1 -1
  380. data/lib/fastly/models/historical_origins_response_all_of.rb +1 -1
  381. data/lib/fastly/models/historical_regions_response.rb +1 -1
  382. data/lib/fastly/models/historical_regions_response_all_of.rb +1 -1
  383. data/lib/fastly/models/historical_stats_aggregated_response.rb +1 -1
  384. data/lib/fastly/models/historical_stats_aggregated_response_all_of.rb +1 -1
  385. data/lib/fastly/models/historical_stats_by_service_response.rb +1 -1
  386. data/lib/fastly/models/historical_stats_by_service_response_all_of.rb +1 -1
  387. data/lib/fastly/models/historical_usage_aggregated_response.rb +1 -1
  388. data/lib/fastly/models/historical_usage_aggregated_response_all_of.rb +1 -1
  389. data/lib/fastly/models/historical_usage_data.rb +1 -1
  390. data/lib/fastly/models/historical_usage_month_response.rb +1 -1
  391. data/lib/fastly/models/historical_usage_month_response_all_of.rb +1 -1
  392. data/lib/fastly/models/historical_usage_month_response_data.rb +1 -1
  393. data/lib/fastly/models/historical_usage_service.rb +1 -1
  394. data/lib/fastly/models/historical_usage_service_response.rb +1 -1
  395. data/lib/fastly/models/historical_usage_service_response_all_of.rb +1 -1
  396. data/lib/fastly/models/http3.rb +1 -1
  397. data/lib/fastly/models/http3_all_of.rb +1 -1
  398. data/lib/fastly/models/http_response_format.rb +1 -1
  399. data/lib/fastly/models/http_stream_format.rb +1 -1
  400. data/lib/fastly/models/iam_permission.rb +1 -1
  401. data/lib/fastly/models/iam_role.rb +1 -1
  402. data/lib/fastly/models/iam_role_all_of.rb +1 -1
  403. data/lib/fastly/models/iam_service_group.rb +1 -1
  404. data/lib/fastly/models/iam_service_group_all_of.rb +1 -1
  405. data/lib/fastly/models/iam_user_group.rb +1 -1
  406. data/lib/fastly/models/iam_user_group_all_of.rb +1 -1
  407. data/lib/fastly/models/included_with_waf_active_rule_item.rb +1 -1
  408. data/lib/fastly/models/included_with_waf_exclusion_item.rb +1 -1
  409. data/lib/fastly/models/included_with_waf_firewall_version_item.rb +1 -1
  410. data/lib/fastly/models/included_with_waf_rule_item.rb +1 -1
  411. data/lib/fastly/models/inline_object.rb +1 -1
  412. data/lib/fastly/models/inline_object1.rb +1 -1
  413. data/lib/fastly/models/inline_response200.rb +1 -1
  414. data/lib/fastly/models/inline_response2001.rb +1 -1
  415. data/lib/fastly/models/inline_response2002.rb +1 -1
  416. data/lib/fastly/models/inline_response2003.rb +1 -1
  417. data/lib/fastly/models/inline_response2003_meta.rb +1 -1
  418. data/lib/fastly/models/inline_response2004.rb +1 -1
  419. data/lib/fastly/models/inline_response2004_meta.rb +1 -1
  420. data/lib/fastly/models/inline_response2005.rb +1 -1
  421. data/lib/fastly/models/inline_response2006.rb +1 -1
  422. data/lib/fastly/models/inline_response2007.rb +1 -1
  423. data/lib/fastly/models/inline_response400.rb +1 -1
  424. data/lib/fastly/models/invitation.rb +1 -1
  425. data/lib/fastly/models/invitation_data.rb +1 -1
  426. data/lib/fastly/models/invitation_data_attributes.rb +1 -1
  427. data/lib/fastly/models/invitation_response.rb +1 -1
  428. data/lib/fastly/models/invitation_response_all_of.rb +1 -1
  429. data/lib/fastly/models/invitation_response_data.rb +1 -1
  430. data/lib/fastly/models/invitation_response_data_all_of.rb +1 -1
  431. data/lib/fastly/models/invitations_response.rb +1 -1
  432. data/lib/fastly/models/invitations_response_all_of.rb +1 -1
  433. data/lib/fastly/models/invoice.rb +1 -1
  434. data/lib/fastly/models/invoice_response.rb +1 -1
  435. data/lib/fastly/models/invoicelineitems.rb +12 -2
  436. data/lib/fastly/models/legacy_waf_configuration_set.rb +1 -1
  437. data/lib/fastly/models/legacy_waf_firewall.rb +1 -1
  438. data/lib/fastly/models/legacy_waf_owasp.rb +1 -1
  439. data/lib/fastly/models/legacy_waf_rule.rb +1 -1
  440. data/lib/fastly/models/legacy_waf_rule_status.rb +1 -1
  441. data/lib/fastly/models/legacy_waf_ruleset.rb +1 -1
  442. data/lib/fastly/models/legacy_waf_tag.rb +1 -1
  443. data/lib/fastly/models/legacy_waf_update_status.rb +1 -1
  444. data/lib/fastly/models/line_item_data.rb +1 -1
  445. data/lib/fastly/models/line_item_data_read_only_invoice_id.rb +1 -1
  446. data/lib/fastly/models/list_invoices_response.rb +1 -1
  447. data/lib/fastly/models/listinvoices.rb +1 -1
  448. data/lib/fastly/models/logging_address_and_port.rb +1 -1
  449. data/lib/fastly/models/logging_azureblob_additional.rb +1 -1
  450. data/lib/fastly/models/logging_azureblob_response.rb +1 -1
  451. data/lib/fastly/models/logging_bigquery_additional.rb +1 -1
  452. data/lib/fastly/models/logging_bigquery_response.rb +1 -1
  453. data/lib/fastly/models/logging_cloudfiles_additional.rb +1 -1
  454. data/lib/fastly/models/logging_cloudfiles_response.rb +1 -1
  455. data/lib/fastly/models/logging_common.rb +1 -1
  456. data/lib/fastly/models/logging_common_response.rb +1 -1
  457. data/lib/fastly/models/logging_common_response_all_of.rb +1 -1
  458. data/lib/fastly/models/logging_common_response_all_of1.rb +1 -1
  459. data/lib/fastly/models/logging_datadog_additional.rb +1 -1
  460. data/lib/fastly/models/logging_datadog_response.rb +1 -1
  461. data/lib/fastly/models/logging_digitalocean_additional.rb +1 -1
  462. data/lib/fastly/models/logging_digitalocean_response.rb +1 -1
  463. data/lib/fastly/models/logging_elasticsearch_additional.rb +1 -1
  464. data/lib/fastly/models/logging_elasticsearch_response.rb +1 -1
  465. data/lib/fastly/models/logging_format_version_integer.rb +1 -1
  466. data/lib/fastly/models/logging_format_version_string.rb +1 -1
  467. data/lib/fastly/models/logging_ftp_additional.rb +1 -1
  468. data/lib/fastly/models/logging_ftp_response.rb +1 -1
  469. data/lib/fastly/models/logging_ftp_response_all_of.rb +1 -1
  470. data/lib/fastly/models/logging_gcs_additional.rb +1 -1
  471. data/lib/fastly/models/logging_gcs_common.rb +1 -1
  472. data/lib/fastly/models/logging_gcs_response.rb +1 -1
  473. data/lib/fastly/models/logging_generic_common.rb +1 -1
  474. data/lib/fastly/models/logging_generic_common_response.rb +1 -1
  475. data/lib/fastly/models/logging_generic_common_response_all_of.rb +1 -1
  476. data/lib/fastly/models/logging_generic_common_response_all_of1.rb +1 -1
  477. data/lib/fastly/models/logging_google_pubsub_additional.rb +1 -1
  478. data/lib/fastly/models/logging_google_pubsub_response.rb +1 -1
  479. data/lib/fastly/models/logging_heroku_additional.rb +1 -1
  480. data/lib/fastly/models/logging_heroku_response.rb +1 -1
  481. data/lib/fastly/models/logging_honeycomb_additional.rb +1 -1
  482. data/lib/fastly/models/logging_honeycomb_response.rb +1 -1
  483. data/lib/fastly/models/logging_https_additional.rb +1 -1
  484. data/lib/fastly/models/logging_https_response.rb +1 -1
  485. data/lib/fastly/models/logging_kafka_additional.rb +1 -1
  486. data/lib/fastly/models/logging_kafka_response.rb +1 -1
  487. data/lib/fastly/models/logging_kafka_response_post.rb +1 -1
  488. data/lib/fastly/models/logging_kinesis_additional.rb +2 -2
  489. data/lib/fastly/models/logging_kinesis_response.rb +2 -2
  490. data/lib/fastly/models/logging_logentries_additional.rb +1 -1
  491. data/lib/fastly/models/logging_logentries_response.rb +1 -1
  492. data/lib/fastly/models/logging_loggly_additional.rb +1 -1
  493. data/lib/fastly/models/logging_loggly_response.rb +1 -1
  494. data/lib/fastly/models/logging_logshuttle_additional.rb +1 -1
  495. data/lib/fastly/models/logging_logshuttle_response.rb +1 -1
  496. data/lib/fastly/models/logging_message_type.rb +1 -1
  497. data/lib/fastly/models/logging_newrelic_additional.rb +1 -1
  498. data/lib/fastly/models/logging_newrelic_response.rb +1 -1
  499. data/lib/fastly/models/logging_newrelicotlp_additional.rb +1 -1
  500. data/lib/fastly/models/logging_newrelicotlp_response.rb +1 -1
  501. data/lib/fastly/models/logging_openstack_additional.rb +1 -1
  502. data/lib/fastly/models/logging_openstack_response.rb +1 -1
  503. data/lib/fastly/models/logging_papertrail_response.rb +1 -1
  504. data/lib/fastly/models/logging_placement.rb +1 -1
  505. data/lib/fastly/models/logging_request_caps_common.rb +1 -1
  506. data/lib/fastly/models/logging_s3_additional.rb +31 -6
  507. data/lib/fastly/models/logging_s3_response.rb +31 -6
  508. data/lib/fastly/models/logging_scalyr_additional.rb +1 -1
  509. data/lib/fastly/models/logging_scalyr_response.rb +1 -1
  510. data/lib/fastly/models/logging_sftp_additional.rb +1 -1
  511. data/lib/fastly/models/logging_sftp_response.rb +1 -1
  512. data/lib/fastly/models/logging_sftp_response_all_of.rb +1 -1
  513. data/lib/fastly/models/logging_splunk_additional.rb +1 -1
  514. data/lib/fastly/models/logging_splunk_response.rb +1 -1
  515. data/lib/fastly/models/logging_sumologic_additional.rb +1 -1
  516. data/lib/fastly/models/logging_sumologic_response.rb +1 -1
  517. data/lib/fastly/models/logging_syslog_additional.rb +1 -1
  518. data/lib/fastly/models/logging_syslog_response.rb +1 -1
  519. data/lib/fastly/models/logging_tls_common.rb +1 -1
  520. data/lib/fastly/models/logging_use_tls.rb +1 -1
  521. data/lib/fastly/models/metadata.rb +1 -1
  522. data/lib/fastly/models/mutual_authentication.rb +1 -1
  523. data/lib/fastly/models/mutual_authentication_data.rb +1 -1
  524. data/lib/fastly/models/mutual_authentication_data_attributes.rb +1 -1
  525. data/lib/fastly/models/mutual_authentication_response.rb +1 -1
  526. data/lib/fastly/models/mutual_authentication_response_attributes.rb +1 -1
  527. data/lib/fastly/models/mutual_authentication_response_attributes_all_of.rb +1 -1
  528. data/lib/fastly/models/mutual_authentication_response_data.rb +1 -1
  529. data/lib/fastly/models/mutual_authentication_response_data_all_of.rb +1 -1
  530. data/lib/fastly/models/mutual_authentications_response.rb +1 -1
  531. data/lib/fastly/models/mutual_authentications_response_all_of.rb +1 -1
  532. data/lib/fastly/models/origin_inspector.rb +1 -1
  533. data/lib/fastly/models/origin_inspector_dimensions.rb +1 -1
  534. data/lib/fastly/models/origin_inspector_entry.rb +1 -1
  535. data/lib/fastly/models/origin_inspector_historical.rb +1 -1
  536. data/lib/fastly/models/origin_inspector_historical_data.rb +1 -1
  537. data/lib/fastly/models/origin_inspector_historical_meta.rb +1 -1
  538. data/lib/fastly/models/origin_inspector_historical_meta_filters.rb +1 -1
  539. data/lib/fastly/models/origin_inspector_measurements.rb +1 -1
  540. data/lib/fastly/models/origin_inspector_realtime_entry.rb +1 -1
  541. data/lib/fastly/models/origin_inspector_realtime_entry_recorded.rb +1 -1
  542. data/lib/fastly/models/origin_inspector_subsequent_request_timestamp.rb +1 -1
  543. data/lib/fastly/models/origin_inspector_values.rb +1 -1
  544. data/lib/fastly/models/package.rb +1 -1
  545. data/lib/fastly/models/package_metadata.rb +1 -1
  546. data/lib/fastly/models/package_response.rb +1 -1
  547. data/lib/fastly/models/package_response_all_of.rb +1 -1
  548. data/lib/fastly/models/pagination.rb +1 -1
  549. data/lib/fastly/models/pagination_cursor_meta.rb +1 -1
  550. data/lib/fastly/models/pagination_links.rb +1 -1
  551. data/lib/fastly/models/pagination_meta.rb +1 -1
  552. data/lib/fastly/models/permission.rb +1 -1
  553. data/lib/fastly/models/platform_ddos_data_items.rb +1 -1
  554. data/lib/fastly/models/platform_ddos_entry.rb +1 -1
  555. data/lib/fastly/models/platform_ddos_response.rb +1 -1
  556. data/lib/fastly/models/platform_ddos_response_all_of.rb +1 -1
  557. data/lib/fastly/models/pool_additional.rb +1 -1
  558. data/lib/fastly/models/pool_response.rb +1 -1
  559. data/lib/fastly/models/pool_response_all_of.rb +1 -1
  560. data/lib/fastly/models/pool_response_common.rb +1 -1
  561. data/lib/fastly/models/pool_response_post.rb +1 -1
  562. data/lib/fastly/models/pool_response_post_all_of.rb +1 -1
  563. data/lib/fastly/models/pop.rb +1 -1
  564. data/lib/fastly/models/pop_coordinates.rb +1 -1
  565. data/lib/fastly/models/public_ip_list.rb +1 -1
  566. data/lib/fastly/models/publish_item.rb +1 -1
  567. data/lib/fastly/models/publish_item_formats.rb +1 -1
  568. data/lib/fastly/models/publish_request.rb +1 -1
  569. data/lib/fastly/models/purge_keys.rb +1 -1
  570. data/lib/fastly/models/purge_response.rb +1 -1
  571. data/lib/fastly/models/rate_limiter.rb +1 -1
  572. data/lib/fastly/models/rate_limiter_response.rb +1 -1
  573. data/lib/fastly/models/rate_limiter_response_all_of.rb +1 -1
  574. data/lib/fastly/models/read_only_customer_id.rb +1 -1
  575. data/lib/fastly/models/read_only_id.rb +1 -1
  576. data/lib/fastly/models/read_only_service_id.rb +1 -1
  577. data/lib/fastly/models/read_only_user_id.rb +1 -1
  578. data/lib/fastly/models/read_only_version.rb +1 -1
  579. data/lib/fastly/models/realtime.rb +1 -1
  580. data/lib/fastly/models/realtime_entry.rb +1 -1
  581. data/lib/fastly/models/realtime_entry_aggregated.rb +1 -1
  582. data/lib/fastly/models/realtime_entry_recorded.rb +1 -1
  583. data/lib/fastly/models/realtime_measurements.rb +1 -1
  584. data/lib/fastly/models/recorded_timestamp.rb +1 -1
  585. data/lib/fastly/models/relationship_common_name.rb +1 -1
  586. data/lib/fastly/models/relationship_customer.rb +1 -1
  587. data/lib/fastly/models/relationship_customer_customer.rb +1 -1
  588. data/lib/fastly/models/relationship_member_customer.rb +1 -1
  589. data/lib/fastly/models/relationship_member_mutual_authentication.rb +1 -1
  590. data/lib/fastly/models/relationship_member_service.rb +1 -1
  591. data/lib/fastly/models/relationship_member_service_invitation.rb +1 -1
  592. data/lib/fastly/models/relationship_member_tls_activation.rb +1 -1
  593. data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +1 -1
  594. data/lib/fastly/models/relationship_member_tls_certificate.rb +1 -1
  595. data/lib/fastly/models/relationship_member_tls_configuration.rb +1 -1
  596. data/lib/fastly/models/relationship_member_tls_dns_record.rb +1 -1
  597. data/lib/fastly/models/relationship_member_tls_domain.rb +1 -1
  598. data/lib/fastly/models/relationship_member_tls_private_key.rb +1 -1
  599. data/lib/fastly/models/relationship_member_tls_subscription.rb +1 -1
  600. data/lib/fastly/models/relationship_member_waf_active_rule.rb +1 -1
  601. data/lib/fastly/models/relationship_member_waf_firewall.rb +1 -1
  602. data/lib/fastly/models/relationship_member_waf_firewall_version.rb +1 -1
  603. data/lib/fastly/models/relationship_member_waf_rule.rb +1 -1
  604. data/lib/fastly/models/relationship_member_waf_rule_revision.rb +1 -1
  605. data/lib/fastly/models/relationship_member_waf_tag.rb +1 -1
  606. data/lib/fastly/models/relationship_mutual_authentication.rb +1 -1
  607. data/lib/fastly/models/relationship_mutual_authentication_mutual_authentication.rb +1 -1
  608. data/lib/fastly/models/relationship_mutual_authentications.rb +1 -1
  609. data/lib/fastly/models/relationship_mutual_authentications_mutual_authentications.rb +1 -1
  610. data/lib/fastly/models/relationship_service.rb +1 -1
  611. data/lib/fastly/models/relationship_service_invitations.rb +1 -1
  612. data/lib/fastly/models/relationship_service_invitations_create.rb +1 -1
  613. data/lib/fastly/models/relationship_service_invitations_create_service_invitations.rb +1 -1
  614. data/lib/fastly/models/relationship_service_invitations_service_invitations.rb +1 -1
  615. data/lib/fastly/models/relationship_services.rb +1 -1
  616. data/lib/fastly/models/relationship_services_services.rb +1 -1
  617. data/lib/fastly/models/relationship_tls_activation.rb +1 -1
  618. data/lib/fastly/models/relationship_tls_activation_tls_activation.rb +1 -1
  619. data/lib/fastly/models/relationship_tls_activations.rb +1 -1
  620. data/lib/fastly/models/relationship_tls_bulk_certificate.rb +1 -1
  621. data/lib/fastly/models/relationship_tls_bulk_certificate_tls_bulk_certificate.rb +1 -1
  622. data/lib/fastly/models/relationship_tls_bulk_certificates.rb +1 -1
  623. data/lib/fastly/models/relationship_tls_certificate.rb +1 -1
  624. data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +1 -1
  625. data/lib/fastly/models/relationship_tls_certificates.rb +1 -1
  626. data/lib/fastly/models/relationship_tls_certificates_tls_certificates.rb +1 -1
  627. data/lib/fastly/models/relationship_tls_configuration.rb +1 -1
  628. data/lib/fastly/models/relationship_tls_configuration_for_tls_subscription.rb +1 -1
  629. data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +1 -1
  630. data/lib/fastly/models/relationship_tls_configurations.rb +1 -1
  631. data/lib/fastly/models/relationship_tls_configurations_tls_configurations.rb +1 -1
  632. data/lib/fastly/models/relationship_tls_dns_record.rb +1 -1
  633. data/lib/fastly/models/relationship_tls_dns_record_dns_record.rb +1 -1
  634. data/lib/fastly/models/relationship_tls_dns_records.rb +1 -1
  635. data/lib/fastly/models/relationship_tls_domain.rb +1 -1
  636. data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +1 -1
  637. data/lib/fastly/models/relationship_tls_domains.rb +1 -1
  638. data/lib/fastly/models/relationship_tls_domains_tls_domains.rb +1 -1
  639. data/lib/fastly/models/relationship_tls_private_key.rb +1 -1
  640. data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +1 -1
  641. data/lib/fastly/models/relationship_tls_private_keys.rb +1 -1
  642. data/lib/fastly/models/relationship_tls_private_keys_tls_private_keys.rb +1 -1
  643. data/lib/fastly/models/relationship_tls_subscription.rb +1 -1
  644. data/lib/fastly/models/relationship_tls_subscription_tls_subscription.rb +1 -1
  645. data/lib/fastly/models/relationship_tls_subscriptions.rb +1 -1
  646. data/lib/fastly/models/relationship_user.rb +1 -1
  647. data/lib/fastly/models/relationship_user_user.rb +1 -1
  648. data/lib/fastly/models/relationship_waf_active_rules.rb +1 -1
  649. data/lib/fastly/models/relationship_waf_active_rules_waf_active_rules.rb +1 -1
  650. data/lib/fastly/models/relationship_waf_firewall.rb +1 -1
  651. data/lib/fastly/models/relationship_waf_firewall_version.rb +1 -1
  652. data/lib/fastly/models/relationship_waf_firewall_version_waf_firewall_version.rb +1 -1
  653. data/lib/fastly/models/relationship_waf_firewall_versions.rb +1 -1
  654. data/lib/fastly/models/relationship_waf_firewall_waf_firewall.rb +1 -1
  655. data/lib/fastly/models/relationship_waf_rule.rb +1 -1
  656. data/lib/fastly/models/relationship_waf_rule_revision.rb +1 -1
  657. data/lib/fastly/models/relationship_waf_rule_revision_waf_rule_revisions.rb +1 -1
  658. data/lib/fastly/models/relationship_waf_rule_revisions.rb +1 -1
  659. data/lib/fastly/models/relationship_waf_rule_waf_rule.rb +1 -1
  660. data/lib/fastly/models/relationship_waf_rules.rb +1 -1
  661. data/lib/fastly/models/relationship_waf_tags.rb +1 -1
  662. data/lib/fastly/models/relationship_waf_tags_waf_tags.rb +1 -1
  663. data/lib/fastly/models/relationships_for_invitation.rb +1 -1
  664. data/lib/fastly/models/relationships_for_mutual_authentication.rb +1 -1
  665. data/lib/fastly/models/relationships_for_star.rb +1 -1
  666. data/lib/fastly/models/relationships_for_tls_activation.rb +1 -1
  667. data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +1 -1
  668. data/lib/fastly/models/relationships_for_tls_configuration.rb +1 -1
  669. data/lib/fastly/models/relationships_for_tls_domain.rb +1 -1
  670. data/lib/fastly/models/relationships_for_tls_private_key.rb +1 -1
  671. data/lib/fastly/models/relationships_for_tls_subscription.rb +1 -1
  672. data/lib/fastly/models/relationships_for_waf_active_rule.rb +1 -1
  673. data/lib/fastly/models/relationships_for_waf_exclusion.rb +1 -1
  674. data/lib/fastly/models/relationships_for_waf_firewall_version.rb +1 -1
  675. data/lib/fastly/models/relationships_for_waf_rule.rb +1 -1
  676. data/lib/fastly/models/request_settings_additional.rb +1 -1
  677. data/lib/fastly/models/request_settings_response.rb +1 -1
  678. data/lib/fastly/models/request_settings_response_all_of.rb +1 -1
  679. data/lib/fastly/models/resource.rb +1 -1
  680. data/lib/fastly/models/resource_response.rb +1 -3
  681. data/lib/fastly/models/resource_response_all_of.rb +1 -3
  682. data/lib/fastly/models/response_object.rb +1 -1
  683. data/lib/fastly/models/response_object_response.rb +1 -1
  684. data/lib/fastly/models/results.rb +1 -1
  685. data/lib/fastly/models/role_user.rb +1 -1
  686. data/lib/fastly/models/schemas_contact_response.rb +1 -1
  687. data/lib/fastly/models/schemas_snippet_response.rb +1 -1
  688. data/lib/fastly/models/schemas_snippet_response_common.rb +1 -1
  689. data/lib/fastly/models/schemas_user_response.rb +1 -1
  690. data/lib/fastly/models/schemas_user_response_read_only.rb +1 -1
  691. data/lib/fastly/models/schemas_vcl_response.rb +1 -1
  692. data/lib/fastly/models/schemas_version.rb +1 -1
  693. data/lib/fastly/models/schemas_version_response.rb +1 -1
  694. data/lib/fastly/models/schemas_waf_firewall_version.rb +1 -1
  695. data/lib/fastly/models/schemas_waf_firewall_version_data.rb +1 -1
  696. data/lib/fastly/models/secret.rb +1 -1
  697. data/lib/fastly/models/secret_response.rb +1 -1
  698. data/lib/fastly/models/secret_store.rb +1 -1
  699. data/lib/fastly/models/secret_store_response.rb +1 -1
  700. data/lib/fastly/models/server.rb +1 -1
  701. data/lib/fastly/models/server_response.rb +1 -1
  702. data/lib/fastly/models/server_response_all_of.rb +1 -1
  703. data/lib/fastly/models/service.rb +1 -1
  704. data/lib/fastly/models/service_authorization.rb +1 -1
  705. data/lib/fastly/models/service_authorization_data.rb +1 -1
  706. data/lib/fastly/models/service_authorization_data_attributes.rb +1 -1
  707. data/lib/fastly/models/service_authorization_data_relationships.rb +1 -1
  708. data/lib/fastly/models/service_authorization_data_relationships_user.rb +1 -1
  709. data/lib/fastly/models/service_authorization_data_relationships_user_data.rb +1 -1
  710. data/lib/fastly/models/service_authorization_response.rb +1 -1
  711. data/lib/fastly/models/service_authorization_response_data.rb +1 -1
  712. data/lib/fastly/models/service_authorization_response_data_all_of.rb +1 -1
  713. data/lib/fastly/models/service_authorizations_response.rb +1 -1
  714. data/lib/fastly/models/service_authorizations_response_all_of.rb +1 -1
  715. data/lib/fastly/models/service_create.rb +1 -1
  716. data/lib/fastly/models/service_create_all_of.rb +1 -1
  717. data/lib/fastly/models/service_detail.rb +1 -1
  718. data/lib/fastly/models/service_detail_all_of.rb +1 -1
  719. data/lib/fastly/models/service_id_and_version.rb +1 -1
  720. data/lib/fastly/models/service_id_and_version_string.rb +1 -1
  721. data/lib/fastly/models/service_invitation.rb +1 -1
  722. data/lib/fastly/models/service_invitation_data.rb +1 -1
  723. data/lib/fastly/models/service_invitation_data_attributes.rb +1 -1
  724. data/lib/fastly/models/service_invitation_data_relationships.rb +1 -1
  725. data/lib/fastly/models/service_invitation_response.rb +1 -1
  726. data/lib/fastly/models/service_invitation_response_all_of.rb +1 -1
  727. data/lib/fastly/models/service_invitation_response_all_of_data.rb +1 -1
  728. data/lib/fastly/models/service_list_response.rb +1 -1
  729. data/lib/fastly/models/service_list_response_all_of.rb +1 -1
  730. data/lib/fastly/models/service_response.rb +1 -1
  731. data/lib/fastly/models/service_response_all_of.rb +1 -1
  732. data/lib/fastly/models/service_version_detail.rb +1 -1
  733. data/lib/fastly/models/service_version_detail_or_null.rb +1 -1
  734. data/lib/fastly/models/settings.rb +1 -1
  735. data/lib/fastly/models/settings_response.rb +1 -1
  736. data/lib/fastly/models/signing_key.rb +1 -1
  737. data/lib/fastly/models/snippet.rb +1 -1
  738. data/lib/fastly/models/snippet_all_of.rb +1 -1
  739. data/lib/fastly/models/snippet_common.rb +1 -1
  740. data/lib/fastly/models/snippet_response.rb +1 -1
  741. data/lib/fastly/models/snippet_response_common.rb +1 -1
  742. data/lib/fastly/models/snippet_response_common_all_of.rb +1 -1
  743. data/lib/fastly/models/snippet_response_post.rb +1 -1
  744. data/lib/fastly/models/snippet_with_dynamic_number.rb +1 -1
  745. data/lib/fastly/models/snippet_with_dynamic_number_all_of.rb +1 -1
  746. data/lib/fastly/models/star.rb +1 -1
  747. data/lib/fastly/models/star_data.rb +1 -1
  748. data/lib/fastly/models/star_response.rb +1 -1
  749. data/lib/fastly/models/star_response_all_of.rb +1 -1
  750. data/lib/fastly/models/stats.rb +1 -1
  751. data/lib/fastly/models/store.rb +1 -1
  752. data/lib/fastly/models/store_response.rb +1 -1
  753. data/lib/fastly/models/subsequent_request_timestamp.rb +1 -1
  754. data/lib/fastly/models/sudo_generic_token_error.rb +1 -1
  755. data/lib/fastly/models/sudo_request.rb +1 -1
  756. data/lib/fastly/models/sudo_response.rb +1 -1
  757. data/lib/fastly/models/timestamps.rb +1 -1
  758. data/lib/fastly/models/timestamps_no_delete.rb +1 -1
  759. data/lib/fastly/models/tls_activation.rb +1 -1
  760. data/lib/fastly/models/tls_activation_data.rb +1 -1
  761. data/lib/fastly/models/tls_activation_response.rb +1 -1
  762. data/lib/fastly/models/tls_activation_response_data.rb +1 -1
  763. data/lib/fastly/models/tls_activation_response_data_all_of.rb +1 -1
  764. data/lib/fastly/models/tls_activations_response.rb +1 -1
  765. data/lib/fastly/models/tls_activations_response_all_of.rb +1 -1
  766. data/lib/fastly/models/tls_bulk_certificate.rb +1 -1
  767. data/lib/fastly/models/tls_bulk_certificate_data.rb +1 -1
  768. data/lib/fastly/models/tls_bulk_certificate_data_attributes.rb +1 -1
  769. data/lib/fastly/models/tls_bulk_certificate_response.rb +1 -1
  770. data/lib/fastly/models/tls_bulk_certificate_response_attributes.rb +1 -1
  771. data/lib/fastly/models/tls_bulk_certificate_response_attributes_all_of.rb +1 -1
  772. data/lib/fastly/models/tls_bulk_certificate_response_data.rb +1 -1
  773. data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +1 -1
  774. data/lib/fastly/models/tls_bulk_certificates_response.rb +1 -1
  775. data/lib/fastly/models/tls_bulk_certificates_response_all_of.rb +1 -1
  776. data/lib/fastly/models/tls_certificate.rb +1 -1
  777. data/lib/fastly/models/tls_certificate_data.rb +1 -1
  778. data/lib/fastly/models/tls_certificate_data_attributes.rb +1 -1
  779. data/lib/fastly/models/tls_certificate_response.rb +1 -1
  780. data/lib/fastly/models/tls_certificate_response_attributes.rb +1 -1
  781. data/lib/fastly/models/tls_certificate_response_attributes_all_of.rb +1 -1
  782. data/lib/fastly/models/tls_certificate_response_data.rb +1 -1
  783. data/lib/fastly/models/tls_certificate_response_data_all_of.rb +1 -1
  784. data/lib/fastly/models/tls_certificates_response.rb +1 -1
  785. data/lib/fastly/models/tls_certificates_response_all_of.rb +1 -1
  786. data/lib/fastly/models/tls_common_response.rb +1 -1
  787. data/lib/fastly/models/tls_common_response_all_of.rb +1 -1
  788. data/lib/fastly/models/tls_common_response_all_of1.rb +1 -1
  789. data/lib/fastly/models/tls_configuration.rb +1 -1
  790. data/lib/fastly/models/tls_configuration_data.rb +1 -1
  791. data/lib/fastly/models/tls_configuration_data_attributes.rb +1 -1
  792. data/lib/fastly/models/tls_configuration_response.rb +1 -1
  793. data/lib/fastly/models/tls_configuration_response_attributes.rb +1 -1
  794. data/lib/fastly/models/tls_configuration_response_attributes_all_of.rb +1 -1
  795. data/lib/fastly/models/tls_configuration_response_data.rb +1 -1
  796. data/lib/fastly/models/tls_configuration_response_data_all_of.rb +1 -1
  797. data/lib/fastly/models/tls_configurations_response.rb +1 -1
  798. data/lib/fastly/models/tls_configurations_response_all_of.rb +1 -1
  799. data/lib/fastly/models/tls_csr.rb +1 -1
  800. data/lib/fastly/models/tls_csr_data.rb +1 -1
  801. data/lib/fastly/models/tls_csr_data_attributes.rb +1 -1
  802. data/lib/fastly/models/tls_csr_error_response.rb +1 -1
  803. data/lib/fastly/models/tls_csr_response.rb +1 -1
  804. data/lib/fastly/models/tls_csr_response_attributes.rb +1 -1
  805. data/lib/fastly/models/tls_csr_response_data.rb +1 -1
  806. data/lib/fastly/models/tls_dns_record.rb +1 -1
  807. data/lib/fastly/models/tls_domain_data.rb +1 -1
  808. data/lib/fastly/models/tls_domains_response.rb +1 -1
  809. data/lib/fastly/models/tls_domains_response_all_of.rb +1 -1
  810. data/lib/fastly/models/tls_private_key.rb +1 -1
  811. data/lib/fastly/models/tls_private_key_data.rb +1 -1
  812. data/lib/fastly/models/tls_private_key_data_attributes.rb +1 -1
  813. data/lib/fastly/models/tls_private_key_response.rb +1 -1
  814. data/lib/fastly/models/tls_private_key_response_attributes.rb +1 -1
  815. data/lib/fastly/models/tls_private_key_response_attributes_all_of.rb +1 -1
  816. data/lib/fastly/models/tls_private_key_response_data.rb +1 -1
  817. data/lib/fastly/models/tls_private_keys_response.rb +1 -1
  818. data/lib/fastly/models/tls_private_keys_response_all_of.rb +1 -1
  819. data/lib/fastly/models/tls_subscription.rb +1 -1
  820. data/lib/fastly/models/tls_subscription_data.rb +1 -1
  821. data/lib/fastly/models/tls_subscription_data_attributes.rb +2 -2
  822. data/lib/fastly/models/tls_subscription_response.rb +1 -1
  823. data/lib/fastly/models/tls_subscription_response_attributes.rb +1 -1
  824. data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +1 -1
  825. data/lib/fastly/models/tls_subscription_response_data.rb +1 -1
  826. data/lib/fastly/models/tls_subscriptions_response.rb +1 -1
  827. data/lib/fastly/models/tls_subscriptions_response_all_of.rb +1 -1
  828. data/lib/fastly/models/token.rb +1 -1
  829. data/lib/fastly/models/token_created_response.rb +1 -1
  830. data/lib/fastly/models/token_created_response_all_of.rb +1 -1
  831. data/lib/fastly/models/token_response.rb +1 -1
  832. data/lib/fastly/models/token_response_all_of.rb +1 -1
  833. data/lib/fastly/models/tokens_additional_props.rb +1 -1
  834. data/lib/fastly/models/type_billing_address.rb +1 -1
  835. data/lib/fastly/models/type_contact.rb +1 -1
  836. data/lib/fastly/models/type_customer.rb +1 -1
  837. data/lib/fastly/models/type_event.rb +1 -1
  838. data/lib/fastly/models/type_invitation.rb +1 -1
  839. data/lib/fastly/models/type_mutual_authentication.rb +1 -1
  840. data/lib/fastly/models/type_resource.rb +3 -3
  841. data/lib/fastly/models/type_service.rb +1 -1
  842. data/lib/fastly/models/type_service_authorization.rb +1 -1
  843. data/lib/fastly/models/type_service_invitation.rb +1 -1
  844. data/lib/fastly/models/type_star.rb +1 -1
  845. data/lib/fastly/models/type_tls_activation.rb +1 -1
  846. data/lib/fastly/models/type_tls_bulk_certificate.rb +1 -1
  847. data/lib/fastly/models/type_tls_certificate.rb +1 -1
  848. data/lib/fastly/models/type_tls_configuration.rb +1 -1
  849. data/lib/fastly/models/type_tls_csr.rb +1 -1
  850. data/lib/fastly/models/type_tls_dns_record.rb +1 -1
  851. data/lib/fastly/models/type_tls_domain.rb +1 -1
  852. data/lib/fastly/models/type_tls_private_key.rb +1 -1
  853. data/lib/fastly/models/type_tls_subscription.rb +1 -1
  854. data/lib/fastly/models/type_user.rb +1 -1
  855. data/lib/fastly/models/type_waf_active_rule.rb +1 -1
  856. data/lib/fastly/models/type_waf_exclusion.rb +1 -1
  857. data/lib/fastly/models/type_waf_firewall.rb +1 -1
  858. data/lib/fastly/models/type_waf_firewall_version.rb +1 -1
  859. data/lib/fastly/models/type_waf_rule.rb +1 -1
  860. data/lib/fastly/models/type_waf_rule_revision.rb +1 -1
  861. data/lib/fastly/models/type_waf_tag.rb +1 -1
  862. data/lib/fastly/models/update_billing_address_request.rb +1 -1
  863. data/lib/fastly/models/update_billing_address_request_data.rb +1 -1
  864. data/lib/fastly/models/user.rb +1 -1
  865. data/lib/fastly/models/user_response.rb +1 -1
  866. data/lib/fastly/models/user_response_read_only.rb +1 -1
  867. data/lib/fastly/models/validator_result.rb +1 -1
  868. data/lib/fastly/models/validator_result_data.rb +1 -1
  869. data/lib/fastly/models/validator_result_data_attributes.rb +1 -1
  870. data/lib/fastly/models/validator_result_data_attributes_messages.rb +1 -1
  871. data/lib/fastly/models/values.rb +1 -1
  872. data/lib/fastly/models/values_ddos.rb +1 -1
  873. data/lib/fastly/models/vcl.rb +1 -1
  874. data/lib/fastly/models/vcl_diff.rb +1 -1
  875. data/lib/fastly/models/vcl_response.rb +1 -1
  876. data/lib/fastly/models/vcl_syntax_highlighting_response.rb +1 -1
  877. data/lib/fastly/models/version.rb +1 -1
  878. data/lib/fastly/models/version_create_response.rb +1 -1
  879. data/lib/fastly/models/version_detail.rb +1 -1
  880. data/lib/fastly/models/version_detail_settings.rb +1 -1
  881. data/lib/fastly/models/version_response.rb +1 -1
  882. data/lib/fastly/models/version_response_all_of.rb +1 -1
  883. data/lib/fastly/models/waf_active_rule.rb +1 -1
  884. data/lib/fastly/models/waf_active_rule_creation_response.rb +1 -1
  885. data/lib/fastly/models/waf_active_rule_data.rb +1 -1
  886. data/lib/fastly/models/waf_active_rule_data_attributes.rb +1 -1
  887. data/lib/fastly/models/waf_active_rule_response.rb +1 -1
  888. data/lib/fastly/models/waf_active_rule_response_data.rb +1 -1
  889. data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +1 -1
  890. data/lib/fastly/models/waf_active_rule_response_data_attributes.rb +1 -1
  891. data/lib/fastly/models/waf_active_rule_response_data_attributes_all_of.rb +1 -1
  892. data/lib/fastly/models/waf_active_rule_response_data_relationships.rb +1 -1
  893. data/lib/fastly/models/waf_active_rules_response.rb +1 -1
  894. data/lib/fastly/models/waf_active_rules_response_all_of.rb +1 -1
  895. data/lib/fastly/models/waf_exclusion.rb +1 -1
  896. data/lib/fastly/models/waf_exclusion_data.rb +1 -1
  897. data/lib/fastly/models/waf_exclusion_data_attributes.rb +1 -1
  898. data/lib/fastly/models/waf_exclusion_response.rb +1 -1
  899. data/lib/fastly/models/waf_exclusion_response_data.rb +1 -1
  900. data/lib/fastly/models/waf_exclusion_response_data_all_of.rb +1 -1
  901. data/lib/fastly/models/waf_exclusion_response_data_attributes.rb +1 -1
  902. data/lib/fastly/models/waf_exclusion_response_data_attributes_all_of.rb +1 -1
  903. data/lib/fastly/models/waf_exclusion_response_data_relationships.rb +1 -1
  904. data/lib/fastly/models/waf_exclusions_response.rb +1 -1
  905. data/lib/fastly/models/waf_exclusions_response_all_of.rb +1 -1
  906. data/lib/fastly/models/waf_firewall.rb +1 -1
  907. data/lib/fastly/models/waf_firewall_data.rb +1 -1
  908. data/lib/fastly/models/waf_firewall_data_attributes.rb +1 -1
  909. data/lib/fastly/models/waf_firewall_response.rb +1 -1
  910. data/lib/fastly/models/waf_firewall_response_data.rb +1 -1
  911. data/lib/fastly/models/waf_firewall_response_data_all_of.rb +1 -1
  912. data/lib/fastly/models/waf_firewall_response_data_attributes.rb +1 -1
  913. data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +1 -1
  914. data/lib/fastly/models/waf_firewall_version.rb +1 -1
  915. data/lib/fastly/models/waf_firewall_version_data.rb +1 -1
  916. data/lib/fastly/models/waf_firewall_version_data_attributes.rb +1 -1
  917. data/lib/fastly/models/waf_firewall_version_response.rb +1 -1
  918. data/lib/fastly/models/waf_firewall_version_response_data.rb +1 -1
  919. data/lib/fastly/models/waf_firewall_version_response_data_all_of.rb +1 -1
  920. data/lib/fastly/models/waf_firewall_version_response_data_attributes.rb +1 -1
  921. data/lib/fastly/models/waf_firewall_version_response_data_attributes_all_of.rb +1 -1
  922. data/lib/fastly/models/waf_firewall_versions_response.rb +1 -1
  923. data/lib/fastly/models/waf_firewall_versions_response_all_of.rb +1 -1
  924. data/lib/fastly/models/waf_firewalls_response.rb +1 -1
  925. data/lib/fastly/models/waf_firewalls_response_all_of.rb +1 -1
  926. data/lib/fastly/models/waf_rule.rb +1 -1
  927. data/lib/fastly/models/waf_rule_attributes.rb +1 -1
  928. data/lib/fastly/models/waf_rule_response.rb +1 -1
  929. data/lib/fastly/models/waf_rule_response_data.rb +1 -1
  930. data/lib/fastly/models/waf_rule_response_data_all_of.rb +1 -1
  931. data/lib/fastly/models/waf_rule_revision.rb +1 -1
  932. data/lib/fastly/models/waf_rule_revision_attributes.rb +1 -1
  933. data/lib/fastly/models/waf_rule_revision_or_latest.rb +1 -1
  934. data/lib/fastly/models/waf_rule_revision_response.rb +1 -1
  935. data/lib/fastly/models/waf_rule_revision_response_data.rb +1 -1
  936. data/lib/fastly/models/waf_rule_revision_response_data_all_of.rb +1 -1
  937. data/lib/fastly/models/waf_rule_revisions_response.rb +1 -1
  938. data/lib/fastly/models/waf_rule_revisions_response_all_of.rb +1 -1
  939. data/lib/fastly/models/waf_rules_response.rb +1 -1
  940. data/lib/fastly/models/waf_rules_response_all_of.rb +1 -1
  941. data/lib/fastly/models/waf_tag.rb +1 -1
  942. data/lib/fastly/models/waf_tag_attributes.rb +1 -1
  943. data/lib/fastly/models/waf_tags_response.rb +1 -1
  944. data/lib/fastly/models/waf_tags_response_all_of.rb +1 -1
  945. data/lib/fastly/models/waf_tags_response_data_item.rb +1 -1
  946. data/lib/fastly/models/ws_message_format.rb +1 -1
  947. data/lib/fastly/version.rb +2 -2
  948. data/lib/fastly.rb +5 -1
  949. data/sig.json +1 -1
  950. metadata +11 -3
@@ -0,0 +1,385 @@
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 DefaultSettings
16
+ # The type of filter to use while resizing an image.
17
+ attr_accessor :resize_filter
18
+
19
+ # Controls whether or not to default to WebP output when the client supports it. This is equivalent to adding \"auto=webp\" to all image optimizer requests.
20
+ attr_accessor :webp
21
+
22
+ # The default quality to use with WebP output. This can be overridden with the second option in the \"quality\" URL parameter on specific image optimizer requests.
23
+ attr_accessor :webp_quality
24
+
25
+ # The default type of JPEG output to use. This can be overridden with \"format=bjpeg\" and \"format=pjpeg\" on specific image optimizer requests.
26
+ attr_accessor :jpeg_type
27
+
28
+ # The default quality to use with JPEG output. This can be overridden with the \"quality\" parameter on specific image optimizer requests.
29
+ attr_accessor :jpeg_quality
30
+
31
+ # Whether or not we should allow output images to render at sizes larger than input.
32
+ attr_accessor :upscale
33
+
34
+ # Enables GIF to MP4 transformations on this service.
35
+ attr_accessor :allow_video
36
+
37
+ class EnumAttributeValidator
38
+ attr_reader :datatype
39
+ attr_reader :allowable_values
40
+
41
+ def initialize(datatype, allowable_values)
42
+ @allowable_values = allowable_values.map do |value|
43
+ case datatype.to_s
44
+ when /Integer/i
45
+ value.to_i
46
+ when /Float/i
47
+ value.to_f
48
+ else
49
+ value
50
+ end
51
+ end
52
+ end
53
+
54
+ def valid?(value)
55
+ !value || allowable_values.include?(value)
56
+ end
57
+ end
58
+
59
+ # Attribute mapping from ruby-style variable name to JSON key.
60
+ def self.attribute_map
61
+ {
62
+ :'resize_filter' => :'resize_filter',
63
+ :'webp' => :'webp',
64
+ :'webp_quality' => :'webp_quality',
65
+ :'jpeg_type' => :'jpeg_type',
66
+ :'jpeg_quality' => :'jpeg_quality',
67
+ :'upscale' => :'upscale',
68
+ :'allow_video' => :'allow_video'
69
+ }
70
+ end
71
+
72
+ # Returns all the JSON keys this model knows about
73
+ def self.acceptable_attributes
74
+ attribute_map.values
75
+ end
76
+
77
+ # Attribute type mapping.
78
+ def self.fastly_types
79
+ {
80
+ :'resize_filter' => :'String',
81
+ :'webp' => :'Boolean',
82
+ :'webp_quality' => :'Integer',
83
+ :'jpeg_type' => :'String',
84
+ :'jpeg_quality' => :'Integer',
85
+ :'upscale' => :'Boolean',
86
+ :'allow_video' => :'Boolean'
87
+ }
88
+ end
89
+
90
+ # List of attributes with nullable: true
91
+ def self.fastly_nullable
92
+ Set.new([
93
+ ])
94
+ end
95
+
96
+ # Initializes the object
97
+ # @param [Hash] attributes Model attributes in the form of hash
98
+ def initialize(attributes = {})
99
+ if (!attributes.is_a?(Hash))
100
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::DefaultSettings` initialize method"
101
+ end
102
+
103
+ # check to see if the attribute exists and convert string to symbol for hash key
104
+ attributes = attributes.each_with_object({}) { |(k, v), h|
105
+ if (!self.class.attribute_map.key?(k.to_sym))
106
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::DefaultSettings`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
107
+ end
108
+ h[k.to_sym] = v
109
+ }
110
+
111
+ if attributes.key?(:'resize_filter')
112
+ self.resize_filter = attributes[:'resize_filter']
113
+ else
114
+ self.resize_filter = 'lanczos3'
115
+ end
116
+
117
+ if attributes.key?(:'webp')
118
+ self.webp = attributes[:'webp']
119
+ else
120
+ self.webp = false
121
+ end
122
+
123
+ if attributes.key?(:'webp_quality')
124
+ self.webp_quality = attributes[:'webp_quality']
125
+ else
126
+ self.webp_quality = 85
127
+ end
128
+
129
+ if attributes.key?(:'jpeg_type')
130
+ self.jpeg_type = attributes[:'jpeg_type']
131
+ else
132
+ self.jpeg_type = 'auto'
133
+ end
134
+
135
+ if attributes.key?(:'jpeg_quality')
136
+ self.jpeg_quality = attributes[:'jpeg_quality']
137
+ else
138
+ self.jpeg_quality = 85
139
+ end
140
+
141
+ if attributes.key?(:'upscale')
142
+ self.upscale = attributes[:'upscale']
143
+ else
144
+ self.upscale = false
145
+ end
146
+
147
+ if attributes.key?(:'allow_video')
148
+ self.allow_video = attributes[:'allow_video']
149
+ else
150
+ self.allow_video = false
151
+ end
152
+ end
153
+
154
+ # Show invalid properties with the reasons. Usually used together with valid?
155
+ # @return Array for valid properties with the reasons
156
+ def list_invalid_properties
157
+ invalid_properties = Array.new
158
+ if !@webp_quality.nil? && @webp_quality > 100
159
+ invalid_properties.push('invalid value for "webp_quality", must be smaller than or equal to 100.')
160
+ end
161
+
162
+ if !@webp_quality.nil? && @webp_quality < 1
163
+ invalid_properties.push('invalid value for "webp_quality", must be greater than or equal to 1.')
164
+ end
165
+
166
+ if !@jpeg_quality.nil? && @jpeg_quality > 100
167
+ invalid_properties.push('invalid value for "jpeg_quality", must be smaller than or equal to 100.')
168
+ end
169
+
170
+ if !@jpeg_quality.nil? && @jpeg_quality < 1
171
+ invalid_properties.push('invalid value for "jpeg_quality", must be greater than or equal to 1.')
172
+ end
173
+
174
+ invalid_properties
175
+ end
176
+
177
+ # Check to see if the all the properties in the model are valid
178
+ # @return true if the model is valid
179
+ def valid?
180
+ resize_filter_validator = EnumAttributeValidator.new('String', ["lanczos3", "lanczos2", "bicubic", "bilinear", "nearest"])
181
+ return false unless resize_filter_validator.valid?(@resize_filter)
182
+ return false if !@webp_quality.nil? && @webp_quality > 100
183
+ return false if !@webp_quality.nil? && @webp_quality < 1
184
+ jpeg_type_validator = EnumAttributeValidator.new('String', ["auto", "baseline", "progressive"])
185
+ return false unless jpeg_type_validator.valid?(@jpeg_type)
186
+ return false if !@jpeg_quality.nil? && @jpeg_quality > 100
187
+ return false if !@jpeg_quality.nil? && @jpeg_quality < 1
188
+ true
189
+ end
190
+
191
+ # Custom attribute writer method checking allowed values (enum).
192
+ # @param [Object] resize_filter Object to be assigned
193
+ def resize_filter=(resize_filter)
194
+ validator = EnumAttributeValidator.new('String', ["lanczos3", "lanczos2", "bicubic", "bilinear", "nearest"])
195
+ unless validator.valid?(resize_filter)
196
+ fail ArgumentError, "invalid value for \"resize_filter\", must be one of #{validator.allowable_values}."
197
+ end
198
+ @resize_filter = resize_filter
199
+ end
200
+
201
+ # Custom attribute writer method with validation
202
+ # @param [Object] webp_quality Value to be assigned
203
+ def webp_quality=(webp_quality)
204
+ if !webp_quality.nil? && webp_quality > 100
205
+ fail ArgumentError, 'invalid value for "webp_quality", must be smaller than or equal to 100.'
206
+ end
207
+
208
+ if !webp_quality.nil? && webp_quality < 1
209
+ fail ArgumentError, 'invalid value for "webp_quality", must be greater than or equal to 1.'
210
+ end
211
+
212
+ @webp_quality = webp_quality
213
+ end
214
+
215
+ # Custom attribute writer method checking allowed values (enum).
216
+ # @param [Object] jpeg_type Object to be assigned
217
+ def jpeg_type=(jpeg_type)
218
+ validator = EnumAttributeValidator.new('String', ["auto", "baseline", "progressive"])
219
+ unless validator.valid?(jpeg_type)
220
+ fail ArgumentError, "invalid value for \"jpeg_type\", must be one of #{validator.allowable_values}."
221
+ end
222
+ @jpeg_type = jpeg_type
223
+ end
224
+
225
+ # Custom attribute writer method with validation
226
+ # @param [Object] jpeg_quality Value to be assigned
227
+ def jpeg_quality=(jpeg_quality)
228
+ if !jpeg_quality.nil? && jpeg_quality > 100
229
+ fail ArgumentError, 'invalid value for "jpeg_quality", must be smaller than or equal to 100.'
230
+ end
231
+
232
+ if !jpeg_quality.nil? && jpeg_quality < 1
233
+ fail ArgumentError, 'invalid value for "jpeg_quality", must be greater than or equal to 1.'
234
+ end
235
+
236
+ @jpeg_quality = jpeg_quality
237
+ end
238
+
239
+ # Checks equality by comparing each attribute.
240
+ # @param [Object] Object to be compared
241
+ def ==(o)
242
+ return true if self.equal?(o)
243
+ self.class == o.class &&
244
+ resize_filter == o.resize_filter &&
245
+ webp == o.webp &&
246
+ webp_quality == o.webp_quality &&
247
+ jpeg_type == o.jpeg_type &&
248
+ jpeg_quality == o.jpeg_quality &&
249
+ upscale == o.upscale &&
250
+ allow_video == o.allow_video
251
+ end
252
+
253
+ # @see the `==` method
254
+ # @param [Object] Object to be compared
255
+ def eql?(o)
256
+ self == o
257
+ end
258
+
259
+ # Calculates hash code according to all attributes.
260
+ # @return [Integer] Hash code
261
+ def hash
262
+ [resize_filter, webp, webp_quality, jpeg_type, jpeg_quality, upscale, allow_video].hash
263
+ end
264
+
265
+ # Builds the object from hash
266
+ # @param [Hash] attributes Model attributes in the form of hash
267
+ # @return [Object] Returns the model itself
268
+ def self.build_from_hash(attributes)
269
+ new.build_from_hash(attributes)
270
+ end
271
+
272
+ # Builds the object from hash
273
+ # @param [Hash] attributes Model attributes in the form of hash
274
+ # @return [Object] Returns the model itself
275
+ def build_from_hash(attributes)
276
+ return nil unless attributes.is_a?(Hash)
277
+ self.class.fastly_types.each_pair do |key, type|
278
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
279
+ self.send("#{key}=", nil)
280
+ elsif type =~ /\AArray<(.*)>/i
281
+ # check to ensure the input is an array given that the attribute
282
+ # is documented as an array but the input is not
283
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
284
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
285
+ end
286
+ elsif !attributes[self.class.attribute_map[key]].nil?
287
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
288
+ end
289
+ end
290
+
291
+ self
292
+ end
293
+
294
+ # Deserializes the data based on type
295
+ # @param string type Data type
296
+ # @param string value Value to be deserialized
297
+ # @return [Object] Deserialized data
298
+ def _deserialize(type, value)
299
+ case type.to_sym
300
+ when :Time
301
+ Time.parse(value)
302
+ when :Date
303
+ Date.parse(value)
304
+ when :String
305
+ value.to_s
306
+ when :Integer
307
+ value.to_i
308
+ when :Float
309
+ value.to_f
310
+ when :Boolean
311
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
312
+ true
313
+ else
314
+ false
315
+ end
316
+ when :Object
317
+ # generic object (usually a Hash), return directly
318
+ value
319
+ when /\AArray<(?<inner_type>.+)>\z/
320
+ inner_type = Regexp.last_match[:inner_type]
321
+ value.map { |v| _deserialize(inner_type, v) }
322
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
323
+ k_type = Regexp.last_match[:k_type]
324
+ v_type = Regexp.last_match[:v_type]
325
+ {}.tap do |hash|
326
+ value.each do |k, v|
327
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
328
+ end
329
+ end
330
+ else # model
331
+ # models (e.g. Pet) or oneOf
332
+ klass = Fastly.const_get(type)
333
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
334
+ end
335
+ end
336
+
337
+ # Returns the string representation of the object
338
+ # @return [String] String presentation of the object
339
+ def to_s
340
+ to_hash.to_s
341
+ end
342
+
343
+ # to_body is an alias to to_hash (backward compatibility)
344
+ # @return [Hash] Returns the object in the form of hash
345
+ def to_body
346
+ to_hash
347
+ end
348
+
349
+ # Returns the object in the form of hash
350
+ # @return [Hash] Returns the object in the form of hash
351
+ def to_hash
352
+ hash = {}
353
+ self.class.attribute_map.each_pair do |attr, param|
354
+ value = self.send(attr)
355
+ if value.nil?
356
+ is_nullable = self.class.fastly_nullable.include?(attr)
357
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
358
+ end
359
+
360
+ hash[param] = _to_hash(value)
361
+ end
362
+ hash
363
+ end
364
+
365
+ # Outputs non-array value in the form of hash
366
+ # For object, use to_hash. Otherwise, just return the value
367
+ # @param [Object] value Any valid value
368
+ # @return [Hash] Returns the value in the form of hash
369
+ def _to_hash(value)
370
+ if value.is_a?(Array)
371
+ value.compact.map { |v| _to_hash(v) }
372
+ elsif value.is_a?(Hash)
373
+ {}.tap do |hash|
374
+ value.each { |k, v| hash[k] = _to_hash(v) }
375
+ end
376
+ elsif value.respond_to? :to_hash
377
+ value.to_hash
378
+ else
379
+ value
380
+ end
381
+ end
382
+
383
+ end
384
+
385
+ end
@@ -0,0 +1,234 @@
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 DefaultSettingsError
16
+ attr_accessor :title
17
+
18
+ attr_accessor :type
19
+
20
+ attr_accessor :detail
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'title' => :'title',
26
+ :'type' => :'type',
27
+ :'detail' => :'detail'
28
+ }
29
+ end
30
+
31
+ # Returns all the JSON keys this model knows about
32
+ def self.acceptable_attributes
33
+ attribute_map.values
34
+ end
35
+
36
+ # Attribute type mapping.
37
+ def self.fastly_types
38
+ {
39
+ :'title' => :'String',
40
+ :'type' => :'String',
41
+ :'detail' => :'String'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.fastly_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ if (!attributes.is_a?(Hash))
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::DefaultSettingsError` initialize method"
56
+ end
57
+
58
+ # check to see if the attribute exists and convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h|
60
+ if (!self.class.attribute_map.key?(k.to_sym))
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::DefaultSettingsError`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ end
63
+ h[k.to_sym] = v
64
+ }
65
+
66
+ if attributes.key?(:'title')
67
+ self.title = attributes[:'title']
68
+ end
69
+
70
+ if attributes.key?(:'type')
71
+ self.type = attributes[:'type']
72
+ end
73
+
74
+ if attributes.key?(:'detail')
75
+ self.detail = attributes[:'detail']
76
+ end
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properties with the reasons
81
+ def list_invalid_properties
82
+ invalid_properties = Array.new
83
+ invalid_properties
84
+ end
85
+
86
+ # Check to see if the all the properties in the model are valid
87
+ # @return true if the model is valid
88
+ def valid?
89
+ true
90
+ end
91
+
92
+ # Checks equality by comparing each attribute.
93
+ # @param [Object] Object to be compared
94
+ def ==(o)
95
+ return true if self.equal?(o)
96
+ self.class == o.class &&
97
+ title == o.title &&
98
+ type == o.type &&
99
+ detail == o.detail
100
+ end
101
+
102
+ # @see the `==` method
103
+ # @param [Object] Object to be compared
104
+ def eql?(o)
105
+ self == o
106
+ end
107
+
108
+ # Calculates hash code according to all attributes.
109
+ # @return [Integer] Hash code
110
+ def hash
111
+ [title, type, detail].hash
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 self.build_from_hash(attributes)
118
+ new.build_from_hash(attributes)
119
+ end
120
+
121
+ # Builds the object from hash
122
+ # @param [Hash] attributes Model attributes in the form of hash
123
+ # @return [Object] Returns the model itself
124
+ def build_from_hash(attributes)
125
+ return nil unless attributes.is_a?(Hash)
126
+ self.class.fastly_types.each_pair do |key, type|
127
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
128
+ self.send("#{key}=", nil)
129
+ elsif type =~ /\AArray<(.*)>/i
130
+ # check to ensure the input is an array given that the attribute
131
+ # is documented as an array but the input is not
132
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
133
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
134
+ end
135
+ elsif !attributes[self.class.attribute_map[key]].nil?
136
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
137
+ end
138
+ end
139
+
140
+ self
141
+ end
142
+
143
+ # Deserializes the data based on type
144
+ # @param string type Data type
145
+ # @param string value Value to be deserialized
146
+ # @return [Object] Deserialized data
147
+ def _deserialize(type, value)
148
+ case type.to_sym
149
+ when :Time
150
+ Time.parse(value)
151
+ when :Date
152
+ Date.parse(value)
153
+ when :String
154
+ value.to_s
155
+ when :Integer
156
+ value.to_i
157
+ when :Float
158
+ value.to_f
159
+ when :Boolean
160
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
161
+ true
162
+ else
163
+ false
164
+ end
165
+ when :Object
166
+ # generic object (usually a Hash), return directly
167
+ value
168
+ when /\AArray<(?<inner_type>.+)>\z/
169
+ inner_type = Regexp.last_match[:inner_type]
170
+ value.map { |v| _deserialize(inner_type, v) }
171
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
172
+ k_type = Regexp.last_match[:k_type]
173
+ v_type = Regexp.last_match[:v_type]
174
+ {}.tap do |hash|
175
+ value.each do |k, v|
176
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
177
+ end
178
+ end
179
+ else # model
180
+ # models (e.g. Pet) or oneOf
181
+ klass = Fastly.const_get(type)
182
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
183
+ end
184
+ end
185
+
186
+ # Returns the string representation of the object
187
+ # @return [String] String presentation of the object
188
+ def to_s
189
+ to_hash.to_s
190
+ end
191
+
192
+ # to_body is an alias to to_hash (backward compatibility)
193
+ # @return [Hash] Returns the object in the form of hash
194
+ def to_body
195
+ to_hash
196
+ end
197
+
198
+ # Returns the object in the form of hash
199
+ # @return [Hash] Returns the object in the form of hash
200
+ def to_hash
201
+ hash = {}
202
+ self.class.attribute_map.each_pair do |attr, param|
203
+ value = self.send(attr)
204
+ if value.nil?
205
+ is_nullable = self.class.fastly_nullable.include?(attr)
206
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
207
+ end
208
+
209
+ hash[param] = _to_hash(value)
210
+ end
211
+ hash
212
+ end
213
+
214
+ # Outputs non-array value in the form of hash
215
+ # For object, use to_hash. Otherwise, just return the value
216
+ # @param [Object] value Any valid value
217
+ # @return [Hash] Returns the value in the form of hash
218
+ def _to_hash(value)
219
+ if value.is_a?(Array)
220
+ value.compact.map { |v| _to_hash(v) }
221
+ elsif value.is_a?(Hash)
222
+ {}.tap do |hash|
223
+ value.each { |k, v| hash[k] = _to_hash(v) }
224
+ end
225
+ elsif value.respond_to? :to_hash
226
+ value.to_hash
227
+ else
228
+ value
229
+ end
230
+ end
231
+
232
+ end
233
+
234
+ end