fastly 7.0.0 → 8.10.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 (1178) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +394 -130
  3. data/Gemfile.lock +4 -3
  4. data/README.md +90 -19
  5. data/docs/AclApi.md +10 -7
  6. data/docs/AclEntryApi.md +11 -8
  7. data/docs/AclsInComputeApi.md +284 -0
  8. data/docs/ApexRedirectApi.md +10 -7
  9. data/docs/AsyncResponse.md +11 -0
  10. data/docs/{ErrorResponse.md → AutomationTokenErrorResponse.md} +1 -1
  11. data/docs/AutomationTokensApi.md +12 -9
  12. data/docs/Backend.md +8 -3
  13. data/docs/BackendApi.md +42 -19
  14. data/docs/BackendResponse.md +8 -3
  15. data/docs/Billing.md +1 -2
  16. data/docs/BillingAddressApi.md +9 -6
  17. data/docs/BillingApi.md +10 -7
  18. data/docs/{HistoricalFieldAggregateResponseAllOf.md → BillingBandwidth.md} +3 -2
  19. data/docs/BillingBandwidthTiers.md +14 -0
  20. data/docs/BillingEstimateInvoiceId.md +10 -0
  21. data/docs/BillingEstimateResponse.md +2 -2
  22. data/docs/{LineItemDataReadOnlyInvoiceId.md → BillingInvoiceId.md} +2 -1
  23. data/docs/BillingInvoicesApi.md +132 -0
  24. data/docs/BillingRegions.md +13 -0
  25. data/docs/BillingResponse.md +2 -2
  26. data/docs/BillingResponseLineItem.md +1 -1
  27. data/docs/BillingUsageMetricsApi.md +111 -0
  28. data/docs/CacheSettingsApi.md +10 -7
  29. data/docs/ComputeAclCreateAclsRequest.md +10 -0
  30. data/docs/ComputeAclCreateAclsResponse.md +11 -0
  31. data/docs/ComputeAclListEntries.md +11 -0
  32. data/docs/ComputeAclListEntriesItem.md +11 -0
  33. data/docs/ComputeAclListEntriesMeta.md +11 -0
  34. data/docs/ComputeAclLookup.md +12 -0
  35. data/docs/ComputeAclUpdateEntry.md +12 -0
  36. data/docs/ConditionApi.md +10 -7
  37. data/docs/ConfigStoreApi.md +20 -12
  38. data/docs/ConfigStoreItemApi.md +12 -9
  39. data/docs/ConfiguredProductResponse.md +13 -0
  40. data/docs/ConfiguredProductResponseConfiguration.md +11 -0
  41. data/docs/ConfiguredProductResponseLinks.md +11 -0
  42. data/docs/ConfiguredProductResponseProduct.md +11 -0
  43. data/docs/ContactApi.md +8 -5
  44. data/docs/ContentApi.md +7 -4
  45. data/docs/CreateDashboardRequest.md +12 -0
  46. data/docs/CreateResponseObjectRequest.md +16 -0
  47. data/docs/CustomerAddress.md +16 -0
  48. data/docs/CustomerAddressesApi.md +127 -0
  49. data/docs/CustomerApi.md +10 -7
  50. data/docs/Dashboard.md +17 -0
  51. data/docs/DashboardItem.md +15 -0
  52. data/docs/DashboardItemPropertyDataSource.md +11 -0
  53. data/docs/DashboardItemPropertyDataSourcePropertyConfig.md +10 -0
  54. data/docs/DashboardItemPropertyVisualization.md +11 -0
  55. data/docs/DashboardItemPropertyVisualizationPropertyConfig.md +12 -0
  56. data/docs/{SubsequentRequestTimestamp.md → DashboardPropertyCreatedBy.md} +1 -1
  57. data/docs/DashboardPropertyUpdatedBy.md +9 -0
  58. data/docs/DefaultSettings.md +16 -0
  59. data/docs/DefaultSettingsError.md +12 -0
  60. data/docs/DefaultSettingsResponse.md +16 -0
  61. data/docs/DictionaryApi.md +10 -7
  62. data/docs/DictionaryInfoApi.md +6 -3
  63. data/docs/DictionaryItemApi.md +12 -9
  64. data/docs/DiffApi.md +6 -3
  65. data/docs/Director.md +1 -1
  66. data/docs/DirectorApi.md +12 -9
  67. data/docs/DirectorBackendApi.md +8 -5
  68. data/docs/DirectorResponse.md +1 -1
  69. data/docs/DomainApi.md +12 -9
  70. data/docs/DomainInspector.md +1 -1
  71. data/docs/DomainInspectorHistoricalApi.md +10 -7
  72. data/docs/DomainInspectorMeasurements.md +1 -1
  73. data/docs/DomainInspectorRealtimeApi.md +8 -5
  74. data/docs/DomainInspectorRealtimeEntry.md +2 -2
  75. data/docs/DomainOwnershipsApi.md +6 -3
  76. data/docs/EnabledProductsApi.md +98 -11
  77. data/docs/Environment.md +12 -0
  78. data/docs/{ReadOnlyIdService.md → EnvironmentName.md} +1 -1
  79. data/docs/EomInvoiceResponse.md +18 -0
  80. data/docs/Error.md +13 -0
  81. data/docs/ErrorResponseData.md +11 -0
  82. data/docs/EventsApi.md +15 -4
  83. data/docs/GetServiceLevelUsageResponse.md +10 -0
  84. data/docs/GetServiceLevelUsageTypesResponse.md +10 -0
  85. data/docs/GzipApi.md +10 -7
  86. data/docs/HeaderApi.md +10 -7
  87. data/docs/HealthcheckApi.md +10 -7
  88. data/docs/HistoricalApi.md +26 -23
  89. data/docs/{HistoricalFieldAggregateResponse.md → HistoricalDdos.md} +3 -3
  90. data/docs/HistoricalDdosMeta.md +13 -0
  91. data/docs/{HistoricalAggregateResponse.md → HistoricalStatsAggregatedResponse.md} +1 -1
  92. data/docs/{HistoricalAggregateResponseAllOf.md → HistoricalStatsAggregatedResponseAllOf.md} +1 -1
  93. data/docs/{HistoricalResponse.md → HistoricalStatsByServiceResponse.md} +1 -1
  94. data/docs/{HistoricalResponseDataField.md → HistoricalStatsByServiceResponseAllOf.md} +1 -1
  95. data/docs/{HistoricalFieldResponse.md → HistoricalUsageAggregatedResponse.md} +2 -2
  96. data/docs/HistoricalUsageAggregatedResponseAllOf.md +10 -0
  97. data/docs/{HistoricalUsageResults.md → HistoricalUsageData.md} +1 -1
  98. data/docs/HistoricalUsageMonthResponseData.md +2 -2
  99. data/docs/{HistoricalService.md → HistoricalUsageService.md} +1 -1
  100. data/docs/HistoricalUsageServiceResponse.md +1 -1
  101. data/docs/HistoricalUsageServiceResponseAllOf.md +1 -1
  102. data/docs/Http3Api.md +8 -5
  103. data/docs/IamPermissionsApi.md +6 -3
  104. data/docs/IamRolesApi.md +13 -10
  105. data/docs/IamServiceGroupsApi.md +13 -10
  106. data/docs/IamUserGroupsApi.md +19 -16
  107. data/docs/ImageOptimizerDefaultSettingsApi.md +99 -0
  108. data/docs/IncludedWithTlsConfiguration.md +10 -0
  109. data/docs/IncludedWithTlsConfigurationItem.md +12 -0
  110. data/docs/InlineResponse201.md +10 -0
  111. data/docs/InvitationsApi.md +8 -5
  112. data/docs/Invoice.md +18 -0
  113. data/docs/Invoicelineitems.md +19 -0
  114. data/docs/KvStoreApi.md +21 -18
  115. data/docs/KvStoreItemApi.md +9 -6
  116. data/docs/LegacyWafConfigurationSetsApi.md +8 -5
  117. data/docs/LegacyWafFirewallApi.md +13 -10
  118. data/docs/LegacyWafOwaspApi.md +8 -5
  119. data/docs/LegacyWafRuleApi.md +9 -6
  120. data/docs/LegacyWafRuleStatusApi.md +9 -6
  121. data/docs/LegacyWafRulesetApi.md +8 -5
  122. data/docs/LegacyWafTagApi.md +6 -3
  123. data/docs/LegacyWafUpdateStatusApi.md +7 -4
  124. data/docs/LineItemData.md +1 -1
  125. data/docs/ListCustomerAddressesResponse.md +10 -0
  126. data/docs/ListDashboardsResponse.md +11 -0
  127. data/docs/ListEomInvoicesResponse.md +11 -0
  128. data/docs/Listinvoices.md +11 -0
  129. data/docs/LoggingAzureblobApi.md +10 -7
  130. data/docs/LoggingBigqueryApi.md +10 -7
  131. data/docs/LoggingCloudfilesApi.md +10 -7
  132. data/docs/LoggingDatadogApi.md +10 -7
  133. data/docs/LoggingDigitaloceanApi.md +10 -7
  134. data/docs/LoggingElasticsearchApi.md +10 -7
  135. data/docs/LoggingFtpApi.md +10 -7
  136. data/docs/LoggingGcsApi.md +10 -7
  137. data/docs/LoggingHerokuApi.md +10 -7
  138. data/docs/LoggingHoneycombApi.md +10 -7
  139. data/docs/LoggingHttpsApi.md +10 -7
  140. data/docs/LoggingKafkaAdditional.md +1 -1
  141. data/docs/LoggingKafkaApi.md +12 -9
  142. data/docs/LoggingKafkaResponse.md +1 -1
  143. data/docs/LoggingKafkaResponsePost.md +1 -1
  144. data/docs/LoggingKinesisAdditional.md +1 -1
  145. data/docs/LoggingKinesisApi.md +12 -9
  146. data/docs/LoggingKinesisResponse.md +1 -1
  147. data/docs/LoggingLogentriesAdditional.md +2 -2
  148. data/docs/LoggingLogentriesApi.md +18 -15
  149. data/docs/LoggingLogentriesResponse.md +2 -2
  150. data/docs/LoggingLogglyApi.md +10 -7
  151. data/docs/LoggingLogshuttleApi.md +10 -7
  152. data/docs/LoggingNewrelicApi.md +10 -7
  153. data/docs/LoggingNewrelicotlpAdditional.md +13 -0
  154. data/docs/LoggingNewrelicotlpApi.md +255 -0
  155. data/docs/LoggingNewrelicotlpResponse.md +22 -0
  156. data/docs/LoggingOpenstackApi.md +10 -7
  157. data/docs/LoggingPapertrailApi.md +10 -7
  158. data/docs/LoggingPubsubApi.md +10 -7
  159. data/docs/LoggingS3Additional.md +1 -0
  160. data/docs/LoggingS3Api.md +14 -7
  161. data/docs/LoggingS3Response.md +1 -0
  162. data/docs/LoggingScalyrAdditional.md +1 -1
  163. data/docs/LoggingScalyrApi.md +14 -11
  164. data/docs/LoggingScalyrResponse.md +1 -1
  165. data/docs/LoggingSftpApi.md +10 -7
  166. data/docs/LoggingSplunkAdditional.md +1 -1
  167. data/docs/LoggingSplunkApi.md +14 -11
  168. data/docs/LoggingSplunkResponse.md +1 -1
  169. data/docs/LoggingSumologicApi.md +10 -7
  170. data/docs/LoggingSyslogAdditional.md +1 -1
  171. data/docs/LoggingSyslogApi.md +14 -11
  172. data/docs/LoggingSyslogResponse.md +1 -1
  173. data/docs/{RecordedTimestamp.md → LoggingUseTlsString.md} +1 -1
  174. data/docs/Metadata.md +13 -0
  175. data/docs/MtdInvoiceResponse.md +15 -0
  176. data/docs/Mtdinvoice.md +15 -0
  177. data/docs/Mtdlineitems.md +18 -0
  178. data/docs/MutualAuthenticationApi.md +10 -7
  179. data/docs/ObservabilityCustomDashboardsApi.md +203 -0
  180. data/docs/OriginInspector.md +1 -1
  181. data/docs/OriginInspectorHistoricalApi.md +10 -7
  182. data/docs/OriginInspectorMeasurements.md +38 -38
  183. data/docs/OriginInspectorRealtimeApi.md +8 -5
  184. data/docs/OriginInspectorRealtimeEntry.md +2 -2
  185. data/docs/OriginInspectorValues.md +38 -38
  186. data/docs/PackageApi.md +13 -10
  187. data/docs/PackageMetadata.md +6 -6
  188. data/docs/{OriginInspectorRealtimeEntryRecorded.md → PlatformDdosDataItems.md} +2 -1
  189. data/docs/PlatformDdosEntry.md +10 -0
  190. data/docs/{HistoricalUsageAggregateResponse.md → PlatformDdosResponse.md} +3 -3
  191. data/docs/PlatformDdosResponseAllOf.md +10 -0
  192. data/docs/PoolAdditional.md +1 -1
  193. data/docs/PoolApi.md +14 -11
  194. data/docs/PoolResponse.md +1 -1
  195. data/docs/PoolResponsePost.md +1 -1
  196. data/docs/Pop.md +2 -2
  197. data/docs/PopApi.md +6 -3
  198. data/docs/PublicIpListApi.md +6 -3
  199. data/docs/PublishApi.md +7 -4
  200. data/docs/PurgeApi.md +9 -6
  201. data/docs/RateLimiterApi.md +10 -7
  202. data/docs/RealtimeApi.md +8 -5
  203. data/docs/RealtimeEntry.md +1 -1
  204. data/docs/RealtimeEntryAggregated.md +46 -14
  205. data/docs/RealtimeMeasurements.md +46 -14
  206. data/docs/RelationshipCustomerCustomer.md +1 -1
  207. data/docs/RelationshipDefaultEcdsaTlsCertificate.md +10 -0
  208. data/docs/RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificate.md +10 -0
  209. data/docs/RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificateData.md +11 -0
  210. data/docs/RelationshipDefaultTlsCertificate.md +10 -0
  211. data/docs/RelationshipDefaultTlsCertificateDefaultCertificate.md +10 -0
  212. data/docs/RelationshipDefaultTlsCertificateDefaultCertificateData.md +11 -0
  213. data/docs/RelationshipTlsDnsRecordsRequest.md +10 -0
  214. data/docs/RelationshipTlsDnsRecordsRequestDnsRecords.md +10 -0
  215. data/docs/RelationshipTlsDnsRecordsRequestDnsRecordsData.md +11 -0
  216. data/docs/RelationshipTlsDnsRecordsResponse.md +10 -0
  217. data/docs/RelationshipTlsDnsRecordsResponseDnsRecords.md +10 -0
  218. data/docs/{RelationshipMemberTlsDnsRecord.md → RelationshipTlsDnsRecordsResponseDnsRecordsData.md} +1 -1
  219. data/docs/RequestSettingsApi.md +10 -7
  220. data/docs/ResourceApi.md +10 -7
  221. data/docs/ResourceResponse.md +1 -1
  222. data/docs/ResourceResponseAllOf.md +1 -1
  223. data/docs/ResponseObjectApi.md +14 -7
  224. data/docs/Results.md +49 -13
  225. data/docs/SchemasSnippetResponse.md +1 -1
  226. data/docs/SchemasSnippetResponseCommon.md +15 -0
  227. data/docs/SchemasVersionResponse.md +1 -0
  228. data/docs/SecretStoreApi.md +17 -12
  229. data/docs/SecretStoreItemApi.md +13 -10
  230. data/docs/ServerApi.md +10 -7
  231. data/docs/ServiceApi.md +13 -10
  232. data/docs/ServiceAuthorizationsApi.md +12 -9
  233. data/docs/ServiceDetail.md +2 -1
  234. data/docs/ServiceListResponse.md +3 -2
  235. data/docs/ServiceListResponseAllOf.md +3 -2
  236. data/docs/ServiceResponse.md +2 -1
  237. data/docs/ServiceResponseAllOf.md +2 -1
  238. data/docs/ServiceVersionDetail.md +1 -0
  239. data/docs/ServiceVersionDetailOrNull.md +1 -0
  240. data/docs/Serviceusagemetric.md +13 -0
  241. data/docs/Serviceusagemetrics.md +10 -0
  242. data/docs/ServiceusagemetricsData.md +16 -0
  243. data/docs/Serviceusagetype.md +11 -0
  244. data/docs/Serviceusagetypes.md +10 -0
  245. data/docs/SetConfiguration.md +11 -0
  246. data/docs/SetWorkspaceId.md +10 -0
  247. data/docs/SettingsApi.md +7 -4
  248. data/docs/Snippet.md +1 -1
  249. data/docs/SnippetAllOf.md +10 -0
  250. data/docs/SnippetApi.md +18 -15
  251. data/docs/SnippetCommon.md +13 -0
  252. data/docs/SnippetResponse.md +1 -1
  253. data/docs/SnippetResponseCommon.md +15 -0
  254. data/docs/{SnippetResponseAllOf.md → SnippetResponseCommonAllOf.md} +1 -1
  255. data/docs/SnippetResponsePost.md +20 -0
  256. data/docs/SnippetWithDynamicNumber.md +14 -0
  257. data/docs/SnippetWithDynamicNumberAllOf.md +10 -0
  258. data/docs/StarApi.md +9 -6
  259. data/docs/StatsApi.md +6 -3
  260. data/docs/SudoApi.md +6 -3
  261. data/docs/TlsActivationsApi.md +10 -7
  262. data/docs/TlsBulkCertificatesApi.md +10 -7
  263. data/docs/TlsCertificateBlobResponse.md +10 -0
  264. data/docs/TlsCertificatesApi.md +50 -9
  265. data/docs/TlsConfigurationResponseAttributes.md +2 -2
  266. data/docs/TlsConfigurationResponseAttributesAllOf.md +2 -2
  267. data/docs/TlsConfigurationsApi.md +8 -5
  268. data/docs/{OriginInspectorSubsequentRequestTimestamp.md → TlsCsr.md} +2 -1
  269. data/docs/TlsCsrData.md +12 -0
  270. data/docs/TlsCsrDataAttributes.md +20 -0
  271. data/docs/TlsCsrErrorResponse.md +10 -0
  272. data/docs/{HistoricalFieldResponseDataField.md → TlsCsrResponse.md} +2 -2
  273. data/docs/TlsCsrResponseAttributes.md +10 -0
  274. data/docs/TlsCsrResponseData.md +13 -0
  275. data/docs/TlsCsrsApi.md +55 -0
  276. data/docs/TlsDnsRecord.md +1 -2
  277. data/docs/TlsDomainsApi.md +10 -7
  278. data/docs/TlsPrivateKeysApi.md +9 -6
  279. data/docs/TlsSubscriptionDataAttributes.md +1 -1
  280. data/docs/TlsSubscriptionResponseAttributes.md +1 -0
  281. data/docs/TlsSubscriptionResponseAttributesAllOf.md +1 -0
  282. data/docs/TlsSubscriptionsApi.md +20 -15
  283. data/docs/TokensApi.md +14 -11
  284. data/docs/{LoggingUseTls.md → TypeTlsCsr.md} +1 -1
  285. data/docs/UpdateDashboardRequest.md +12 -0
  286. data/docs/UserApi.md +12 -9
  287. data/docs/Values.md +1 -1
  288. data/docs/ValuesDdos.md +15 -0
  289. data/docs/VclApi.md +19 -16
  290. data/docs/VclDiffApi.md +6 -3
  291. data/docs/VersionApi.md +98 -11
  292. data/docs/VersionResponse.md +1 -0
  293. data/docs/VersionResponseAllOf.md +1 -0
  294. data/docs/WafActiveRulesApi.md +14 -11
  295. data/docs/WafExclusionsApi.md +10 -7
  296. data/docs/WafFirewallVersionsApi.md +11 -8
  297. data/docs/WafFirewallsApi.md +10 -7
  298. data/docs/WafRuleRevisionsApi.md +7 -4
  299. data/docs/WafRulesApi.md +7 -4
  300. data/docs/WafTagsApi.md +6 -3
  301. data/docs/WholePlatformDdosHistoricalApi.md +59 -0
  302. data/fastly.gemspec +2 -2
  303. data/lib/fastly/api/acl_api.rb +1 -1
  304. data/lib/fastly/api/acl_entry_api.rb +1 -1
  305. data/lib/fastly/api/acls_in_compute_api.rb +470 -0
  306. data/lib/fastly/api/apex_redirect_api.rb +1 -1
  307. data/lib/fastly/api/automation_tokens_api.rb +4 -4
  308. data/lib/fastly/api/backend_api.rb +53 -13
  309. data/lib/fastly/api/billing_address_api.rb +1 -1
  310. data/lib/fastly/api/billing_api.rb +3 -3
  311. data/lib/fastly/api/billing_invoices_api.rb +207 -0
  312. data/lib/fastly/api/billing_usage_metrics_api.rb +213 -0
  313. data/lib/fastly/api/cache_settings_api.rb +1 -1
  314. data/lib/fastly/api/condition_api.rb +1 -1
  315. data/lib/fastly/api/config_store_api.rb +4 -1
  316. data/lib/fastly/api/config_store_item_api.rb +1 -1
  317. data/lib/fastly/api/contact_api.rb +2 -2
  318. data/lib/fastly/api/content_api.rb +3 -3
  319. data/lib/fastly/api/customer_addresses_api.rb +224 -0
  320. data/lib/fastly/api/customer_api.rb +1 -1
  321. data/lib/fastly/api/dictionary_api.rb +1 -1
  322. data/lib/fastly/api/dictionary_info_api.rb +1 -1
  323. data/lib/fastly/api/dictionary_item_api.rb +1 -1
  324. data/lib/fastly/api/diff_api.rb +1 -1
  325. data/lib/fastly/api/director_api.rb +3 -3
  326. data/lib/fastly/api/director_backend_api.rb +1 -1
  327. data/lib/fastly/api/domain_api.rb +1 -1
  328. data/lib/fastly/api/domain_inspector_historical_api.rb +5 -5
  329. data/lib/fastly/api/domain_inspector_realtime_api.rb +1 -1
  330. data/lib/fastly/api/domain_ownerships_api.rb +1 -1
  331. data/lib/fastly/api/enabled_products_api.rb +165 -11
  332. data/lib/fastly/api/events_api.rb +13 -1
  333. data/lib/fastly/api/gzip_api.rb +1 -1
  334. data/lib/fastly/api/header_api.rb +1 -1
  335. data/lib/fastly/api/healthcheck_api.rb +1 -1
  336. data/lib/fastly/api/historical_api.rb +19 -19
  337. data/lib/fastly/api/http3_api.rb +1 -1
  338. data/lib/fastly/api/iam_permissions_api.rb +1 -1
  339. data/lib/fastly/api/iam_roles_api.rb +1 -1
  340. data/lib/fastly/api/iam_service_groups_api.rb +1 -1
  341. data/lib/fastly/api/iam_user_groups_api.rb +1 -1
  342. data/lib/fastly/api/image_optimizer_default_settings_api.rb +167 -0
  343. data/lib/fastly/api/invitations_api.rb +1 -1
  344. data/lib/fastly/api/kv_store_api.rb +17 -17
  345. data/lib/fastly/api/kv_store_item_api.rb +1 -1
  346. data/lib/fastly/api/legacy_waf_configuration_sets_api.rb +1 -1
  347. data/lib/fastly/api/legacy_waf_firewall_api.rb +1 -1
  348. data/lib/fastly/api/legacy_waf_owasp_api.rb +1 -1
  349. data/lib/fastly/api/legacy_waf_rule_api.rb +1 -1
  350. data/lib/fastly/api/legacy_waf_rule_status_api.rb +1 -1
  351. data/lib/fastly/api/legacy_waf_ruleset_api.rb +1 -1
  352. data/lib/fastly/api/legacy_waf_tag_api.rb +1 -1
  353. data/lib/fastly/api/legacy_waf_update_status_api.rb +1 -1
  354. data/lib/fastly/api/logging_azureblob_api.rb +1 -1
  355. data/lib/fastly/api/logging_bigquery_api.rb +1 -1
  356. data/lib/fastly/api/logging_cloudfiles_api.rb +1 -1
  357. data/lib/fastly/api/logging_datadog_api.rb +3 -3
  358. data/lib/fastly/api/logging_digitalocean_api.rb +1 -1
  359. data/lib/fastly/api/logging_elasticsearch_api.rb +1 -1
  360. data/lib/fastly/api/logging_ftp_api.rb +1 -1
  361. data/lib/fastly/api/logging_gcs_api.rb +1 -1
  362. data/lib/fastly/api/logging_heroku_api.rb +1 -1
  363. data/lib/fastly/api/logging_honeycomb_api.rb +1 -1
  364. data/lib/fastly/api/logging_https_api.rb +1 -1
  365. data/lib/fastly/api/logging_kafka_api.rb +3 -3
  366. data/lib/fastly/api/logging_kinesis_api.rb +3 -3
  367. data/lib/fastly/api/logging_logentries_api.rb +9 -9
  368. data/lib/fastly/api/logging_loggly_api.rb +1 -1
  369. data/lib/fastly/api/logging_logshuttle_api.rb +1 -1
  370. data/lib/fastly/api/logging_newrelic_api.rb +1 -1
  371. data/lib/fastly/api/logging_newrelicotlp_api.rb +473 -0
  372. data/lib/fastly/api/logging_openstack_api.rb +1 -1
  373. data/lib/fastly/api/logging_papertrail_api.rb +1 -1
  374. data/lib/fastly/api/logging_pubsub_api.rb +1 -1
  375. data/lib/fastly/api/logging_s3_api.rb +15 -1
  376. data/lib/fastly/api/logging_scalyr_api.rb +5 -5
  377. data/lib/fastly/api/logging_sftp_api.rb +1 -1
  378. data/lib/fastly/api/logging_splunk_api.rb +5 -5
  379. data/lib/fastly/api/logging_sumologic_api.rb +1 -1
  380. data/lib/fastly/api/logging_syslog_api.rb +5 -5
  381. data/lib/fastly/api/mutual_authentication_api.rb +1 -1
  382. data/lib/fastly/api/observability_custom_dashboards_api.rb +333 -0
  383. data/lib/fastly/api/origin_inspector_historical_api.rb +5 -5
  384. data/lib/fastly/api/origin_inspector_realtime_api.rb +1 -1
  385. data/lib/fastly/api/package_api.rb +9 -9
  386. data/lib/fastly/api/pool_api.rb +5 -5
  387. data/lib/fastly/api/pop_api.rb +1 -1
  388. data/lib/fastly/api/public_ip_list_api.rb +1 -1
  389. data/lib/fastly/api/publish_api.rb +3 -3
  390. data/lib/fastly/api/purge_api.rb +1 -1
  391. data/lib/fastly/api/rate_limiter_api.rb +3 -3
  392. data/lib/fastly/api/realtime_api.rb +1 -1
  393. data/lib/fastly/api/request_settings_api.rb +1 -1
  394. data/lib/fastly/api/resource_api.rb +1 -1
  395. data/lib/fastly/api/response_object_api.rb +9 -5
  396. data/lib/fastly/api/secret_store_api.rb +8 -5
  397. data/lib/fastly/api/secret_store_item_api.rb +3 -3
  398. data/lib/fastly/api/server_api.rb +1 -1
  399. data/lib/fastly/api/service_api.rb +1 -1
  400. data/lib/fastly/api/service_authorizations_api.rb +1 -1
  401. data/lib/fastly/api/settings_api.rb +1 -1
  402. data/lib/fastly/api/snippet_api.rb +18 -18
  403. data/lib/fastly/api/star_api.rb +1 -1
  404. data/lib/fastly/api/stats_api.rb +1 -1
  405. data/lib/fastly/api/sudo_api.rb +1 -1
  406. data/lib/fastly/api/tls_activations_api.rb +1 -1
  407. data/lib/fastly/api/tls_bulk_certificates_api.rb +1 -1
  408. data/lib/fastly/api/tls_certificates_api.rb +71 -8
  409. data/lib/fastly/api/tls_configurations_api.rb +1 -1
  410. data/lib/fastly/api/tls_csrs_api.rb +83 -0
  411. data/lib/fastly/api/tls_domains_api.rb +10 -10
  412. data/lib/fastly/api/tls_private_keys_api.rb +1 -1
  413. data/lib/fastly/api/tls_subscriptions_api.rb +15 -12
  414. data/lib/fastly/api/tokens_api.rb +3 -3
  415. data/lib/fastly/api/user_api.rb +1 -1
  416. data/lib/fastly/api/vcl_api.rb +3 -3
  417. data/lib/fastly/api/vcl_diff_api.rb +1 -1
  418. data/lib/fastly/api/version_api.rb +155 -1
  419. data/lib/fastly/api/waf_active_rules_api.rb +3 -3
  420. data/lib/fastly/api/waf_exclusions_api.rb +1 -1
  421. data/lib/fastly/api/waf_firewall_versions_api.rb +1 -1
  422. data/lib/fastly/api/waf_firewalls_api.rb +1 -1
  423. data/lib/fastly/api/waf_rule_revisions_api.rb +1 -1
  424. data/lib/fastly/api/waf_rules_api.rb +1 -1
  425. data/lib/fastly/api/waf_tags_api.rb +1 -1
  426. data/lib/fastly/api/whole_platform_ddos_historical_api.rb +89 -0
  427. data/lib/fastly/api_client.rb +2 -2
  428. data/lib/fastly/api_error.rb +1 -1
  429. data/lib/fastly/configuration.rb +205 -1
  430. data/lib/fastly/models/acl.rb +1 -1
  431. data/lib/fastly/models/acl_entry.rb +1 -1
  432. data/lib/fastly/models/acl_entry_response.rb +1 -1
  433. data/lib/fastly/models/acl_entry_response_all_of.rb +1 -1
  434. data/lib/fastly/models/acl_response.rb +1 -1
  435. data/lib/fastly/models/acl_response_all_of.rb +1 -1
  436. data/lib/fastly/models/apex_redirect.rb +1 -1
  437. data/lib/fastly/models/apex_redirect_all_of.rb +1 -1
  438. data/lib/fastly/models/async_response.rb +225 -0
  439. data/lib/fastly/models/automation_token.rb +1 -1
  440. data/lib/fastly/models/automation_token_create_request.rb +1 -1
  441. data/lib/fastly/models/automation_token_create_request_attributes.rb +1 -1
  442. data/lib/fastly/models/automation_token_create_response.rb +1 -1
  443. data/lib/fastly/models/automation_token_create_response_all_of.rb +1 -1
  444. data/lib/fastly/models/{error_response.rb → automation_token_error_response.rb} +4 -4
  445. data/lib/fastly/models/automation_token_response.rb +1 -1
  446. data/lib/fastly/models/automation_token_response_all_of.rb +1 -1
  447. data/lib/fastly/models/aws_region.rb +1 -1
  448. data/lib/fastly/models/backend.rb +77 -5
  449. data/lib/fastly/models/backend_response.rb +77 -5
  450. data/lib/fastly/models/backend_response_all_of.rb +1 -1
  451. data/lib/fastly/models/batch.rb +1 -1
  452. data/lib/fastly/models/batch_errors.rb +1 -1
  453. data/lib/fastly/models/billing.rb +3 -12
  454. data/lib/fastly/models/billing_address_attributes.rb +1 -1
  455. data/lib/fastly/models/billing_address_request.rb +1 -1
  456. data/lib/fastly/models/billing_address_request_data.rb +1 -1
  457. data/lib/fastly/models/billing_address_response.rb +1 -1
  458. data/lib/fastly/models/billing_address_response_data.rb +1 -1
  459. data/lib/fastly/models/billing_address_verification_error_response.rb +1 -1
  460. data/lib/fastly/models/billing_address_verification_error_response_errors.rb +1 -1
  461. data/lib/fastly/models/billing_bandwidth.rb +227 -0
  462. data/lib/fastly/models/billing_bandwidth_tiers.rb +252 -0
  463. data/lib/fastly/models/{relationship_tls_dns_record.rb → billing_estimate_invoice_id.rb} +11 -11
  464. data/lib/fastly/models/billing_estimate_lines.rb +1 -1
  465. data/lib/fastly/models/billing_estimate_lines_line_items.rb +1 -1
  466. data/lib/fastly/models/billing_estimate_response.rb +13 -12
  467. data/lib/fastly/models/billing_invoice_id.rb +216 -0
  468. data/lib/fastly/models/billing_regions.rb +243 -0
  469. data/lib/fastly/models/billing_response.rb +13 -12
  470. data/lib/fastly/models/billing_response_item_items_data.rb +1 -1
  471. data/lib/fastly/models/billing_response_line_item.rb +14 -2
  472. data/lib/fastly/models/billing_status.rb +1 -1
  473. data/lib/fastly/models/billing_total.rb +1 -1
  474. data/lib/fastly/models/billing_total_extras.rb +1 -1
  475. data/lib/fastly/models/bulk_update_acl_entries_request.rb +1 -1
  476. data/lib/fastly/models/bulk_update_acl_entry.rb +1 -1
  477. data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +1 -1
  478. data/lib/fastly/models/bulk_update_config_store_item.rb +1 -1
  479. data/lib/fastly/models/bulk_update_config_store_item_all_of.rb +1 -1
  480. data/lib/fastly/models/bulk_update_config_store_list_request.rb +1 -1
  481. data/lib/fastly/models/bulk_update_dictionary_item.rb +1 -1
  482. data/lib/fastly/models/bulk_update_dictionary_list_request.rb +1 -1
  483. data/lib/fastly/models/bulk_waf_active_rules.rb +1 -1
  484. data/lib/fastly/models/cache_setting.rb +1 -1
  485. data/lib/fastly/models/cache_setting_response.rb +1 -1
  486. data/lib/fastly/models/client_key.rb +1 -1
  487. data/lib/fastly/models/compute_acl_create_acls_request.rb +217 -0
  488. data/lib/fastly/models/compute_acl_create_acls_response.rb +227 -0
  489. data/lib/fastly/models/compute_acl_list_entries.rb +228 -0
  490. data/lib/fastly/models/compute_acl_list_entries_item.rb +227 -0
  491. data/lib/fastly/models/compute_acl_list_entries_meta.rb +227 -0
  492. data/lib/fastly/models/compute_acl_lookup.rb +238 -0
  493. data/lib/fastly/models/compute_acl_update_entry.rb +238 -0
  494. data/lib/fastly/models/condition.rb +1 -1
  495. data/lib/fastly/models/condition_response.rb +1 -1
  496. data/lib/fastly/models/config_store.rb +1 -1
  497. data/lib/fastly/models/config_store_info_response.rb +1 -1
  498. data/lib/fastly/models/config_store_item.rb +1 -1
  499. data/lib/fastly/models/config_store_item_response.rb +1 -1
  500. data/lib/fastly/models/config_store_item_response_all_of.rb +1 -1
  501. data/lib/fastly/models/config_store_response.rb +1 -1
  502. data/lib/fastly/models/config_store_response_all_of.rb +1 -1
  503. data/lib/fastly/models/configured_product_response.rb +243 -0
  504. data/lib/fastly/models/configured_product_response_configuration.rb +227 -0
  505. data/lib/fastly/models/configured_product_response_links.rb +227 -0
  506. data/lib/fastly/models/configured_product_response_product.rb +227 -0
  507. data/lib/fastly/models/contact.rb +1 -1
  508. data/lib/fastly/models/contact_response.rb +1 -1
  509. data/lib/fastly/models/contact_response_all_of.rb +1 -1
  510. data/lib/fastly/models/content.rb +1 -1
  511. data/lib/fastly/models/create_dashboard_request.rb +245 -0
  512. data/lib/fastly/models/create_response_object_request.rb +280 -0
  513. data/lib/fastly/models/customer.rb +1 -1
  514. data/lib/fastly/models/customer_address.rb +294 -0
  515. data/lib/fastly/models/customer_response.rb +1 -1
  516. data/lib/fastly/models/customer_response_all_of.rb +1 -1
  517. data/lib/fastly/models/dashboard.rb +290 -0
  518. data/lib/fastly/models/dashboard_item.rb +368 -0
  519. data/lib/fastly/models/dashboard_item_property_data_source.rb +271 -0
  520. data/lib/fastly/models/dashboard_item_property_data_source_property_config.rb +244 -0
  521. data/lib/fastly/models/dashboard_item_property_visualization.rb +271 -0
  522. data/lib/fastly/models/dashboard_item_property_visualization_property_config.rb +303 -0
  523. data/lib/fastly/models/{subsequent_request_timestamp.rb → dashboard_property_created_by.rb} +5 -5
  524. data/lib/fastly/models/{read_only_id_service.rb → dashboard_property_updated_by.rb} +5 -4
  525. data/lib/fastly/models/default_settings.rb +385 -0
  526. data/lib/fastly/models/default_settings_error.rb +234 -0
  527. data/lib/fastly/models/default_settings_response.rb +435 -0
  528. data/lib/fastly/models/dictionary.rb +1 -1
  529. data/lib/fastly/models/dictionary_info_response.rb +1 -1
  530. data/lib/fastly/models/dictionary_item.rb +1 -1
  531. data/lib/fastly/models/dictionary_item_response.rb +1 -1
  532. data/lib/fastly/models/dictionary_item_response_all_of.rb +1 -1
  533. data/lib/fastly/models/dictionary_response.rb +1 -1
  534. data/lib/fastly/models/dictionary_response_all_of.rb +1 -1
  535. data/lib/fastly/models/diff_response.rb +1 -1
  536. data/lib/fastly/models/director.rb +2 -2
  537. data/lib/fastly/models/director_backend.rb +1 -1
  538. data/lib/fastly/models/director_backend_all_of.rb +1 -1
  539. data/lib/fastly/models/director_response.rb +2 -2
  540. data/lib/fastly/models/domain.rb +1 -1
  541. data/lib/fastly/models/domain_inspector.rb +3 -2
  542. data/lib/fastly/models/domain_inspector_entry.rb +1 -1
  543. data/lib/fastly/models/domain_inspector_entry_dimensions.rb +1 -1
  544. data/lib/fastly/models/domain_inspector_measurements.rb +2 -2
  545. data/lib/fastly/models/domain_inspector_realtime_entry.rb +4 -3
  546. data/lib/fastly/models/domain_response.rb +1 -1
  547. data/lib/fastly/models/enabled_product_response.rb +1 -1
  548. data/lib/fastly/models/enabled_product_response_links.rb +1 -1
  549. data/lib/fastly/models/enabled_product_response_product.rb +1 -1
  550. data/lib/fastly/models/enabled_product_response_service.rb +1 -1
  551. data/lib/fastly/models/{historical_field_results_attributes_additional.rb → environment.rb} +22 -12
  552. data/lib/fastly/models/environment_name.rb +34 -0
  553. data/lib/fastly/models/eom_invoice_response.rb +305 -0
  554. data/lib/fastly/models/error.rb +243 -0
  555. data/lib/fastly/models/error_response_data.rb +225 -0
  556. data/lib/fastly/models/event.rb +1 -1
  557. data/lib/fastly/models/event_attributes.rb +3 -3
  558. data/lib/fastly/models/event_data.rb +1 -1
  559. data/lib/fastly/models/event_response.rb +1 -1
  560. data/lib/fastly/models/events_response.rb +1 -1
  561. data/lib/fastly/models/generic_token_error.rb +1 -1
  562. data/lib/fastly/models/get_service_level_usage_response.rb +223 -0
  563. data/lib/fastly/models/get_service_level_usage_types_response.rb +225 -0
  564. data/lib/fastly/models/gzip.rb +1 -1
  565. data/lib/fastly/models/gzip_response.rb +1 -1
  566. data/lib/fastly/models/header.rb +1 -1
  567. data/lib/fastly/models/header_response.rb +1 -1
  568. data/lib/fastly/models/header_response_additional.rb +1 -1
  569. data/lib/fastly/models/healthcheck.rb +1 -1
  570. data/lib/fastly/models/healthcheck_response.rb +1 -1
  571. data/lib/fastly/models/historical.rb +1 -1
  572. data/lib/fastly/models/{historical_usage_aggregate_response.rb → historical_ddos.rb} +10 -15
  573. data/lib/fastly/models/historical_ddos_meta.rb +248 -0
  574. data/lib/fastly/models/historical_domains.rb +1 -1
  575. data/lib/fastly/models/historical_domains_data.rb +1 -1
  576. data/lib/fastly/models/historical_domains_meta.rb +1 -1
  577. data/lib/fastly/models/historical_domains_meta_filters.rb +1 -1
  578. data/lib/fastly/models/historical_domains_response.rb +1 -1
  579. data/lib/fastly/models/historical_domains_response_all_of.rb +1 -1
  580. data/lib/fastly/models/historical_meta.rb +1 -1
  581. data/lib/fastly/models/historical_origins_response.rb +1 -1
  582. data/lib/fastly/models/historical_origins_response_all_of.rb +1 -1
  583. data/lib/fastly/models/historical_regions_response.rb +1 -1
  584. data/lib/fastly/models/historical_regions_response_all_of.rb +1 -1
  585. data/lib/fastly/models/{historical_aggregate_response.rb → historical_stats_aggregated_response.rb} +5 -5
  586. data/lib/fastly/models/{historical_aggregate_response_all_of.rb → historical_stats_aggregated_response_all_of.rb} +4 -4
  587. data/lib/fastly/models/{historical_response.rb → historical_stats_by_service_response.rb} +5 -5
  588. data/lib/fastly/models/{historical_response_data_field.rb → historical_stats_by_service_response_all_of.rb} +4 -4
  589. data/lib/fastly/models/{historical_field_response.rb → historical_usage_aggregated_response.rb} +7 -6
  590. data/lib/fastly/models/historical_usage_aggregated_response_all_of.rb +219 -0
  591. data/lib/fastly/models/{historical_usage_results.rb → historical_usage_data.rb} +5 -4
  592. data/lib/fastly/models/historical_usage_month_response.rb +1 -1
  593. data/lib/fastly/models/historical_usage_month_response_all_of.rb +1 -1
  594. data/lib/fastly/models/historical_usage_month_response_data.rb +8 -4
  595. data/lib/fastly/models/{historical_service.rb → historical_usage_service.rb} +4 -4
  596. data/lib/fastly/models/historical_usage_service_response.rb +6 -3
  597. data/lib/fastly/models/historical_usage_service_response_all_of.rb +6 -3
  598. data/lib/fastly/models/http3.rb +1 -1
  599. data/lib/fastly/models/http3_all_of.rb +1 -1
  600. data/lib/fastly/models/http_response_format.rb +1 -1
  601. data/lib/fastly/models/http_stream_format.rb +1 -1
  602. data/lib/fastly/models/iam_permission.rb +1 -1
  603. data/lib/fastly/models/iam_role.rb +1 -1
  604. data/lib/fastly/models/iam_role_all_of.rb +1 -1
  605. data/lib/fastly/models/iam_service_group.rb +1 -1
  606. data/lib/fastly/models/iam_service_group_all_of.rb +1 -1
  607. data/lib/fastly/models/iam_user_group.rb +1 -1
  608. data/lib/fastly/models/iam_user_group_all_of.rb +1 -1
  609. data/lib/fastly/models/included_with_tls_configuration.rb +218 -0
  610. data/lib/fastly/models/included_with_tls_configuration_item.rb +237 -0
  611. data/lib/fastly/models/included_with_waf_active_rule_item.rb +1 -1
  612. data/lib/fastly/models/included_with_waf_exclusion_item.rb +1 -1
  613. data/lib/fastly/models/included_with_waf_firewall_version_item.rb +1 -1
  614. data/lib/fastly/models/included_with_waf_rule_item.rb +1 -1
  615. data/lib/fastly/models/inline_object.rb +1 -1
  616. data/lib/fastly/models/inline_object1.rb +1 -1
  617. data/lib/fastly/models/inline_response200.rb +1 -1
  618. data/lib/fastly/models/inline_response2001.rb +1 -1
  619. data/lib/fastly/models/inline_response2002.rb +1 -1
  620. data/lib/fastly/models/inline_response2003.rb +1 -1
  621. data/lib/fastly/models/inline_response2003_meta.rb +1 -1
  622. data/lib/fastly/models/inline_response2004.rb +1 -1
  623. data/lib/fastly/models/inline_response2004_meta.rb +1 -1
  624. data/lib/fastly/models/inline_response2005.rb +1 -1
  625. data/lib/fastly/models/inline_response2006.rb +1 -1
  626. data/lib/fastly/models/inline_response2007.rb +1 -1
  627. data/lib/fastly/models/{recorded_timestamp.rb → inline_response201.rb} +16 -7
  628. data/lib/fastly/models/inline_response400.rb +1 -1
  629. data/lib/fastly/models/invitation.rb +1 -1
  630. data/lib/fastly/models/invitation_data.rb +1 -1
  631. data/lib/fastly/models/invitation_data_attributes.rb +1 -1
  632. data/lib/fastly/models/invitation_response.rb +1 -1
  633. data/lib/fastly/models/invitation_response_all_of.rb +1 -1
  634. data/lib/fastly/models/invitation_response_data.rb +1 -1
  635. data/lib/fastly/models/invitation_response_data_all_of.rb +1 -1
  636. data/lib/fastly/models/invitations_response.rb +1 -1
  637. data/lib/fastly/models/invitations_response_all_of.rb +1 -1
  638. data/lib/fastly/models/invoice.rb +298 -0
  639. data/lib/fastly/models/invoicelineitems.rb +307 -0
  640. data/lib/fastly/models/legacy_waf_configuration_set.rb +1 -1
  641. data/lib/fastly/models/legacy_waf_firewall.rb +1 -1
  642. data/lib/fastly/models/legacy_waf_owasp.rb +1 -1
  643. data/lib/fastly/models/legacy_waf_rule.rb +1 -1
  644. data/lib/fastly/models/legacy_waf_rule_status.rb +1 -1
  645. data/lib/fastly/models/legacy_waf_ruleset.rb +1 -1
  646. data/lib/fastly/models/legacy_waf_tag.rb +1 -1
  647. data/lib/fastly/models/legacy_waf_update_status.rb +1 -1
  648. data/lib/fastly/models/line_item_data.rb +14 -2
  649. data/lib/fastly/models/{relationship_tls_dns_record_dns_record.rb → list_customer_addresses_response.rb} +5 -5
  650. data/lib/fastly/models/list_dashboards_response.rb +229 -0
  651. data/lib/fastly/models/list_eom_invoices_response.rb +234 -0
  652. data/lib/fastly/models/listinvoices.rb +227 -0
  653. data/lib/fastly/models/logging_address_and_port.rb +1 -1
  654. data/lib/fastly/models/logging_azureblob_additional.rb +1 -1
  655. data/lib/fastly/models/logging_azureblob_response.rb +1 -1
  656. data/lib/fastly/models/logging_bigquery_additional.rb +1 -1
  657. data/lib/fastly/models/logging_bigquery_response.rb +1 -1
  658. data/lib/fastly/models/logging_cloudfiles_additional.rb +1 -1
  659. data/lib/fastly/models/logging_cloudfiles_response.rb +1 -1
  660. data/lib/fastly/models/logging_common.rb +1 -1
  661. data/lib/fastly/models/logging_common_response.rb +1 -1
  662. data/lib/fastly/models/logging_common_response_all_of.rb +1 -1
  663. data/lib/fastly/models/logging_common_response_all_of1.rb +1 -1
  664. data/lib/fastly/models/logging_datadog_additional.rb +3 -3
  665. data/lib/fastly/models/logging_datadog_response.rb +3 -3
  666. data/lib/fastly/models/logging_digitalocean_additional.rb +1 -1
  667. data/lib/fastly/models/logging_digitalocean_response.rb +1 -1
  668. data/lib/fastly/models/logging_elasticsearch_additional.rb +1 -1
  669. data/lib/fastly/models/logging_elasticsearch_response.rb +1 -1
  670. data/lib/fastly/models/logging_format_version_integer.rb +1 -1
  671. data/lib/fastly/models/logging_format_version_string.rb +1 -1
  672. data/lib/fastly/models/logging_ftp_additional.rb +1 -1
  673. data/lib/fastly/models/logging_ftp_response.rb +1 -1
  674. data/lib/fastly/models/logging_ftp_response_all_of.rb +1 -1
  675. data/lib/fastly/models/logging_gcs_additional.rb +1 -1
  676. data/lib/fastly/models/logging_gcs_common.rb +1 -1
  677. data/lib/fastly/models/logging_gcs_response.rb +1 -1
  678. data/lib/fastly/models/logging_generic_common.rb +1 -1
  679. data/lib/fastly/models/logging_generic_common_response.rb +1 -1
  680. data/lib/fastly/models/logging_generic_common_response_all_of.rb +1 -1
  681. data/lib/fastly/models/logging_generic_common_response_all_of1.rb +1 -1
  682. data/lib/fastly/models/logging_google_pubsub_additional.rb +1 -1
  683. data/lib/fastly/models/logging_google_pubsub_response.rb +1 -1
  684. data/lib/fastly/models/logging_heroku_additional.rb +1 -1
  685. data/lib/fastly/models/logging_heroku_response.rb +1 -1
  686. data/lib/fastly/models/logging_honeycomb_additional.rb +1 -1
  687. data/lib/fastly/models/logging_honeycomb_response.rb +1 -1
  688. data/lib/fastly/models/logging_https_additional.rb +1 -1
  689. data/lib/fastly/models/logging_https_response.rb +1 -1
  690. data/lib/fastly/models/logging_kafka_additional.rb +3 -3
  691. data/lib/fastly/models/logging_kafka_response.rb +3 -3
  692. data/lib/fastly/models/logging_kafka_response_post.rb +3 -3
  693. data/lib/fastly/models/logging_kinesis_additional.rb +2 -2
  694. data/lib/fastly/models/logging_kinesis_response.rb +2 -2
  695. data/lib/fastly/models/logging_logentries_additional.rb +4 -4
  696. data/lib/fastly/models/logging_logentries_response.rb +4 -4
  697. data/lib/fastly/models/logging_loggly_additional.rb +1 -1
  698. data/lib/fastly/models/logging_loggly_response.rb +1 -1
  699. data/lib/fastly/models/logging_logshuttle_additional.rb +1 -1
  700. data/lib/fastly/models/logging_logshuttle_response.rb +1 -1
  701. data/lib/fastly/models/logging_message_type.rb +1 -1
  702. data/lib/fastly/models/logging_newrelic_additional.rb +1 -1
  703. data/lib/fastly/models/logging_newrelic_response.rb +1 -1
  704. data/lib/fastly/models/logging_newrelicotlp_additional.rb +288 -0
  705. data/lib/fastly/models/logging_newrelicotlp_response.rb +417 -0
  706. data/lib/fastly/models/logging_openstack_additional.rb +1 -1
  707. data/lib/fastly/models/logging_openstack_response.rb +1 -1
  708. data/lib/fastly/models/logging_papertrail_response.rb +1 -1
  709. data/lib/fastly/models/logging_placement.rb +1 -1
  710. data/lib/fastly/models/logging_request_caps_common.rb +1 -1
  711. data/lib/fastly/models/logging_s3_additional.rb +31 -6
  712. data/lib/fastly/models/logging_s3_response.rb +31 -6
  713. data/lib/fastly/models/logging_scalyr_additional.rb +2 -2
  714. data/lib/fastly/models/logging_scalyr_response.rb +2 -2
  715. data/lib/fastly/models/logging_sftp_additional.rb +1 -1
  716. data/lib/fastly/models/logging_sftp_response.rb +1 -1
  717. data/lib/fastly/models/logging_sftp_response_all_of.rb +1 -1
  718. data/lib/fastly/models/logging_splunk_additional.rb +3 -3
  719. data/lib/fastly/models/logging_splunk_response.rb +3 -3
  720. data/lib/fastly/models/logging_sumologic_additional.rb +1 -1
  721. data/lib/fastly/models/logging_sumologic_response.rb +1 -1
  722. data/lib/fastly/models/logging_syslog_additional.rb +3 -3
  723. data/lib/fastly/models/logging_syslog_response.rb +3 -3
  724. data/lib/fastly/models/logging_tls_common.rb +1 -1
  725. data/lib/fastly/models/{logging_use_tls.rb → logging_use_tls_string.rb} +6 -6
  726. data/lib/fastly/models/metadata.rb +250 -0
  727. data/lib/fastly/models/mtd_invoice_response.rb +275 -0
  728. data/lib/fastly/models/mtdinvoice.rb +268 -0
  729. data/lib/fastly/models/mtdlineitems.rb +297 -0
  730. data/lib/fastly/models/mutual_authentication.rb +1 -1
  731. data/lib/fastly/models/mutual_authentication_data.rb +1 -1
  732. data/lib/fastly/models/mutual_authentication_data_attributes.rb +1 -1
  733. data/lib/fastly/models/mutual_authentication_response.rb +1 -1
  734. data/lib/fastly/models/mutual_authentication_response_attributes.rb +1 -1
  735. data/lib/fastly/models/mutual_authentication_response_attributes_all_of.rb +1 -1
  736. data/lib/fastly/models/mutual_authentication_response_data.rb +1 -1
  737. data/lib/fastly/models/mutual_authentication_response_data_all_of.rb +1 -1
  738. data/lib/fastly/models/mutual_authentications_response.rb +1 -1
  739. data/lib/fastly/models/mutual_authentications_response_all_of.rb +1 -1
  740. data/lib/fastly/models/origin_inspector.rb +3 -2
  741. data/lib/fastly/models/origin_inspector_dimensions.rb +1 -1
  742. data/lib/fastly/models/origin_inspector_entry.rb +1 -1
  743. data/lib/fastly/models/origin_inspector_historical.rb +1 -1
  744. data/lib/fastly/models/origin_inspector_historical_data.rb +1 -1
  745. data/lib/fastly/models/origin_inspector_historical_meta.rb +1 -1
  746. data/lib/fastly/models/origin_inspector_historical_meta_filters.rb +1 -1
  747. data/lib/fastly/models/origin_inspector_measurements.rb +39 -39
  748. data/lib/fastly/models/origin_inspector_realtime_entry.rb +4 -3
  749. data/lib/fastly/models/origin_inspector_values.rb +39 -39
  750. data/lib/fastly/models/package.rb +1 -1
  751. data/lib/fastly/models/package_metadata.rb +7 -7
  752. data/lib/fastly/models/package_response.rb +1 -1
  753. data/lib/fastly/models/package_response_all_of.rb +1 -1
  754. data/lib/fastly/models/pagination.rb +1 -1
  755. data/lib/fastly/models/pagination_cursor_meta.rb +1 -1
  756. data/lib/fastly/models/pagination_links.rb +1 -1
  757. data/lib/fastly/models/pagination_meta.rb +1 -1
  758. data/lib/fastly/models/permission.rb +1 -1
  759. data/lib/fastly/models/{origin_inspector_realtime_entry_recorded.rb → platform_ddos_data_items.rb} +15 -7
  760. data/lib/fastly/models/platform_ddos_entry.rb +219 -0
  761. data/lib/fastly/models/{historical_field_aggregate_response.rb → platform_ddos_response.rb} +9 -8
  762. data/lib/fastly/models/{historical_field_aggregate_response_all_of.rb → platform_ddos_response_all_of.rb} +6 -5
  763. data/lib/fastly/models/pool_additional.rb +2 -2
  764. data/lib/fastly/models/pool_response.rb +2 -2
  765. data/lib/fastly/models/pool_response_all_of.rb +1 -1
  766. data/lib/fastly/models/pool_response_common.rb +1 -1
  767. data/lib/fastly/models/pool_response_post.rb +2 -2
  768. data/lib/fastly/models/pool_response_post_all_of.rb +1 -1
  769. data/lib/fastly/models/pop.rb +3 -3
  770. data/lib/fastly/models/pop_coordinates.rb +1 -1
  771. data/lib/fastly/models/public_ip_list.rb +1 -1
  772. data/lib/fastly/models/publish_item.rb +1 -1
  773. data/lib/fastly/models/publish_item_formats.rb +1 -1
  774. data/lib/fastly/models/publish_request.rb +1 -1
  775. data/lib/fastly/models/purge_keys.rb +1 -1
  776. data/lib/fastly/models/purge_response.rb +1 -1
  777. data/lib/fastly/models/rate_limiter.rb +3 -3
  778. data/lib/fastly/models/rate_limiter_response.rb +3 -3
  779. data/lib/fastly/models/rate_limiter_response_all_of.rb +1 -1
  780. data/lib/fastly/models/read_only_customer_id.rb +1 -1
  781. data/lib/fastly/models/read_only_id.rb +1 -1
  782. data/lib/fastly/models/read_only_service_id.rb +1 -1
  783. data/lib/fastly/models/read_only_user_id.rb +1 -1
  784. data/lib/fastly/models/read_only_version.rb +1 -1
  785. data/lib/fastly/models/realtime.rb +1 -1
  786. data/lib/fastly/models/realtime_entry.rb +2 -2
  787. data/lib/fastly/models/realtime_entry_aggregated.rb +339 -19
  788. data/lib/fastly/models/realtime_entry_recorded.rb +1 -1
  789. data/lib/fastly/models/realtime_measurements.rb +339 -19
  790. data/lib/fastly/models/relationship_common_name.rb +1 -1
  791. data/lib/fastly/models/relationship_customer.rb +1 -1
  792. data/lib/fastly/models/relationship_customer_customer.rb +3 -5
  793. data/lib/fastly/models/relationship_default_ecdsa_tls_certificate.rb +216 -0
  794. data/lib/fastly/models/relationship_default_ecdsa_tls_certificate_default_ecdsa_certificate.rb +216 -0
  795. data/lib/fastly/models/relationship_default_ecdsa_tls_certificate_default_ecdsa_certificate_data.rb +228 -0
  796. data/lib/fastly/models/relationship_default_tls_certificate.rb +216 -0
  797. data/lib/fastly/models/relationship_default_tls_certificate_default_certificate.rb +216 -0
  798. data/lib/fastly/models/relationship_default_tls_certificate_default_certificate_data.rb +228 -0
  799. data/lib/fastly/models/relationship_member_customer.rb +1 -1
  800. data/lib/fastly/models/relationship_member_mutual_authentication.rb +1 -1
  801. data/lib/fastly/models/relationship_member_service.rb +1 -1
  802. data/lib/fastly/models/relationship_member_service_invitation.rb +1 -1
  803. data/lib/fastly/models/relationship_member_tls_activation.rb +1 -1
  804. data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +1 -1
  805. data/lib/fastly/models/relationship_member_tls_certificate.rb +1 -1
  806. data/lib/fastly/models/relationship_member_tls_configuration.rb +1 -1
  807. data/lib/fastly/models/relationship_member_tls_domain.rb +1 -1
  808. data/lib/fastly/models/relationship_member_tls_private_key.rb +1 -1
  809. data/lib/fastly/models/relationship_member_tls_subscription.rb +1 -1
  810. data/lib/fastly/models/relationship_member_waf_active_rule.rb +1 -1
  811. data/lib/fastly/models/relationship_member_waf_firewall.rb +1 -1
  812. data/lib/fastly/models/relationship_member_waf_firewall_version.rb +1 -1
  813. data/lib/fastly/models/relationship_member_waf_rule.rb +1 -1
  814. data/lib/fastly/models/relationship_member_waf_rule_revision.rb +1 -1
  815. data/lib/fastly/models/relationship_member_waf_tag.rb +1 -1
  816. data/lib/fastly/models/relationship_mutual_authentication.rb +2 -2
  817. data/lib/fastly/models/relationship_mutual_authentication_mutual_authentication.rb +1 -1
  818. data/lib/fastly/models/relationship_mutual_authentications.rb +1 -1
  819. data/lib/fastly/models/relationship_mutual_authentications_mutual_authentications.rb +1 -1
  820. data/lib/fastly/models/relationship_service.rb +1 -1
  821. data/lib/fastly/models/relationship_service_invitations.rb +1 -1
  822. data/lib/fastly/models/relationship_service_invitations_create.rb +1 -1
  823. data/lib/fastly/models/relationship_service_invitations_create_service_invitations.rb +1 -1
  824. data/lib/fastly/models/relationship_service_invitations_service_invitations.rb +1 -1
  825. data/lib/fastly/models/relationship_services.rb +1 -1
  826. data/lib/fastly/models/relationship_services_services.rb +1 -1
  827. data/lib/fastly/models/relationship_tls_activation.rb +1 -1
  828. data/lib/fastly/models/relationship_tls_activation_tls_activation.rb +1 -1
  829. data/lib/fastly/models/relationship_tls_activations.rb +1 -1
  830. data/lib/fastly/models/relationship_tls_bulk_certificate.rb +1 -1
  831. data/lib/fastly/models/relationship_tls_bulk_certificate_tls_bulk_certificate.rb +1 -1
  832. data/lib/fastly/models/relationship_tls_bulk_certificates.rb +1 -1
  833. data/lib/fastly/models/relationship_tls_certificate.rb +2 -2
  834. data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +1 -1
  835. data/lib/fastly/models/relationship_tls_certificates.rb +1 -1
  836. data/lib/fastly/models/relationship_tls_certificates_tls_certificates.rb +1 -1
  837. data/lib/fastly/models/relationship_tls_configuration.rb +2 -2
  838. data/lib/fastly/models/relationship_tls_configuration_for_tls_subscription.rb +1 -1
  839. data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +1 -1
  840. data/lib/fastly/models/relationship_tls_configurations.rb +1 -1
  841. data/lib/fastly/models/relationship_tls_configurations_tls_configurations.rb +1 -1
  842. data/lib/fastly/models/{relationship_tls_dns_records.rb → relationship_tls_dns_records_request.rb} +5 -5
  843. data/lib/fastly/models/relationship_tls_dns_records_request_dns_records.rb +218 -0
  844. data/lib/fastly/models/{relationship_member_tls_dns_record.rb → relationship_tls_dns_records_request_dns_records_data.rb} +4 -4
  845. data/lib/fastly/models/relationship_tls_dns_records_response.rb +216 -0
  846. data/lib/fastly/models/relationship_tls_dns_records_response_dns_records.rb +218 -0
  847. data/lib/fastly/models/relationship_tls_dns_records_response_dns_records_data.rb +227 -0
  848. data/lib/fastly/models/relationship_tls_domain.rb +2 -2
  849. data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +1 -1
  850. data/lib/fastly/models/relationship_tls_domains.rb +1 -1
  851. data/lib/fastly/models/relationship_tls_domains_tls_domains.rb +1 -1
  852. data/lib/fastly/models/relationship_tls_private_key.rb +1 -1
  853. data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +1 -1
  854. data/lib/fastly/models/relationship_tls_private_keys.rb +1 -1
  855. data/lib/fastly/models/relationship_tls_private_keys_tls_private_keys.rb +1 -1
  856. data/lib/fastly/models/relationship_tls_subscription.rb +1 -1
  857. data/lib/fastly/models/relationship_tls_subscription_tls_subscription.rb +1 -1
  858. data/lib/fastly/models/relationship_tls_subscriptions.rb +1 -1
  859. data/lib/fastly/models/relationship_user.rb +1 -1
  860. data/lib/fastly/models/relationship_user_user.rb +1 -1
  861. data/lib/fastly/models/relationship_waf_active_rules.rb +1 -1
  862. data/lib/fastly/models/relationship_waf_active_rules_waf_active_rules.rb +1 -1
  863. data/lib/fastly/models/relationship_waf_firewall.rb +1 -1
  864. data/lib/fastly/models/relationship_waf_firewall_version.rb +1 -1
  865. data/lib/fastly/models/relationship_waf_firewall_version_waf_firewall_version.rb +1 -1
  866. data/lib/fastly/models/relationship_waf_firewall_versions.rb +1 -1
  867. data/lib/fastly/models/relationship_waf_firewall_waf_firewall.rb +1 -1
  868. data/lib/fastly/models/relationship_waf_rule.rb +1 -1
  869. data/lib/fastly/models/relationship_waf_rule_revision.rb +1 -1
  870. data/lib/fastly/models/relationship_waf_rule_revision_waf_rule_revisions.rb +1 -1
  871. data/lib/fastly/models/relationship_waf_rule_revisions.rb +1 -1
  872. data/lib/fastly/models/relationship_waf_rule_waf_rule.rb +1 -1
  873. data/lib/fastly/models/relationship_waf_rules.rb +1 -1
  874. data/lib/fastly/models/relationship_waf_tags.rb +1 -1
  875. data/lib/fastly/models/relationship_waf_tags_waf_tags.rb +1 -1
  876. data/lib/fastly/models/relationships_for_invitation.rb +1 -1
  877. data/lib/fastly/models/relationships_for_mutual_authentication.rb +1 -1
  878. data/lib/fastly/models/relationships_for_star.rb +1 -1
  879. data/lib/fastly/models/relationships_for_tls_activation.rb +1 -1
  880. data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +1 -1
  881. data/lib/fastly/models/relationships_for_tls_configuration.rb +2 -2
  882. data/lib/fastly/models/relationships_for_tls_domain.rb +1 -1
  883. data/lib/fastly/models/relationships_for_tls_private_key.rb +1 -1
  884. data/lib/fastly/models/relationships_for_tls_subscription.rb +1 -1
  885. data/lib/fastly/models/relationships_for_waf_active_rule.rb +1 -1
  886. data/lib/fastly/models/relationships_for_waf_exclusion.rb +1 -1
  887. data/lib/fastly/models/relationships_for_waf_firewall_version.rb +1 -1
  888. data/lib/fastly/models/relationships_for_waf_rule.rb +1 -1
  889. data/lib/fastly/models/request_settings_additional.rb +2 -1
  890. data/lib/fastly/models/request_settings_response.rb +7 -1
  891. data/lib/fastly/models/request_settings_response_all_of.rb +6 -1
  892. data/lib/fastly/models/resource.rb +1 -1
  893. data/lib/fastly/models/resource_response.rb +1 -3
  894. data/lib/fastly/models/resource_response_all_of.rb +1 -3
  895. data/lib/fastly/models/response_object.rb +1 -1
  896. data/lib/fastly/models/response_object_response.rb +1 -1
  897. data/lib/fastly/models/results.rb +378 -19
  898. data/lib/fastly/models/role_user.rb +1 -1
  899. data/lib/fastly/models/schemas_contact_response.rb +1 -1
  900. data/lib/fastly/models/schemas_snippet_response.rb +26 -27
  901. data/lib/fastly/models/schemas_snippet_response_common.rb +276 -0
  902. data/lib/fastly/models/schemas_user_response.rb +1 -1
  903. data/lib/fastly/models/schemas_user_response_read_only.rb +1 -1
  904. data/lib/fastly/models/schemas_vcl_response.rb +1 -1
  905. data/lib/fastly/models/schemas_version.rb +1 -1
  906. data/lib/fastly/models/schemas_version_response.rb +17 -5
  907. data/lib/fastly/models/schemas_waf_firewall_version.rb +1 -1
  908. data/lib/fastly/models/schemas_waf_firewall_version_data.rb +1 -1
  909. data/lib/fastly/models/secret.rb +1 -1
  910. data/lib/fastly/models/secret_response.rb +1 -1
  911. data/lib/fastly/models/secret_store.rb +1 -1
  912. data/lib/fastly/models/secret_store_response.rb +1 -1
  913. data/lib/fastly/models/server.rb +1 -1
  914. data/lib/fastly/models/server_response.rb +1 -1
  915. data/lib/fastly/models/server_response_all_of.rb +1 -1
  916. data/lib/fastly/models/service.rb +1 -1
  917. data/lib/fastly/models/service_authorization.rb +1 -1
  918. data/lib/fastly/models/service_authorization_data.rb +1 -1
  919. data/lib/fastly/models/service_authorization_data_attributes.rb +1 -1
  920. data/lib/fastly/models/service_authorization_data_relationships.rb +1 -1
  921. data/lib/fastly/models/service_authorization_data_relationships_user.rb +1 -1
  922. data/lib/fastly/models/service_authorization_data_relationships_user_data.rb +1 -1
  923. data/lib/fastly/models/service_authorization_response.rb +1 -1
  924. data/lib/fastly/models/service_authorization_response_data.rb +1 -1
  925. data/lib/fastly/models/service_authorization_response_data_all_of.rb +1 -1
  926. data/lib/fastly/models/service_authorizations_response.rb +1 -1
  927. data/lib/fastly/models/service_authorizations_response_all_of.rb +1 -1
  928. data/lib/fastly/models/service_create.rb +1 -1
  929. data/lib/fastly/models/service_create_all_of.rb +1 -1
  930. data/lib/fastly/models/service_detail.rb +15 -3
  931. data/lib/fastly/models/service_detail_all_of.rb +1 -1
  932. data/lib/fastly/models/service_id_and_version.rb +1 -1
  933. data/lib/fastly/models/service_id_and_version_string.rb +1 -1
  934. data/lib/fastly/models/service_invitation.rb +1 -1
  935. data/lib/fastly/models/service_invitation_data.rb +1 -1
  936. data/lib/fastly/models/service_invitation_data_attributes.rb +1 -1
  937. data/lib/fastly/models/service_invitation_data_relationships.rb +1 -1
  938. data/lib/fastly/models/service_invitation_response.rb +1 -1
  939. data/lib/fastly/models/service_invitation_response_all_of.rb +1 -1
  940. data/lib/fastly/models/service_invitation_response_all_of_data.rb +1 -1
  941. data/lib/fastly/models/service_list_response.rb +19 -7
  942. data/lib/fastly/models/service_list_response_all_of.rb +19 -7
  943. data/lib/fastly/models/service_response.rb +18 -6
  944. data/lib/fastly/models/service_response_all_of.rb +18 -6
  945. data/lib/fastly/models/service_version_detail.rb +14 -2
  946. data/lib/fastly/models/service_version_detail_or_null.rb +14 -2
  947. data/lib/fastly/models/serviceusagemetric.rb +246 -0
  948. data/lib/fastly/models/serviceusagemetrics.rb +216 -0
  949. data/lib/fastly/models/serviceusagemetrics_data.rb +276 -0
  950. data/lib/fastly/models/serviceusagetype.rb +227 -0
  951. data/lib/fastly/models/{historical_field_response_data_field.rb → serviceusagetypes.rb} +6 -6
  952. data/lib/fastly/models/set_configuration.rb +227 -0
  953. data/lib/fastly/models/set_workspace_id.rb +217 -0
  954. data/lib/fastly/models/settings.rb +1 -1
  955. data/lib/fastly/models/settings_response.rb +1 -1
  956. data/lib/fastly/models/signing_key.rb +1 -1
  957. data/lib/fastly/models/snippet.rb +35 -27
  958. data/lib/fastly/models/snippet_all_of.rb +251 -0
  959. data/lib/fastly/models/snippet_common.rb +283 -0
  960. data/lib/fastly/models/snippet_response.rb +25 -26
  961. data/lib/fastly/models/snippet_response_common.rb +276 -0
  962. data/lib/fastly/models/{snippet_response_all_of.rb → snippet_response_common_all_of.rb} +4 -4
  963. data/lib/fastly/models/snippet_response_post.rb +374 -0
  964. data/lib/fastly/models/snippet_with_dynamic_number.rb +313 -0
  965. data/lib/fastly/models/{line_item_data_read_only_invoice_id.rb → snippet_with_dynamic_number_all_of.rb} +50 -6
  966. data/lib/fastly/models/star.rb +1 -1
  967. data/lib/fastly/models/star_data.rb +1 -1
  968. data/lib/fastly/models/star_response.rb +1 -1
  969. data/lib/fastly/models/star_response_all_of.rb +1 -1
  970. data/lib/fastly/models/stats.rb +1 -1
  971. data/lib/fastly/models/store.rb +1 -1
  972. data/lib/fastly/models/store_response.rb +1 -1
  973. data/lib/fastly/models/sudo_generic_token_error.rb +1 -1
  974. data/lib/fastly/models/sudo_request.rb +1 -1
  975. data/lib/fastly/models/sudo_response.rb +1 -1
  976. data/lib/fastly/models/timestamps.rb +1 -1
  977. data/lib/fastly/models/timestamps_no_delete.rb +1 -1
  978. data/lib/fastly/models/tls_activation.rb +1 -1
  979. data/lib/fastly/models/tls_activation_data.rb +1 -1
  980. data/lib/fastly/models/tls_activation_response.rb +1 -1
  981. data/lib/fastly/models/tls_activation_response_data.rb +1 -1
  982. data/lib/fastly/models/tls_activation_response_data_all_of.rb +1 -1
  983. data/lib/fastly/models/tls_activations_response.rb +1 -1
  984. data/lib/fastly/models/tls_activations_response_all_of.rb +1 -1
  985. data/lib/fastly/models/tls_bulk_certificate.rb +1 -1
  986. data/lib/fastly/models/tls_bulk_certificate_data.rb +1 -1
  987. data/lib/fastly/models/tls_bulk_certificate_data_attributes.rb +1 -1
  988. data/lib/fastly/models/tls_bulk_certificate_response.rb +1 -1
  989. data/lib/fastly/models/tls_bulk_certificate_response_attributes.rb +1 -1
  990. data/lib/fastly/models/tls_bulk_certificate_response_attributes_all_of.rb +1 -1
  991. data/lib/fastly/models/tls_bulk_certificate_response_data.rb +1 -1
  992. data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +1 -1
  993. data/lib/fastly/models/tls_bulk_certificates_response.rb +1 -1
  994. data/lib/fastly/models/tls_bulk_certificates_response_all_of.rb +1 -1
  995. data/lib/fastly/models/tls_certificate.rb +1 -1
  996. data/lib/fastly/models/tls_certificate_blob_response.rb +217 -0
  997. data/lib/fastly/models/tls_certificate_data.rb +1 -1
  998. data/lib/fastly/models/tls_certificate_data_attributes.rb +1 -1
  999. data/lib/fastly/models/tls_certificate_response.rb +1 -1
  1000. data/lib/fastly/models/tls_certificate_response_attributes.rb +1 -1
  1001. data/lib/fastly/models/tls_certificate_response_attributes_all_of.rb +1 -1
  1002. data/lib/fastly/models/tls_certificate_response_data.rb +1 -1
  1003. data/lib/fastly/models/tls_certificate_response_data_all_of.rb +1 -1
  1004. data/lib/fastly/models/tls_certificates_response.rb +1 -1
  1005. data/lib/fastly/models/tls_certificates_response_all_of.rb +1 -1
  1006. data/lib/fastly/models/tls_common_response.rb +1 -1
  1007. data/lib/fastly/models/tls_common_response_all_of.rb +1 -1
  1008. data/lib/fastly/models/tls_common_response_all_of1.rb +1 -1
  1009. data/lib/fastly/models/tls_configuration.rb +1 -1
  1010. data/lib/fastly/models/tls_configuration_data.rb +1 -1
  1011. data/lib/fastly/models/tls_configuration_data_attributes.rb +1 -1
  1012. data/lib/fastly/models/tls_configuration_response.rb +1 -1
  1013. data/lib/fastly/models/tls_configuration_response_attributes.rb +3 -3
  1014. data/lib/fastly/models/tls_configuration_response_attributes_all_of.rb +3 -3
  1015. data/lib/fastly/models/tls_configuration_response_data.rb +1 -1
  1016. data/lib/fastly/models/tls_configuration_response_data_all_of.rb +1 -1
  1017. data/lib/fastly/models/tls_configurations_response.rb +1 -1
  1018. data/lib/fastly/models/tls_configurations_response_all_of.rb +1 -1
  1019. data/lib/fastly/models/tls_csr.rb +216 -0
  1020. data/lib/fastly/models/tls_csr_data.rb +236 -0
  1021. data/lib/fastly/models/tls_csr_data_attributes.rb +358 -0
  1022. data/lib/fastly/models/tls_csr_error_response.rb +218 -0
  1023. data/lib/fastly/models/tls_csr_response.rb +216 -0
  1024. data/lib/fastly/models/tls_csr_response_attributes.rb +217 -0
  1025. data/lib/fastly/models/tls_csr_response_data.rb +245 -0
  1026. data/lib/fastly/models/tls_dns_record.rb +49 -13
  1027. data/lib/fastly/models/tls_domain_data.rb +1 -1
  1028. data/lib/fastly/models/tls_domains_response.rb +1 -1
  1029. data/lib/fastly/models/tls_domains_response_all_of.rb +1 -1
  1030. data/lib/fastly/models/tls_private_key.rb +1 -1
  1031. data/lib/fastly/models/tls_private_key_data.rb +1 -1
  1032. data/lib/fastly/models/tls_private_key_data_attributes.rb +1 -1
  1033. data/lib/fastly/models/tls_private_key_response.rb +1 -1
  1034. data/lib/fastly/models/tls_private_key_response_attributes.rb +1 -1
  1035. data/lib/fastly/models/tls_private_key_response_attributes_all_of.rb +1 -1
  1036. data/lib/fastly/models/tls_private_key_response_data.rb +1 -1
  1037. data/lib/fastly/models/tls_private_keys_response.rb +1 -1
  1038. data/lib/fastly/models/tls_private_keys_response_all_of.rb +1 -1
  1039. data/lib/fastly/models/tls_subscription.rb +1 -1
  1040. data/lib/fastly/models/tls_subscription_data.rb +1 -1
  1041. data/lib/fastly/models/tls_subscription_data_attributes.rb +4 -4
  1042. data/lib/fastly/models/tls_subscription_response.rb +1 -1
  1043. data/lib/fastly/models/tls_subscription_response_attributes.rb +15 -5
  1044. data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +15 -5
  1045. data/lib/fastly/models/tls_subscription_response_data.rb +1 -1
  1046. data/lib/fastly/models/tls_subscriptions_response.rb +1 -1
  1047. data/lib/fastly/models/tls_subscriptions_response_all_of.rb +1 -1
  1048. data/lib/fastly/models/token.rb +1 -1
  1049. data/lib/fastly/models/token_created_response.rb +1 -1
  1050. data/lib/fastly/models/token_created_response_all_of.rb +1 -1
  1051. data/lib/fastly/models/token_response.rb +1 -1
  1052. data/lib/fastly/models/token_response_all_of.rb +1 -1
  1053. data/lib/fastly/models/tokens_additional_props.rb +1 -1
  1054. data/lib/fastly/models/type_billing_address.rb +1 -1
  1055. data/lib/fastly/models/type_contact.rb +1 -1
  1056. data/lib/fastly/models/type_customer.rb +1 -1
  1057. data/lib/fastly/models/type_event.rb +1 -1
  1058. data/lib/fastly/models/type_invitation.rb +1 -1
  1059. data/lib/fastly/models/type_mutual_authentication.rb +1 -1
  1060. data/lib/fastly/models/type_resource.rb +3 -3
  1061. data/lib/fastly/models/type_service.rb +1 -1
  1062. data/lib/fastly/models/type_service_authorization.rb +1 -1
  1063. data/lib/fastly/models/type_service_invitation.rb +1 -1
  1064. data/lib/fastly/models/type_star.rb +1 -1
  1065. data/lib/fastly/models/type_tls_activation.rb +1 -1
  1066. data/lib/fastly/models/type_tls_bulk_certificate.rb +1 -1
  1067. data/lib/fastly/models/type_tls_certificate.rb +1 -1
  1068. data/lib/fastly/models/type_tls_configuration.rb +1 -1
  1069. data/lib/fastly/models/type_tls_csr.rb +34 -0
  1070. data/lib/fastly/models/type_tls_dns_record.rb +1 -1
  1071. data/lib/fastly/models/type_tls_domain.rb +1 -1
  1072. data/lib/fastly/models/type_tls_private_key.rb +1 -1
  1073. data/lib/fastly/models/type_tls_subscription.rb +1 -1
  1074. data/lib/fastly/models/type_user.rb +1 -1
  1075. data/lib/fastly/models/type_waf_active_rule.rb +1 -1
  1076. data/lib/fastly/models/type_waf_exclusion.rb +1 -1
  1077. data/lib/fastly/models/type_waf_firewall.rb +1 -1
  1078. data/lib/fastly/models/type_waf_firewall_version.rb +1 -1
  1079. data/lib/fastly/models/type_waf_rule.rb +1 -1
  1080. data/lib/fastly/models/type_waf_rule_revision.rb +1 -1
  1081. data/lib/fastly/models/type_waf_tag.rb +1 -1
  1082. data/lib/fastly/models/update_billing_address_request.rb +1 -1
  1083. data/lib/fastly/models/update_billing_address_request_data.rb +1 -1
  1084. data/lib/fastly/models/update_dashboard_request.rb +240 -0
  1085. data/lib/fastly/models/user.rb +1 -1
  1086. data/lib/fastly/models/user_response.rb +1 -1
  1087. data/lib/fastly/models/user_response_read_only.rb +1 -1
  1088. data/lib/fastly/models/validator_result.rb +1 -1
  1089. data/lib/fastly/models/validator_result_data.rb +1 -1
  1090. data/lib/fastly/models/validator_result_data_attributes.rb +1 -1
  1091. data/lib/fastly/models/validator_result_data_attributes_messages.rb +1 -1
  1092. data/lib/fastly/models/values.rb +2 -2
  1093. data/lib/fastly/models/values_ddos.rb +268 -0
  1094. data/lib/fastly/models/vcl.rb +1 -1
  1095. data/lib/fastly/models/vcl_diff.rb +1 -1
  1096. data/lib/fastly/models/vcl_response.rb +1 -1
  1097. data/lib/fastly/models/vcl_syntax_highlighting_response.rb +1 -1
  1098. data/lib/fastly/models/version.rb +1 -1
  1099. data/lib/fastly/models/version_create_response.rb +1 -1
  1100. data/lib/fastly/models/version_detail.rb +1 -1
  1101. data/lib/fastly/models/version_detail_settings.rb +1 -1
  1102. data/lib/fastly/models/version_response.rb +17 -5
  1103. data/lib/fastly/models/version_response_all_of.rb +17 -5
  1104. data/lib/fastly/models/waf_active_rule.rb +1 -1
  1105. data/lib/fastly/models/waf_active_rule_creation_response.rb +1 -1
  1106. data/lib/fastly/models/waf_active_rule_data.rb +1 -1
  1107. data/lib/fastly/models/waf_active_rule_data_attributes.rb +1 -1
  1108. data/lib/fastly/models/waf_active_rule_response.rb +1 -1
  1109. data/lib/fastly/models/waf_active_rule_response_data.rb +1 -1
  1110. data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +1 -1
  1111. data/lib/fastly/models/waf_active_rule_response_data_attributes.rb +1 -1
  1112. data/lib/fastly/models/waf_active_rule_response_data_attributes_all_of.rb +1 -1
  1113. data/lib/fastly/models/waf_active_rule_response_data_relationships.rb +1 -1
  1114. data/lib/fastly/models/waf_active_rules_response.rb +1 -1
  1115. data/lib/fastly/models/waf_active_rules_response_all_of.rb +1 -1
  1116. data/lib/fastly/models/waf_exclusion.rb +1 -1
  1117. data/lib/fastly/models/waf_exclusion_data.rb +1 -1
  1118. data/lib/fastly/models/waf_exclusion_data_attributes.rb +1 -1
  1119. data/lib/fastly/models/waf_exclusion_response.rb +1 -1
  1120. data/lib/fastly/models/waf_exclusion_response_data.rb +1 -1
  1121. data/lib/fastly/models/waf_exclusion_response_data_all_of.rb +1 -1
  1122. data/lib/fastly/models/waf_exclusion_response_data_attributes.rb +1 -1
  1123. data/lib/fastly/models/waf_exclusion_response_data_attributes_all_of.rb +1 -1
  1124. data/lib/fastly/models/waf_exclusion_response_data_relationships.rb +1 -1
  1125. data/lib/fastly/models/waf_exclusions_response.rb +1 -1
  1126. data/lib/fastly/models/waf_exclusions_response_all_of.rb +1 -1
  1127. data/lib/fastly/models/waf_firewall.rb +1 -1
  1128. data/lib/fastly/models/waf_firewall_data.rb +1 -1
  1129. data/lib/fastly/models/waf_firewall_data_attributes.rb +1 -1
  1130. data/lib/fastly/models/waf_firewall_response.rb +1 -1
  1131. data/lib/fastly/models/waf_firewall_response_data.rb +1 -1
  1132. data/lib/fastly/models/waf_firewall_response_data_all_of.rb +1 -1
  1133. data/lib/fastly/models/waf_firewall_response_data_attributes.rb +1 -1
  1134. data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +1 -1
  1135. data/lib/fastly/models/waf_firewall_version.rb +1 -1
  1136. data/lib/fastly/models/waf_firewall_version_data.rb +1 -1
  1137. data/lib/fastly/models/waf_firewall_version_data_attributes.rb +1 -1
  1138. data/lib/fastly/models/waf_firewall_version_response.rb +1 -1
  1139. data/lib/fastly/models/waf_firewall_version_response_data.rb +1 -1
  1140. data/lib/fastly/models/waf_firewall_version_response_data_all_of.rb +1 -1
  1141. data/lib/fastly/models/waf_firewall_version_response_data_attributes.rb +1 -1
  1142. data/lib/fastly/models/waf_firewall_version_response_data_attributes_all_of.rb +1 -1
  1143. data/lib/fastly/models/waf_firewall_versions_response.rb +1 -1
  1144. data/lib/fastly/models/waf_firewall_versions_response_all_of.rb +1 -1
  1145. data/lib/fastly/models/waf_firewalls_response.rb +1 -1
  1146. data/lib/fastly/models/waf_firewalls_response_all_of.rb +1 -1
  1147. data/lib/fastly/models/waf_rule.rb +1 -1
  1148. data/lib/fastly/models/waf_rule_attributes.rb +1 -1
  1149. data/lib/fastly/models/waf_rule_response.rb +1 -1
  1150. data/lib/fastly/models/waf_rule_response_data.rb +1 -1
  1151. data/lib/fastly/models/waf_rule_response_data_all_of.rb +1 -1
  1152. data/lib/fastly/models/waf_rule_revision.rb +1 -1
  1153. data/lib/fastly/models/waf_rule_revision_attributes.rb +1 -1
  1154. data/lib/fastly/models/waf_rule_revision_or_latest.rb +1 -1
  1155. data/lib/fastly/models/waf_rule_revision_response.rb +1 -1
  1156. data/lib/fastly/models/waf_rule_revision_response_data.rb +1 -1
  1157. data/lib/fastly/models/waf_rule_revision_response_data_all_of.rb +1 -1
  1158. data/lib/fastly/models/waf_rule_revisions_response.rb +1 -1
  1159. data/lib/fastly/models/waf_rule_revisions_response_all_of.rb +1 -1
  1160. data/lib/fastly/models/waf_rules_response.rb +1 -1
  1161. data/lib/fastly/models/waf_rules_response_all_of.rb +1 -1
  1162. data/lib/fastly/models/waf_tag.rb +1 -1
  1163. data/lib/fastly/models/waf_tag_attributes.rb +1 -1
  1164. data/lib/fastly/models/waf_tags_response.rb +1 -1
  1165. data/lib/fastly/models/waf_tags_response_all_of.rb +1 -1
  1166. data/lib/fastly/models/waf_tags_response_data_item.rb +1 -1
  1167. data/lib/fastly/models/ws_message_format.rb +1 -1
  1168. data/lib/fastly/version.rb +2 -2
  1169. data/lib/fastly.rb +117 -27
  1170. data/sig.json +1 -1
  1171. metadata +236 -56
  1172. data/docs/HistoricalFieldResultsAttributes.md +0 -227
  1173. data/docs/HistoricalFieldResultsAttributesAdditional.md +0 -11
  1174. data/docs/RelationshipTlsDnsRecord.md +0 -10
  1175. data/docs/RelationshipTlsDnsRecordDnsRecord.md +0 -10
  1176. data/docs/RelationshipTlsDnsRecords.md +0 -10
  1177. data/lib/fastly/models/historical_field_results_attributes.rb +0 -2394
  1178. data/lib/fastly/models/origin_inspector_subsequent_request_timestamp.rb +0 -208
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -12,11 +12,14 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- # The Unix timestamp at which this record's data was generated.
16
- class RecordedTimestamp
15
+ class InlineResponse201
16
+ # Alphanumeric string identifying the address.
17
+ attr_accessor :id
18
+
17
19
  # Attribute mapping from ruby-style variable name to JSON key.
18
20
  def self.attribute_map
19
21
  {
22
+ :'id' => :'id'
20
23
  }
21
24
  end
22
25
 
@@ -28,6 +31,7 @@ module Fastly
28
31
  # Attribute type mapping.
29
32
  def self.fastly_types
30
33
  {
34
+ :'id' => :'String'
31
35
  }
32
36
  end
33
37
 
@@ -41,16 +45,20 @@ module Fastly
41
45
  # @param [Hash] attributes Model attributes in the form of hash
42
46
  def initialize(attributes = {})
43
47
  if (!attributes.is_a?(Hash))
44
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::RecordedTimestamp` initialize method"
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::InlineResponse201` initialize method"
45
49
  end
46
50
 
47
51
  # check to see if the attribute exists and convert string to symbol for hash key
48
52
  attributes = attributes.each_with_object({}) { |(k, v), h|
49
53
  if (!self.class.attribute_map.key?(k.to_sym))
50
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::RecordedTimestamp`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::InlineResponse201`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
51
55
  end
52
56
  h[k.to_sym] = v
53
57
  }
58
+
59
+ if attributes.key?(:'id')
60
+ self.id = attributes[:'id']
61
+ end
54
62
  end
55
63
 
56
64
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -70,7 +78,8 @@ module Fastly
70
78
  # @param [Object] Object to be compared
71
79
  def ==(o)
72
80
  return true if self.equal?(o)
73
- self.class == o.class
81
+ self.class == o.class &&
82
+ id == o.id
74
83
  end
75
84
 
76
85
  # @see the `==` method
@@ -82,7 +91,7 @@ module Fastly
82
91
  # Calculates hash code according to all attributes.
83
92
  # @return [Integer] Hash code
84
93
  def hash
85
- [].hash
94
+ [id].hash
86
95
  end
87
96
 
88
97
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Fastly API
3
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://developer.fastly.com/reference/api/)
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
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: oss@fastly.com
@@ -0,0 +1,298 @@
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 Invoice
16
+ # Customer ID associated with the invoice.
17
+ attr_accessor :customer_id
18
+
19
+ # Numeric string identifying the invoice.
20
+ attr_accessor :invoice_id
21
+
22
+ # Date and time invoice was posted on, in ISO 8601 format.
23
+ attr_accessor :invoice_posted_on
24
+
25
+ # Date and time (in ISO 8601 format) for initiation point of a billing cycle, signifying the start of charges for a service or subscription.
26
+ attr_accessor :billing_start_date
27
+
28
+ # Date and time (in ISO 8601 format) for termination point of a billing cycle, signifying the end of charges for a service or subscription.
29
+ attr_accessor :billing_end_date
30
+
31
+ # Alphanumeric string identifying the statement number.
32
+ attr_accessor :statement_number
33
+
34
+ # Three-letter code representing a specific currency used for financial transactions.
35
+ attr_accessor :currency_code
36
+
37
+ # Total billable amount for invoiced services charged within a single month.
38
+ attr_accessor :monthly_transaction_amount
39
+
40
+ attr_accessor :transaction_line_items
41
+
42
+ # Attribute mapping from ruby-style variable name to JSON key.
43
+ def self.attribute_map
44
+ {
45
+ :'customer_id' => :'customer_id',
46
+ :'invoice_id' => :'invoice_id',
47
+ :'invoice_posted_on' => :'invoice_posted_on',
48
+ :'billing_start_date' => :'billing_start_date',
49
+ :'billing_end_date' => :'billing_end_date',
50
+ :'statement_number' => :'statement_number',
51
+ :'currency_code' => :'currency_code',
52
+ :'monthly_transaction_amount' => :'monthly_transaction_amount',
53
+ :'transaction_line_items' => :'transaction_line_items'
54
+ }
55
+ end
56
+
57
+ # Returns all the JSON keys this model knows about
58
+ def self.acceptable_attributes
59
+ attribute_map.values
60
+ end
61
+
62
+ # Attribute type mapping.
63
+ def self.fastly_types
64
+ {
65
+ :'customer_id' => :'String',
66
+ :'invoice_id' => :'String',
67
+ :'invoice_posted_on' => :'Time',
68
+ :'billing_start_date' => :'Time',
69
+ :'billing_end_date' => :'Time',
70
+ :'statement_number' => :'String',
71
+ :'currency_code' => :'String',
72
+ :'monthly_transaction_amount' => :'Float',
73
+ :'transaction_line_items' => :'Array<Invoicelineitems>'
74
+ }
75
+ end
76
+
77
+ # List of attributes with nullable: true
78
+ def self.fastly_nullable
79
+ Set.new([
80
+ ])
81
+ end
82
+
83
+ # Initializes the object
84
+ # @param [Hash] attributes Model attributes in the form of hash
85
+ def initialize(attributes = {})
86
+ if (!attributes.is_a?(Hash))
87
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::Invoice` initialize method"
88
+ end
89
+
90
+ # check to see if the attribute exists and convert string to symbol for hash key
91
+ attributes = attributes.each_with_object({}) { |(k, v), h|
92
+ if (!self.class.attribute_map.key?(k.to_sym))
93
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::Invoice`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
94
+ end
95
+ h[k.to_sym] = v
96
+ }
97
+
98
+ if attributes.key?(:'customer_id')
99
+ self.customer_id = attributes[:'customer_id']
100
+ end
101
+
102
+ if attributes.key?(:'invoice_id')
103
+ self.invoice_id = attributes[:'invoice_id']
104
+ end
105
+
106
+ if attributes.key?(:'invoice_posted_on')
107
+ self.invoice_posted_on = attributes[:'invoice_posted_on']
108
+ end
109
+
110
+ if attributes.key?(:'billing_start_date')
111
+ self.billing_start_date = attributes[:'billing_start_date']
112
+ end
113
+
114
+ if attributes.key?(:'billing_end_date')
115
+ self.billing_end_date = attributes[:'billing_end_date']
116
+ end
117
+
118
+ if attributes.key?(:'statement_number')
119
+ self.statement_number = attributes[:'statement_number']
120
+ end
121
+
122
+ if attributes.key?(:'currency_code')
123
+ self.currency_code = attributes[:'currency_code']
124
+ end
125
+
126
+ if attributes.key?(:'monthly_transaction_amount')
127
+ self.monthly_transaction_amount = attributes[:'monthly_transaction_amount']
128
+ end
129
+
130
+ if attributes.key?(:'transaction_line_items')
131
+ if (value = attributes[:'transaction_line_items']).is_a?(Array)
132
+ self.transaction_line_items = value
133
+ end
134
+ end
135
+ end
136
+
137
+ # Show invalid properties with the reasons. Usually used together with valid?
138
+ # @return Array for valid properties with the reasons
139
+ def list_invalid_properties
140
+ invalid_properties = Array.new
141
+ invalid_properties
142
+ end
143
+
144
+ # Check to see if the all the properties in the model are valid
145
+ # @return true if the model is valid
146
+ def valid?
147
+ true
148
+ end
149
+
150
+ # Checks equality by comparing each attribute.
151
+ # @param [Object] Object to be compared
152
+ def ==(o)
153
+ return true if self.equal?(o)
154
+ self.class == o.class &&
155
+ customer_id == o.customer_id &&
156
+ invoice_id == o.invoice_id &&
157
+ invoice_posted_on == o.invoice_posted_on &&
158
+ billing_start_date == o.billing_start_date &&
159
+ billing_end_date == o.billing_end_date &&
160
+ statement_number == o.statement_number &&
161
+ currency_code == o.currency_code &&
162
+ monthly_transaction_amount == o.monthly_transaction_amount &&
163
+ transaction_line_items == o.transaction_line_items
164
+ end
165
+
166
+ # @see the `==` method
167
+ # @param [Object] Object to be compared
168
+ def eql?(o)
169
+ self == o
170
+ end
171
+
172
+ # Calculates hash code according to all attributes.
173
+ # @return [Integer] Hash code
174
+ def hash
175
+ [customer_id, invoice_id, invoice_posted_on, billing_start_date, billing_end_date, statement_number, currency_code, monthly_transaction_amount, transaction_line_items].hash
176
+ end
177
+
178
+ # Builds the object from hash
179
+ # @param [Hash] attributes Model attributes in the form of hash
180
+ # @return [Object] Returns the model itself
181
+ def self.build_from_hash(attributes)
182
+ new.build_from_hash(attributes)
183
+ end
184
+
185
+ # Builds the object from hash
186
+ # @param [Hash] attributes Model attributes in the form of hash
187
+ # @return [Object] Returns the model itself
188
+ def build_from_hash(attributes)
189
+ return nil unless attributes.is_a?(Hash)
190
+ self.class.fastly_types.each_pair do |key, type|
191
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
192
+ self.send("#{key}=", nil)
193
+ elsif type =~ /\AArray<(.*)>/i
194
+ # check to ensure the input is an array given that the attribute
195
+ # is documented as an array but the input is not
196
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
197
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
198
+ end
199
+ elsif !attributes[self.class.attribute_map[key]].nil?
200
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
201
+ end
202
+ end
203
+
204
+ self
205
+ end
206
+
207
+ # Deserializes the data based on type
208
+ # @param string type Data type
209
+ # @param string value Value to be deserialized
210
+ # @return [Object] Deserialized data
211
+ def _deserialize(type, value)
212
+ case type.to_sym
213
+ when :Time
214
+ Time.parse(value)
215
+ when :Date
216
+ Date.parse(value)
217
+ when :String
218
+ value.to_s
219
+ when :Integer
220
+ value.to_i
221
+ when :Float
222
+ value.to_f
223
+ when :Boolean
224
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
225
+ true
226
+ else
227
+ false
228
+ end
229
+ when :Object
230
+ # generic object (usually a Hash), return directly
231
+ value
232
+ when /\AArray<(?<inner_type>.+)>\z/
233
+ inner_type = Regexp.last_match[:inner_type]
234
+ value.map { |v| _deserialize(inner_type, v) }
235
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
236
+ k_type = Regexp.last_match[:k_type]
237
+ v_type = Regexp.last_match[:v_type]
238
+ {}.tap do |hash|
239
+ value.each do |k, v|
240
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
241
+ end
242
+ end
243
+ else # model
244
+ # models (e.g. Pet) or oneOf
245
+ klass = Fastly.const_get(type)
246
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
247
+ end
248
+ end
249
+
250
+ # Returns the string representation of the object
251
+ # @return [String] String presentation of the object
252
+ def to_s
253
+ to_hash.to_s
254
+ end
255
+
256
+ # to_body is an alias to to_hash (backward compatibility)
257
+ # @return [Hash] Returns the object in the form of hash
258
+ def to_body
259
+ to_hash
260
+ end
261
+
262
+ # Returns the object in the form of hash
263
+ # @return [Hash] Returns the object in the form of hash
264
+ def to_hash
265
+ hash = {}
266
+ self.class.attribute_map.each_pair do |attr, param|
267
+ value = self.send(attr)
268
+ if value.nil?
269
+ is_nullable = self.class.fastly_nullable.include?(attr)
270
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
271
+ end
272
+
273
+ hash[param] = _to_hash(value)
274
+ end
275
+ hash
276
+ end
277
+
278
+ # Outputs non-array value in the form of hash
279
+ # For object, use to_hash. Otherwise, just return the value
280
+ # @param [Object] value Any valid value
281
+ # @return [Hash] Returns the value in the form of hash
282
+ def _to_hash(value)
283
+ if value.is_a?(Array)
284
+ value.compact.map { |v| _to_hash(v) }
285
+ elsif value.is_a?(Hash)
286
+ {}.tap do |hash|
287
+ value.each { |k, v| hash[k] = _to_hash(v) }
288
+ end
289
+ elsif value.respond_to? :to_hash
290
+ value.to_hash
291
+ else
292
+ value
293
+ end
294
+ end
295
+
296
+ end
297
+
298
+ end