fastly 6.0.2 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +7 -2
  5. data/docs/Backend.md +1 -0
  6. data/docs/BackendApi.md +4 -0
  7. data/docs/BackendResponse.md +1 -0
  8. data/docs/CacheSetting.md +2 -2
  9. data/docs/CacheSettingResponse.md +3 -3
  10. data/docs/CacheSettingsApi.md +8 -8
  11. data/docs/DomainApi.md +2 -2
  12. data/docs/GzipResponse.md +1 -1
  13. data/docs/Header.md +0 -2
  14. data/docs/HeaderApi.md +8 -8
  15. data/docs/HeaderResponse.md +3 -3
  16. data/docs/HeaderResponseAdditional.md +11 -0
  17. data/docs/{LoggingAzureblobAllOf.md → LoggingAzureblobAdditional.md} +1 -1
  18. data/docs/LoggingAzureblobApi.md +8 -8
  19. data/docs/LoggingAzureblobResponse.md +8 -8
  20. data/docs/{LoggingBigqueryAllOf.md → LoggingBigqueryAdditional.md} +1 -1
  21. data/docs/LoggingBigqueryApi.md +4 -4
  22. data/docs/LoggingBigqueryResponse.md +2 -2
  23. data/docs/{LoggingCloudfilesAllOf.md → LoggingCloudfilesAdditional.md} +1 -1
  24. data/docs/LoggingCloudfilesApi.md +8 -8
  25. data/docs/LoggingCloudfilesResponse.md +8 -8
  26. data/docs/LoggingCommon.md +0 -1
  27. data/docs/{LoggingPapertrail.md → LoggingCommonResponse.md} +2 -4
  28. data/docs/{LoggingLogshuttle.md → LoggingCommonResponseAllOf.md} +1 -4
  29. data/docs/LoggingCommonResponseAllOf1.md +10 -0
  30. data/docs/{LoggingDatadogAllOf.md → LoggingDatadogAdditional.md} +1 -1
  31. data/docs/LoggingDatadogApi.md +4 -4
  32. data/docs/LoggingDatadogResponse.md +2 -2
  33. data/docs/{LoggingDigitaloceanAllOf.md → LoggingDigitaloceanAdditional.md} +1 -1
  34. data/docs/LoggingDigitaloceanApi.md +8 -8
  35. data/docs/LoggingDigitaloceanResponse.md +8 -8
  36. data/docs/{LoggingElasticsearchAllOf.md → LoggingElasticsearchAdditional.md} +1 -1
  37. data/docs/LoggingElasticsearchApi.md +4 -4
  38. data/docs/LoggingElasticsearchResponse.md +2 -2
  39. data/docs/LoggingFormatVersionInteger.md +10 -0
  40. data/docs/LoggingFormatVersionString.md +10 -0
  41. data/docs/{LoggingFtpAllOf.md → LoggingFtpAdditional.md} +1 -2
  42. data/docs/LoggingFtpApi.md +12 -12
  43. data/docs/LoggingFtpResponse.md +9 -9
  44. data/docs/{LoggingFormatVersion.md → LoggingFtpResponseAllOf.md} +2 -1
  45. data/docs/{LoggingGcsAllOf.md → LoggingGcsAdditional.md} +1 -1
  46. data/docs/LoggingGcsApi.md +8 -8
  47. data/docs/LoggingGcsResponse.md +8 -8
  48. data/docs/LoggingGenericCommon.md +0 -2
  49. data/docs/LoggingGenericCommonResponse.md +14 -0
  50. data/docs/LoggingGenericCommonResponseAllOf.md +12 -0
  51. data/docs/LoggingGenericCommonResponseAllOf1.md +11 -0
  52. data/docs/{LoggingGooglePubsubAllOf.md → LoggingGooglePubsubAdditional.md} +1 -1
  53. data/docs/LoggingGooglePubsubResponse.md +2 -2
  54. data/docs/{LoggingHerokuAllOf.md → LoggingHerokuAdditional.md} +1 -1
  55. data/docs/LoggingHerokuApi.md +4 -4
  56. data/docs/LoggingHerokuResponse.md +2 -2
  57. data/docs/{LoggingHoneycombAllOf.md → LoggingHoneycombAdditional.md} +1 -1
  58. data/docs/LoggingHoneycombApi.md +8 -8
  59. data/docs/LoggingHoneycombResponse.md +2 -2
  60. data/docs/{LoggingHttpsAllOf.md → LoggingHttpsAdditional.md} +1 -1
  61. data/docs/LoggingHttpsApi.md +4 -4
  62. data/docs/LoggingHttpsResponse.md +2 -2
  63. data/docs/{LoggingKafkaAllOf.md → LoggingKafkaAdditional.md} +1 -1
  64. data/docs/LoggingKafkaApi.md +4 -4
  65. data/docs/LoggingKafkaResponse.md +6 -6
  66. data/docs/{LoggingKafka.md → LoggingKafkaResponsePost.md} +7 -2
  67. data/docs/{LoggingKinesis.md → LoggingKinesisAdditional.md} +1 -2
  68. data/docs/LoggingKinesisApi.md +2 -2
  69. data/docs/LoggingKinesisResponse.md +2 -2
  70. data/docs/{LoggingLogentriesAllOf.md → LoggingLogentriesAdditional.md} +1 -1
  71. data/docs/LoggingLogentriesApi.md +4 -4
  72. data/docs/LoggingLogentriesResponse.md +2 -2
  73. data/docs/{LoggingLogglyAllOf.md → LoggingLogglyAdditional.md} +1 -1
  74. data/docs/LoggingLogglyApi.md +4 -4
  75. data/docs/LoggingLogglyResponse.md +2 -2
  76. data/docs/{LoggingLogshuttleAllOf.md → LoggingLogshuttleAdditional.md} +1 -1
  77. data/docs/LoggingLogshuttleApi.md +4 -4
  78. data/docs/LoggingLogshuttleResponse.md +2 -2
  79. data/docs/{LoggingNewrelicAllOf.md → LoggingNewrelicAdditional.md} +1 -1
  80. data/docs/LoggingNewrelicApi.md +4 -4
  81. data/docs/LoggingNewrelicResponse.md +2 -2
  82. data/docs/LoggingNewrelicotlpAdditional.md +13 -0
  83. data/docs/LoggingNewrelicotlpApi.md +252 -0
  84. data/docs/LoggingNewrelicotlpResponse.md +22 -0
  85. data/docs/{LoggingOpenstackAllOf.md → LoggingOpenstackAdditional.md} +1 -1
  86. data/docs/LoggingOpenstackApi.md +8 -8
  87. data/docs/LoggingOpenstackResponse.md +8 -8
  88. data/docs/LoggingPapertrailApi.md +4 -4
  89. data/docs/LoggingPapertrailResponse.md +2 -2
  90. data/docs/LoggingPubsubApi.md +4 -4
  91. data/docs/{LoggingS3AllOf.md → LoggingS3Additional.md} +1 -1
  92. data/docs/LoggingS3Api.md +8 -8
  93. data/docs/LoggingS3Response.md +8 -8
  94. data/docs/{LoggingScalyrAllOf.md → LoggingScalyrAdditional.md} +1 -1
  95. data/docs/LoggingScalyrApi.md +4 -4
  96. data/docs/LoggingScalyrResponse.md +2 -2
  97. data/docs/{LoggingSftpAllOf.md → LoggingSftpAdditional.md} +1 -2
  98. data/docs/LoggingSftpApi.md +8 -8
  99. data/docs/LoggingSftpResponse.md +10 -10
  100. data/docs/LoggingSftpResponseAllOf.md +13 -0
  101. data/docs/{LoggingSplunkAllOf.md → LoggingSplunkAdditional.md} +1 -1
  102. data/docs/LoggingSplunkApi.md +4 -4
  103. data/docs/LoggingSplunkResponse.md +2 -2
  104. data/docs/{LoggingSumologicAllOf.md → LoggingSumologicAdditional.md} +1 -1
  105. data/docs/LoggingSumologicApi.md +4 -4
  106. data/docs/LoggingSumologicResponse.md +2 -2
  107. data/docs/{LoggingSyslogAllOf.md → LoggingSyslogAdditional.md} +1 -1
  108. data/docs/LoggingSyslogApi.md +4 -4
  109. data/docs/LoggingSyslogResponse.md +2 -2
  110. data/docs/{PoolAllOf.md → PoolAdditional.md} +1 -6
  111. data/docs/PoolApi.md +46 -22
  112. data/docs/PoolResponse.md +12 -11
  113. data/docs/PoolResponseAllOf.md +1 -1
  114. data/docs/PoolResponseCommon.md +15 -0
  115. data/docs/{Pool.md → PoolResponsePost.md} +14 -7
  116. data/docs/PoolResponsePostAllOf.md +10 -0
  117. data/docs/RequestSettingsAdditional.md +15 -0
  118. data/docs/RequestSettingsApi.md +10 -10
  119. data/docs/RequestSettingsResponse.md +11 -11
  120. data/docs/RequestSettingsResponseAllOf.md +15 -0
  121. data/docs/ResponseObject.md +1 -1
  122. data/docs/ResponseObjectResponse.md +2 -2
  123. data/docs/SecretStoreApi.md +3 -3
  124. data/docs/ServiceIdAndVersionString.md +11 -0
  125. data/docs/TlsCommonResponse.md +14 -0
  126. data/docs/{TlsCommon.md → TlsCommonResponseAllOf.md} +1 -2
  127. data/docs/TlsCommonResponseAllOf1.md +10 -0
  128. data/docs/TlsDomainsApi.md +2 -2
  129. data/docs/TlsSubscriptionsApi.md +4 -4
  130. data/lib/fastly/api/backend_api.rb +16 -0
  131. data/lib/fastly/api/cache_settings_api.rb +8 -8
  132. data/lib/fastly/api/domain_api.rb +3 -3
  133. data/lib/fastly/api/header_api.rb +12 -12
  134. data/lib/fastly/api/logging_azureblob_api.rb +12 -12
  135. data/lib/fastly/api/logging_bigquery_api.rb +6 -6
  136. data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
  137. data/lib/fastly/api/logging_datadog_api.rb +6 -6
  138. data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
  139. data/lib/fastly/api/logging_elasticsearch_api.rb +6 -6
  140. data/lib/fastly/api/logging_ftp_api.rb +18 -18
  141. data/lib/fastly/api/logging_gcs_api.rb +12 -12
  142. data/lib/fastly/api/logging_heroku_api.rb +6 -6
  143. data/lib/fastly/api/logging_honeycomb_api.rb +12 -12
  144. data/lib/fastly/api/logging_https_api.rb +6 -6
  145. data/lib/fastly/api/logging_kafka_api.rb +6 -6
  146. data/lib/fastly/api/logging_kinesis_api.rb +7 -3
  147. data/lib/fastly/api/logging_logentries_api.rb +6 -6
  148. data/lib/fastly/api/logging_loggly_api.rb +6 -6
  149. data/lib/fastly/api/logging_logshuttle_api.rb +6 -6
  150. data/lib/fastly/api/logging_newrelic_api.rb +6 -6
  151. data/lib/fastly/api/logging_newrelicotlp_api.rb +473 -0
  152. data/lib/fastly/api/logging_openstack_api.rb +12 -12
  153. data/lib/fastly/api/logging_papertrail_api.rb +6 -6
  154. data/lib/fastly/api/logging_pubsub_api.rb +6 -6
  155. data/lib/fastly/api/logging_s3_api.rb +12 -12
  156. data/lib/fastly/api/logging_scalyr_api.rb +6 -6
  157. data/lib/fastly/api/logging_sftp_api.rb +12 -12
  158. data/lib/fastly/api/logging_splunk_api.rb +6 -6
  159. data/lib/fastly/api/logging_sumologic_api.rb +6 -6
  160. data/lib/fastly/api/logging_syslog_api.rb +6 -6
  161. data/lib/fastly/api/pool_api.rb +77 -41
  162. data/lib/fastly/api/rate_limiter_api.rb +2 -2
  163. data/lib/fastly/api/request_settings_api.rb +15 -15
  164. data/lib/fastly/api/secret_store_api.rb +2 -2
  165. data/lib/fastly/api/tls_domains_api.rb +2 -2
  166. data/lib/fastly/api/tls_subscriptions_api.rb +4 -4
  167. data/lib/fastly/configuration.rb +30 -0
  168. data/lib/fastly/models/backend.rb +29 -1
  169. data/lib/fastly/models/backend_response.rb +29 -1
  170. data/lib/fastly/models/cache_setting.rb +2 -2
  171. data/lib/fastly/models/cache_setting_response.rb +4 -4
  172. data/lib/fastly/models/gzip_response.rb +2 -2
  173. data/lib/fastly/models/header.rb +1 -23
  174. data/lib/fastly/models/header_response.rb +26 -25
  175. data/lib/fastly/models/header_response_additional.rb +229 -0
  176. data/lib/fastly/models/{logging_azureblob_all_of.rb → logging_azureblob_additional.rb} +3 -3
  177. data/lib/fastly/models/logging_azureblob_response.rb +82 -80
  178. data/lib/fastly/models/{logging_bigquery_all_of.rb → logging_bigquery_additional.rb} +3 -3
  179. data/lib/fastly/models/logging_bigquery_response.rb +20 -18
  180. data/lib/fastly/models/{logging_cloudfiles_all_of.rb → logging_cloudfiles_additional.rb} +3 -3
  181. data/lib/fastly/models/logging_cloudfiles_response.rb +83 -81
  182. data/lib/fastly/models/logging_common.rb +1 -25
  183. data/lib/fastly/models/{logging_loggly.rb → logging_common_response.rb} +17 -27
  184. data/lib/fastly/models/{logging_logshuttle.rb → logging_common_response_all_of.rb} +7 -60
  185. data/lib/fastly/models/logging_common_response_all_of1.rb +253 -0
  186. data/lib/fastly/models/{logging_datadog_all_of.rb → logging_datadog_additional.rb} +3 -3
  187. data/lib/fastly/models/logging_datadog_response.rb +19 -18
  188. data/lib/fastly/models/{logging_digitalocean_all_of.rb → logging_digitalocean_additional.rb} +3 -3
  189. data/lib/fastly/models/logging_digitalocean_response.rb +82 -80
  190. data/lib/fastly/models/{logging_elasticsearch_all_of.rb → logging_elasticsearch_additional.rb} +3 -3
  191. data/lib/fastly/models/logging_elasticsearch_response.rb +21 -18
  192. data/lib/fastly/models/logging_format_version_integer.rb +253 -0
  193. data/lib/fastly/models/logging_format_version_string.rb +253 -0
  194. data/lib/fastly/models/{logging_ftp_all_of.rb → logging_ftp_additional.rb} +4 -16
  195. data/lib/fastly/models/logging_ftp_response.rb +88 -85
  196. data/lib/fastly/models/logging_ftp_response_all_of.rb +219 -0
  197. data/lib/fastly/models/{logging_gcs_all_of.rb → logging_gcs_additional.rb} +3 -3
  198. data/lib/fastly/models/logging_gcs_response.rb +80 -77
  199. data/lib/fastly/models/logging_generic_common.rb +1 -25
  200. data/lib/fastly/models/{logging_sumologic.rb → logging_generic_common_response.rb} +60 -80
  201. data/lib/fastly/models/logging_generic_common_response_all_of.rb +286 -0
  202. data/lib/fastly/models/logging_generic_common_response_all_of1.rb +231 -0
  203. data/lib/fastly/models/{logging_google_pubsub_all_of.rb → logging_google_pubsub_additional.rb} +3 -3
  204. data/lib/fastly/models/logging_google_pubsub_response.rb +20 -18
  205. data/lib/fastly/models/{logging_heroku_all_of.rb → logging_heroku_additional.rb} +3 -3
  206. data/lib/fastly/models/logging_heroku_response.rb +19 -18
  207. data/lib/fastly/models/{logging_honeycomb_all_of.rb → logging_honeycomb_additional.rb} +3 -3
  208. data/lib/fastly/models/logging_honeycomb_response.rb +19 -18
  209. data/lib/fastly/models/{logging_https_all_of.rb → logging_https_additional.rb} +3 -3
  210. data/lib/fastly/models/logging_https_response.rb +21 -18
  211. data/lib/fastly/models/{logging_kafka_all_of.rb → logging_kafka_additional.rb} +3 -3
  212. data/lib/fastly/models/logging_kafka_response.rb +71 -69
  213. data/lib/fastly/models/{logging_kafka.rb → logging_kafka_response_post.rb} +72 -18
  214. data/lib/fastly/models/{logging_kinesis.rb → logging_kinesis_additional.rb} +4 -15
  215. data/lib/fastly/models/logging_kinesis_response.rb +51 -15
  216. data/lib/fastly/models/{logging_logentries_all_of.rb → logging_logentries_additional.rb} +3 -3
  217. data/lib/fastly/models/logging_logentries_response.rb +19 -18
  218. data/lib/fastly/models/{logging_loggly_all_of.rb → logging_loggly_additional.rb} +3 -3
  219. data/lib/fastly/models/logging_loggly_response.rb +19 -18
  220. data/lib/fastly/models/{logging_logshuttle_all_of.rb → logging_logshuttle_additional.rb} +3 -3
  221. data/lib/fastly/models/logging_logshuttle_response.rb +19 -18
  222. data/lib/fastly/models/{logging_newrelic_all_of.rb → logging_newrelic_additional.rb} +3 -3
  223. data/lib/fastly/models/logging_newrelic_response.rb +19 -18
  224. data/lib/fastly/models/logging_newrelicotlp_additional.rb +288 -0
  225. data/lib/fastly/models/{logging_newrelic.rb → logging_newrelicotlp_response.rb} +90 -24
  226. data/lib/fastly/models/{logging_openstack_all_of.rb → logging_openstack_additional.rb} +3 -3
  227. data/lib/fastly/models/logging_openstack_response.rb +82 -80
  228. data/lib/fastly/models/logging_papertrail_response.rb +19 -18
  229. data/lib/fastly/models/{logging_s3_all_of.rb → logging_s3_additional.rb} +3 -3
  230. data/lib/fastly/models/logging_s3_response.rb +84 -82
  231. data/lib/fastly/models/{logging_scalyr_all_of.rb → logging_scalyr_additional.rb} +3 -3
  232. data/lib/fastly/models/logging_scalyr_response.rb +19 -18
  233. data/lib/fastly/models/{logging_sftp_all_of.rb → logging_sftp_additional.rb} +4 -16
  234. data/lib/fastly/models/logging_sftp_response.rb +97 -94
  235. data/lib/fastly/models/{domain_check_item.rb → logging_sftp_response_all_of.rb} +44 -40
  236. data/lib/fastly/models/{logging_splunk_all_of.rb → logging_splunk_additional.rb} +3 -3
  237. data/lib/fastly/models/logging_splunk_response.rb +21 -18
  238. data/lib/fastly/models/{logging_sumologic_all_of.rb → logging_sumologic_additional.rb} +3 -3
  239. data/lib/fastly/models/logging_sumologic_response.rb +19 -18
  240. data/lib/fastly/models/{logging_syslog_all_of.rb → logging_syslog_additional.rb} +3 -3
  241. data/lib/fastly/models/logging_syslog_response.rb +21 -18
  242. data/lib/fastly/models/{pool_all_of.rb → pool_additional.rb} +4 -83
  243. data/lib/fastly/models/pool_response.rb +113 -125
  244. data/lib/fastly/models/pool_response_all_of.rb +10 -7
  245. data/lib/fastly/models/pool_response_common.rb +269 -0
  246. data/lib/fastly/models/{pool.rb → pool_response_post.rb} +142 -92
  247. data/lib/fastly/models/pool_response_post_all_of.rb +219 -0
  248. data/lib/fastly/models/rate_limiter.rb +2 -2
  249. data/lib/fastly/models/rate_limiter_response.rb +2 -2
  250. data/lib/fastly/models/{request_settings.rb → request_settings_additional.rb} +4 -64
  251. data/lib/fastly/models/request_settings_response.rb +96 -95
  252. data/lib/fastly/models/request_settings_response_all_of.rb +267 -0
  253. data/lib/fastly/models/response_object.rb +2 -2
  254. data/lib/fastly/models/response_object_response.rb +4 -4
  255. data/lib/fastly/models/{tls_subscription_response_data_all_of.rb → service_id_and_version_string.rb} +16 -16
  256. data/lib/fastly/models/{tls_common.rb → tls_common_response.rb} +15 -7
  257. data/lib/fastly/models/tls_common_response_all_of.rb +259 -0
  258. data/lib/fastly/models/tls_common_response_all_of1.rb +253 -0
  259. data/lib/fastly/models/tls_subscription_response_data.rb +0 -7
  260. data/lib/fastly/version.rb +1 -1
  261. data/lib/fastly.rb +50 -57
  262. data/sig.json +1 -1
  263. metadata +102 -116
  264. data/docs/DomainCheckItem.md +0 -11
  265. data/docs/LoggingAzureblob.md +0 -25
  266. data/docs/LoggingBigquery.md +0 -21
  267. data/docs/LoggingCloudfiles.md +0 -25
  268. data/docs/LoggingDatadog.md +0 -16
  269. data/docs/LoggingDigitalocean.md +0 -25
  270. data/docs/LoggingElasticsearch.md +0 -25
  271. data/docs/LoggingFtp.md +0 -27
  272. data/docs/LoggingGcs.md +0 -26
  273. data/docs/LoggingGooglePubsub.md +0 -19
  274. data/docs/LoggingHeroku.md +0 -16
  275. data/docs/LoggingHoneycomb.md +0 -16
  276. data/docs/LoggingHttps.md +0 -27
  277. data/docs/LoggingLogentries.md +0 -18
  278. data/docs/LoggingLoggly.md +0 -15
  279. data/docs/LoggingNewrelic.md +0 -16
  280. data/docs/LoggingOpenstack.md +0 -25
  281. data/docs/LoggingS3.md +0 -30
  282. data/docs/LoggingScalyr.md +0 -17
  283. data/docs/LoggingSftp.md +0 -27
  284. data/docs/LoggingSplunk.md +0 -23
  285. data/docs/LoggingSumologic.md +0 -16
  286. data/docs/LoggingSyslog.md +0 -25
  287. data/docs/RequestSettings.md +0 -21
  288. data/docs/TlsSubscriptionResponseDataAllOf.md +0 -11
  289. data/lib/fastly/models/logging_azureblob.rb +0 -480
  290. data/lib/fastly/models/logging_bigquery.rb +0 -387
  291. data/lib/fastly/models/logging_cloudfiles.rb +0 -478
  292. data/lib/fastly/models/logging_datadog.rb +0 -351
  293. data/lib/fastly/models/logging_digitalocean.rb +0 -467
  294. data/lib/fastly/models/logging_elasticsearch.rb +0 -446
  295. data/lib/fastly/models/logging_format_version.rb +0 -35
  296. data/lib/fastly/models/logging_ftp.rb +0 -484
  297. data/lib/fastly/models/logging_gcs.rb +0 -474
  298. data/lib/fastly/models/logging_google_pubsub.rb +0 -368
  299. data/lib/fastly/models/logging_heroku.rb +0 -337
  300. data/lib/fastly/models/logging_honeycomb.rb +0 -335
  301. data/lib/fastly/models/logging_https.rb +0 -501
  302. data/lib/fastly/models/logging_logentries.rb +0 -372
  303. data/lib/fastly/models/logging_openstack.rb +0 -465
  304. data/lib/fastly/models/logging_papertrail.rb +0 -339
  305. data/lib/fastly/models/logging_s3.rb +0 -527
  306. data/lib/fastly/models/logging_scalyr.rb +0 -363
  307. data/lib/fastly/models/logging_sftp.rb +0 -491
  308. data/lib/fastly/models/logging_splunk.rb +0 -426
  309. data/lib/fastly/models/logging_syslog.rb +0 -449
@@ -22,7 +22,7 @@ module Fastly
22
22
  # @option opts [String] :filter_in_use Optional. Limit the returned domains to those currently using Fastly to terminate TLS with SNI (that is, domains considered \"in use\") Permitted values: true, false.
23
23
  # @option opts [String] :filter_tls_certificates_id Optional. Limit the returned domains to those listed in the given TLS certificate's SAN list.
24
24
  # @option opts [String] :filter_tls_subscriptions_id Optional. Limit the returned domains to those for a given TLS subscription.
25
- # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_activations`, `tls_certificates`, `tls_subscriptions`, `tls_subscriptions.tls_authorizations`, and `tls_authorizations.globalsign_email_challenge`.
25
+ # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_activations`, `tls_certificates`, `tls_subscriptions`, `tls_subscriptions.tls_authorizations`, `tls_authorizations.globalsign_email_challenge`, and `tls_authorizations.self_managed_http_challenge`.
26
26
  # @option opts [Integer] :page_number Current page.
27
27
  # @option opts [Integer] :page_size Number of records per page. (default to 20)
28
28
  # @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
@@ -37,7 +37,7 @@ module Fastly
37
37
  # @option opts [String] :filter_in_use Optional. Limit the returned domains to those currently using Fastly to terminate TLS with SNI (that is, domains considered \"in use\") Permitted values: true, false.
38
38
  # @option opts [String] :filter_tls_certificates_id Optional. Limit the returned domains to those listed in the given TLS certificate's SAN list.
39
39
  # @option opts [String] :filter_tls_subscriptions_id Optional. Limit the returned domains to those for a given TLS subscription.
40
- # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_activations`, `tls_certificates`, `tls_subscriptions`, `tls_subscriptions.tls_authorizations`, and `tls_authorizations.globalsign_email_challenge`.
40
+ # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_activations`, `tls_certificates`, `tls_subscriptions`, `tls_subscriptions.tls_authorizations`, `tls_authorizations.globalsign_email_challenge`, and `tls_authorizations.self_managed_http_challenge`.
41
41
  # @option opts [Integer] :page_number Current page.
42
42
  # @option opts [Integer] :page_size Number of records per page. (default to 20)
43
43
  # @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
@@ -299,7 +299,7 @@ module Fastly
299
299
  # Get a TLS subscription
300
300
  # Show a TLS subscription.
301
301
  # @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required)
302
- # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations` and `tls_authorizations.globalsign_email_challenge`.
302
+ # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations`, `tls_authorizations.globalsign_email_challenge`, and `tls_authorizations.self_managed_http_challenge`.
303
303
  # @return [TlsSubscriptionResponse]
304
304
  def get_tls_sub(opts = {})
305
305
  data, _status_code, _headers = get_tls_sub_with_http_info(opts)
@@ -309,7 +309,7 @@ module Fastly
309
309
  # Get a TLS subscription
310
310
  # Show a TLS subscription.
311
311
  # @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required)
312
- # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations` and `tls_authorizations.globalsign_email_challenge`.
312
+ # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations`, `tls_authorizations.globalsign_email_challenge`, and `tls_authorizations.self_managed_http_challenge`.
313
313
  # @return [Array<(TlsSubscriptionResponse, Integer, Hash)>] TlsSubscriptionResponse data, response status code and response headers
314
314
  def get_tls_sub_with_http_info(opts = {})
315
315
  if @api_client.config.debugging
@@ -367,7 +367,7 @@ module Fastly
367
367
  # @option opts [String] :filter_state Limit the returned subscriptions by state. Valid values are &#x60;pending&#x60;, &#x60;processing&#x60;, &#x60;issued&#x60;, &#x60;renewing&#x60;, and &#x60;failed&#x60;. Accepts parameters: &#x60;not&#x60; (e.g., &#x60;filter[state][not]&#x3D;renewing&#x60;).
368
368
  # @option opts [String] :filter_tls_domains_id Limit the returned subscriptions to those that include the specific domain.
369
369
  # @option opts [Boolean] :filter_has_active_order Limit the returned subscriptions to those that have currently active orders. Permitted values: &#x60;true&#x60;.
370
- # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: &#x60;tls_authorizations&#x60; and &#x60;tls_authorizations.globalsign_email_challenge&#x60;.
370
+ # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: &#x60;tls_authorizations&#x60;, &#x60;tls_authorizations.globalsign_email_challenge&#x60;, and &#x60;tls_authorizations.self_managed_http_challenge&#x60;.
371
371
  # @option opts [Integer] :page_number Current page.
372
372
  # @option opts [Integer] :page_size Number of records per page. (default to 20)
373
373
  # @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
@@ -382,7 +382,7 @@ module Fastly
382
382
  # @option opts [String] :filter_state Limit the returned subscriptions by state. Valid values are &#x60;pending&#x60;, &#x60;processing&#x60;, &#x60;issued&#x60;, &#x60;renewing&#x60;, and &#x60;failed&#x60;. Accepts parameters: &#x60;not&#x60; (e.g., &#x60;filter[state][not]&#x3D;renewing&#x60;).
383
383
  # @option opts [String] :filter_tls_domains_id Limit the returned subscriptions to those that include the specific domain.
384
384
  # @option opts [Boolean] :filter_has_active_order Limit the returned subscriptions to those that have currently active orders. Permitted values: &#x60;true&#x60;.
385
- # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: &#x60;tls_authorizations&#x60; and &#x60;tls_authorizations.globalsign_email_challenge&#x60;.
385
+ # @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: &#x60;tls_authorizations&#x60;, &#x60;tls_authorizations.globalsign_email_challenge&#x60;, and &#x60;tls_authorizations.self_managed_http_challenge&#x60;.
386
386
  # @option opts [Integer] :page_number Current page.
387
387
  # @option opts [Integer] :page_size Number of records per page. (default to 20)
388
388
  # @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
@@ -2000,6 +2000,36 @@ module Fastly
2000
2000
  description: "No description provided",
2001
2001
  }
2002
2002
  ],
2003
+ "LoggingNewrelicotlpApi.create_log_newrelicotlp": [
2004
+ {
2005
+ url: "https://api.fastly.com",
2006
+ description: "No description provided",
2007
+ }
2008
+ ],
2009
+ "LoggingNewrelicotlpApi.delete_log_newrelicotlp": [
2010
+ {
2011
+ url: "https://api.fastly.com",
2012
+ description: "No description provided",
2013
+ }
2014
+ ],
2015
+ "LoggingNewrelicotlpApi.get_log_newrelicotlp": [
2016
+ {
2017
+ url: "https://api.fastly.com",
2018
+ description: "No description provided",
2019
+ }
2020
+ ],
2021
+ "LoggingNewrelicotlpApi.list_log_newrelicotlp": [
2022
+ {
2023
+ url: "https://api.fastly.com",
2024
+ description: "No description provided",
2025
+ }
2026
+ ],
2027
+ "LoggingNewrelicotlpApi.update_log_newrelicotlp": [
2028
+ {
2029
+ url: "https://api.fastly.com",
2030
+ description: "No description provided",
2031
+ }
2032
+ ],
2003
2033
  "LoggingOpenstackApi.create_log_openstack": [
2004
2034
  {
2005
2035
  url: "https://api.fastly.com",
@@ -70,6 +70,9 @@ module Fastly
70
70
  # Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
71
71
  attr_accessor :request_condition
72
72
 
73
+ # Value that when shared across backends will enable those backends to share the same health check.
74
+ attr_accessor :share_key
75
+
73
76
  # Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
74
77
  attr_accessor :shield
75
78
 
@@ -125,6 +128,7 @@ module Fastly
125
128
  :'override_host' => :'override_host',
126
129
  :'port' => :'port',
127
130
  :'request_condition' => :'request_condition',
131
+ :'share_key' => :'share_key',
128
132
  :'shield' => :'shield',
129
133
  :'ssl_ca_cert' => :'ssl_ca_cert',
130
134
  :'ssl_cert_hostname' => :'ssl_cert_hostname',
@@ -166,6 +170,7 @@ module Fastly
166
170
  :'override_host' => :'String',
167
171
  :'port' => :'Integer',
168
172
  :'request_condition' => :'String',
173
+ :'share_key' => :'String',
169
174
  :'shield' => :'String',
170
175
  :'ssl_ca_cert' => :'String',
171
176
  :'ssl_cert_hostname' => :'String',
@@ -193,6 +198,7 @@ module Fastly
193
198
  :'max_tls_version',
194
199
  :'min_tls_version',
195
200
  :'override_host',
201
+ :'share_key',
196
202
  :'shield',
197
203
  :'ssl_ca_cert',
198
204
  :'ssl_cert_hostname',
@@ -296,6 +302,10 @@ module Fastly
296
302
  self.request_condition = attributes[:'request_condition']
297
303
  end
298
304
 
305
+ if attributes.key?(:'share_key')
306
+ self.share_key = attributes[:'share_key']
307
+ end
308
+
299
309
  if attributes.key?(:'shield')
300
310
  self.shield = attributes[:'shield']
301
311
  end
@@ -347,15 +357,32 @@ module Fastly
347
357
  # @return Array for valid properties with the reasons
348
358
  def list_invalid_properties
349
359
  invalid_properties = Array.new
360
+ pattern = Regexp.new(/^[A-Za-z0-9]+$/)
361
+ if !@share_key.nil? && @share_key !~ pattern
362
+ invalid_properties.push("invalid value for \"share_key\", must conform to the pattern #{pattern}.")
363
+ end
364
+
350
365
  invalid_properties
351
366
  end
352
367
 
353
368
  # Check to see if the all the properties in the model are valid
354
369
  # @return true if the model is valid
355
370
  def valid?
371
+ return false if !@share_key.nil? && @share_key !~ Regexp.new(/^[A-Za-z0-9]+$/)
356
372
  true
357
373
  end
358
374
 
375
+ # Custom attribute writer method with validation
376
+ # @param [Object] share_key Value to be assigned
377
+ def share_key=(share_key)
378
+ pattern = Regexp.new(/^[A-Za-z0-9]+$/)
379
+ if !share_key.nil? && share_key !~ pattern
380
+ fail ArgumentError, "invalid value for \"share_key\", must conform to the pattern #{pattern}."
381
+ end
382
+
383
+ @share_key = share_key
384
+ end
385
+
359
386
  # Checks equality by comparing each attribute.
360
387
  # @param [Object] Object to be compared
361
388
  def ==(o)
@@ -380,6 +407,7 @@ module Fastly
380
407
  override_host == o.override_host &&
381
408
  port == o.port &&
382
409
  request_condition == o.request_condition &&
410
+ share_key == o.share_key &&
383
411
  shield == o.shield &&
384
412
  ssl_ca_cert == o.ssl_ca_cert &&
385
413
  ssl_cert_hostname == o.ssl_cert_hostname &&
@@ -402,7 +430,7 @@ module Fastly
402
430
  # Calculates hash code according to all attributes.
403
431
  # @return [Integer] Hash code
404
432
  def hash
405
- [address, auto_loadbalance, between_bytes_timeout, client_cert, comment, connect_timeout, first_byte_timeout, healthcheck, hostname, ipv4, ipv6, keepalive_time, max_conn, max_tls_version, min_tls_version, name, override_host, port, request_condition, shield, ssl_ca_cert, ssl_cert_hostname, ssl_check_cert, ssl_ciphers, ssl_client_cert, ssl_client_key, ssl_hostname, ssl_sni_hostname, use_ssl, weight].hash
433
+ [address, auto_loadbalance, between_bytes_timeout, client_cert, comment, connect_timeout, first_byte_timeout, healthcheck, hostname, ipv4, ipv6, keepalive_time, max_conn, max_tls_version, min_tls_version, name, override_host, port, request_condition, share_key, shield, ssl_ca_cert, ssl_cert_hostname, ssl_check_cert, ssl_ciphers, ssl_client_cert, ssl_client_key, ssl_hostname, ssl_sni_hostname, use_ssl, weight].hash
406
434
  end
407
435
 
408
436
  # Builds the object from hash
@@ -70,6 +70,9 @@ module Fastly
70
70
  # Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
71
71
  attr_accessor :request_condition
72
72
 
73
+ # Value that when shared across backends will enable those backends to share the same health check.
74
+ attr_accessor :share_key
75
+
73
76
  # Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
74
77
  attr_accessor :shield
75
78
 
@@ -141,6 +144,7 @@ module Fastly
141
144
  :'override_host' => :'override_host',
142
145
  :'port' => :'port',
143
146
  :'request_condition' => :'request_condition',
147
+ :'share_key' => :'share_key',
144
148
  :'shield' => :'shield',
145
149
  :'ssl_ca_cert' => :'ssl_ca_cert',
146
150
  :'ssl_cert_hostname' => :'ssl_cert_hostname',
@@ -188,6 +192,7 @@ module Fastly
188
192
  :'override_host' => :'String',
189
193
  :'port' => :'Integer',
190
194
  :'request_condition' => :'String',
195
+ :'share_key' => :'String',
191
196
  :'shield' => :'String',
192
197
  :'ssl_ca_cert' => :'String',
193
198
  :'ssl_cert_hostname' => :'String',
@@ -221,6 +226,7 @@ module Fastly
221
226
  :'max_tls_version',
222
227
  :'min_tls_version',
223
228
  :'override_host',
229
+ :'share_key',
224
230
  :'shield',
225
231
  :'ssl_ca_cert',
226
232
  :'ssl_cert_hostname',
@@ -337,6 +343,10 @@ module Fastly
337
343
  self.request_condition = attributes[:'request_condition']
338
344
  end
339
345
 
346
+ if attributes.key?(:'share_key')
347
+ self.share_key = attributes[:'share_key']
348
+ end
349
+
340
350
  if attributes.key?(:'shield')
341
351
  self.shield = attributes[:'shield']
342
352
  end
@@ -412,15 +422,32 @@ module Fastly
412
422
  # @return Array for valid properties with the reasons
413
423
  def list_invalid_properties
414
424
  invalid_properties = Array.new
425
+ pattern = Regexp.new(/^[A-Za-z0-9]+$/)
426
+ if !@share_key.nil? && @share_key !~ pattern
427
+ invalid_properties.push("invalid value for \"share_key\", must conform to the pattern #{pattern}.")
428
+ end
429
+
415
430
  invalid_properties
416
431
  end
417
432
 
418
433
  # Check to see if the all the properties in the model are valid
419
434
  # @return true if the model is valid
420
435
  def valid?
436
+ return false if !@share_key.nil? && @share_key !~ Regexp.new(/^[A-Za-z0-9]+$/)
421
437
  true
422
438
  end
423
439
 
440
+ # Custom attribute writer method with validation
441
+ # @param [Object] share_key Value to be assigned
442
+ def share_key=(share_key)
443
+ pattern = Regexp.new(/^[A-Za-z0-9]+$/)
444
+ if !share_key.nil? && share_key !~ pattern
445
+ fail ArgumentError, "invalid value for \"share_key\", must conform to the pattern #{pattern}."
446
+ end
447
+
448
+ @share_key = share_key
449
+ end
450
+
424
451
  # Checks equality by comparing each attribute.
425
452
  # @param [Object] Object to be compared
426
453
  def ==(o)
@@ -445,6 +472,7 @@ module Fastly
445
472
  override_host == o.override_host &&
446
473
  port == o.port &&
447
474
  request_condition == o.request_condition &&
475
+ share_key == o.share_key &&
448
476
  shield == o.shield &&
449
477
  ssl_ca_cert == o.ssl_ca_cert &&
450
478
  ssl_cert_hostname == o.ssl_cert_hostname &&
@@ -473,7 +501,7 @@ module Fastly
473
501
  # Calculates hash code according to all attributes.
474
502
  # @return [Integer] Hash code
475
503
  def hash
476
- [address, auto_loadbalance, between_bytes_timeout, client_cert, comment, connect_timeout, first_byte_timeout, healthcheck, hostname, ipv4, ipv6, keepalive_time, max_conn, max_tls_version, min_tls_version, name, override_host, port, request_condition, shield, ssl_ca_cert, ssl_cert_hostname, ssl_check_cert, ssl_ciphers, ssl_client_cert, ssl_client_key, ssl_hostname, ssl_sni_hostname, use_ssl, weight, created_at, deleted_at, updated_at, service_id, version, locked].hash
504
+ [address, auto_loadbalance, between_bytes_timeout, client_cert, comment, connect_timeout, first_byte_timeout, healthcheck, hostname, ipv4, ipv6, keepalive_time, max_conn, max_tls_version, min_tls_version, name, override_host, port, request_condition, share_key, shield, ssl_ca_cert, ssl_cert_hostname, ssl_check_cert, ssl_ciphers, ssl_client_cert, ssl_client_key, ssl_hostname, ssl_sni_hostname, use_ssl, weight, created_at, deleted_at, updated_at, service_id, version, locked].hash
477
505
  end
478
506
 
479
507
  # Builds the object from hash
@@ -72,8 +72,8 @@ module Fastly
72
72
  :'action' => :'String',
73
73
  :'cache_condition' => :'String',
74
74
  :'name' => :'String',
75
- :'stale_ttl' => :'Integer',
76
- :'ttl' => :'Integer'
75
+ :'stale_ttl' => :'String',
76
+ :'ttl' => :'String'
77
77
  }
78
78
  end
79
79
 
@@ -90,10 +90,10 @@ module Fastly
90
90
  :'action' => :'String',
91
91
  :'cache_condition' => :'String',
92
92
  :'name' => :'String',
93
- :'stale_ttl' => :'Integer',
94
- :'ttl' => :'Integer',
93
+ :'stale_ttl' => :'String',
94
+ :'ttl' => :'String',
95
95
  :'service_id' => :'String',
96
- :'version' => :'Integer',
96
+ :'version' => :'String',
97
97
  :'created_at' => :'Time',
98
98
  :'deleted_at' => :'Time',
99
99
  :'updated_at' => :'Time'
@@ -115,7 +115,7 @@ module Fastly
115
115
  def self.fastly_all_of
116
116
  [
117
117
  :'CacheSetting',
118
- :'ServiceIdAndVersion',
118
+ :'ServiceIdAndVersionString',
119
119
  :'Timestamps'
120
120
  ]
121
121
  end
@@ -66,7 +66,7 @@ module Fastly
66
66
  :'extensions' => :'String',
67
67
  :'name' => :'String',
68
68
  :'service_id' => :'String',
69
- :'version' => :'Integer',
69
+ :'version' => :'String',
70
70
  :'created_at' => :'Time',
71
71
  :'deleted_at' => :'Time',
72
72
  :'updated_at' => :'Time'
@@ -89,7 +89,7 @@ module Fastly
89
89
  def self.fastly_all_of
90
90
  [
91
91
  :'Gzip',
92
- :'ServiceIdAndVersion',
92
+ :'ServiceIdAndVersionString',
93
93
  :'Timestamps'
94
94
  ]
95
95
  end
@@ -22,15 +22,9 @@ module Fastly
22
22
  # Header to set.
23
23
  attr_accessor :dst
24
24
 
25
- # Don't add the header if it is added already. Only applies to 'set' action.
26
- attr_accessor :ignore_if_set
27
-
28
25
  # A handle to refer to this Header object.
29
26
  attr_accessor :name
30
27
 
31
- # Priority determines execution order. Lower numbers execute first.
32
- attr_accessor :priority
33
-
34
28
  # Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
35
29
  attr_accessor :regex
36
30
 
@@ -77,9 +71,7 @@ module Fastly
77
71
  :'action' => :'action',
78
72
  :'cache_condition' => :'cache_condition',
79
73
  :'dst' => :'dst',
80
- :'ignore_if_set' => :'ignore_if_set',
81
74
  :'name' => :'name',
82
- :'priority' => :'priority',
83
75
  :'regex' => :'regex',
84
76
  :'request_condition' => :'request_condition',
85
77
  :'response_condition' => :'response_condition',
@@ -100,9 +92,7 @@ module Fastly
100
92
  :'action' => :'String',
101
93
  :'cache_condition' => :'String',
102
94
  :'dst' => :'String',
103
- :'ignore_if_set' => :'Integer',
104
95
  :'name' => :'String',
105
- :'priority' => :'Integer',
106
96
  :'regex' => :'String',
107
97
  :'request_condition' => :'String',
108
98
  :'response_condition' => :'String',
@@ -151,20 +141,10 @@ module Fastly
151
141
  self.dst = attributes[:'dst']
152
142
  end
153
143
 
154
- if attributes.key?(:'ignore_if_set')
155
- self.ignore_if_set = attributes[:'ignore_if_set']
156
- end
157
-
158
144
  if attributes.key?(:'name')
159
145
  self.name = attributes[:'name']
160
146
  end
161
147
 
162
- if attributes.key?(:'priority')
163
- self.priority = attributes[:'priority']
164
- else
165
- self.priority = 100
166
- end
167
-
168
148
  if attributes.key?(:'regex')
169
149
  self.regex = attributes[:'regex']
170
150
  end
@@ -235,9 +215,7 @@ module Fastly
235
215
  action == o.action &&
236
216
  cache_condition == o.cache_condition &&
237
217
  dst == o.dst &&
238
- ignore_if_set == o.ignore_if_set &&
239
218
  name == o.name &&
240
- priority == o.priority &&
241
219
  regex == o.regex &&
242
220
  request_condition == o.request_condition &&
243
221
  response_condition == o.response_condition &&
@@ -255,7 +233,7 @@ module Fastly
255
233
  # Calculates hash code according to all attributes.
256
234
  # @return [Integer] Hash code
257
235
  def hash
258
- [action, cache_condition, dst, ignore_if_set, name, priority, regex, request_condition, response_condition, src, substitution, type].hash
236
+ [action, cache_condition, dst, name, regex, request_condition, response_condition, src, substitution, type].hash
259
237
  end
260
238
 
261
239
  # Builds the object from hash
@@ -22,15 +22,9 @@ module Fastly
22
22
  # Header to set.
23
23
  attr_accessor :dst
24
24
 
25
- # Don't add the header if it is added already. Only applies to 'set' action.
26
- attr_accessor :ignore_if_set
27
-
28
25
  # A handle to refer to this Header object.
29
26
  attr_accessor :name
30
27
 
31
- # Priority determines execution order. Lower numbers execute first.
32
- attr_accessor :priority
33
-
34
28
  # Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
35
29
  attr_accessor :regex
36
30
 
@@ -49,6 +43,12 @@ module Fastly
49
43
  # Accepts a string value.
50
44
  attr_accessor :type
51
45
 
46
+ # Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\"0\" = false, \"1\" = true)
47
+ attr_accessor :ignore_if_set
48
+
49
+ # Priority determines execution order. Lower numbers execute first.
50
+ attr_accessor :priority
51
+
52
52
  attr_accessor :service_id
53
53
 
54
54
  attr_accessor :version
@@ -90,15 +90,15 @@ module Fastly
90
90
  :'action' => :'action',
91
91
  :'cache_condition' => :'cache_condition',
92
92
  :'dst' => :'dst',
93
- :'ignore_if_set' => :'ignore_if_set',
94
93
  :'name' => :'name',
95
- :'priority' => :'priority',
96
94
  :'regex' => :'regex',
97
95
  :'request_condition' => :'request_condition',
98
96
  :'response_condition' => :'response_condition',
99
97
  :'src' => :'src',
100
98
  :'substitution' => :'substitution',
101
99
  :'type' => :'type',
100
+ :'ignore_if_set' => :'ignore_if_set',
101
+ :'priority' => :'priority',
102
102
  :'service_id' => :'service_id',
103
103
  :'version' => :'version',
104
104
  :'created_at' => :'created_at',
@@ -118,17 +118,17 @@ module Fastly
118
118
  :'action' => :'String',
119
119
  :'cache_condition' => :'String',
120
120
  :'dst' => :'String',
121
- :'ignore_if_set' => :'Integer',
122
121
  :'name' => :'String',
123
- :'priority' => :'Integer',
124
122
  :'regex' => :'String',
125
123
  :'request_condition' => :'String',
126
124
  :'response_condition' => :'String',
127
125
  :'src' => :'String',
128
126
  :'substitution' => :'String',
129
127
  :'type' => :'String',
128
+ :'ignore_if_set' => :'String',
129
+ :'priority' => :'String',
130
130
  :'service_id' => :'String',
131
- :'version' => :'Integer',
131
+ :'version' => :'String',
132
132
  :'created_at' => :'Time',
133
133
  :'deleted_at' => :'Time',
134
134
  :'updated_at' => :'Time'
@@ -154,7 +154,8 @@ module Fastly
154
154
  def self.fastly_all_of
155
155
  [
156
156
  :'Header',
157
- :'ServiceIdAndVersion',
157
+ :'HeaderResponseAdditional',
158
+ :'ServiceIdAndVersionString',
158
159
  :'Timestamps'
159
160
  ]
160
161
  end
@@ -186,20 +187,10 @@ module Fastly
186
187
  self.dst = attributes[:'dst']
187
188
  end
188
189
 
189
- if attributes.key?(:'ignore_if_set')
190
- self.ignore_if_set = attributes[:'ignore_if_set']
191
- end
192
-
193
190
  if attributes.key?(:'name')
194
191
  self.name = attributes[:'name']
195
192
  end
196
193
 
197
- if attributes.key?(:'priority')
198
- self.priority = attributes[:'priority']
199
- else
200
- self.priority = 100
201
- end
202
-
203
194
  if attributes.key?(:'regex')
204
195
  self.regex = attributes[:'regex']
205
196
  end
@@ -224,6 +215,16 @@ module Fastly
224
215
  self.type = attributes[:'type']
225
216
  end
226
217
 
218
+ if attributes.key?(:'ignore_if_set')
219
+ self.ignore_if_set = attributes[:'ignore_if_set']
220
+ end
221
+
222
+ if attributes.key?(:'priority')
223
+ self.priority = attributes[:'priority']
224
+ else
225
+ self.priority = '100'
226
+ end
227
+
227
228
  if attributes.key?(:'service_id')
228
229
  self.service_id = attributes[:'service_id']
229
230
  end
@@ -290,15 +291,15 @@ module Fastly
290
291
  action == o.action &&
291
292
  cache_condition == o.cache_condition &&
292
293
  dst == o.dst &&
293
- ignore_if_set == o.ignore_if_set &&
294
294
  name == o.name &&
295
- priority == o.priority &&
296
295
  regex == o.regex &&
297
296
  request_condition == o.request_condition &&
298
297
  response_condition == o.response_condition &&
299
298
  src == o.src &&
300
299
  substitution == o.substitution &&
301
300
  type == o.type &&
301
+ ignore_if_set == o.ignore_if_set &&
302
+ priority == o.priority &&
302
303
  service_id == o.service_id &&
303
304
  version == o.version &&
304
305
  created_at == o.created_at &&
@@ -315,7 +316,7 @@ module Fastly
315
316
  # Calculates hash code according to all attributes.
316
317
  # @return [Integer] Hash code
317
318
  def hash
318
- [action, cache_condition, dst, ignore_if_set, name, priority, regex, request_condition, response_condition, src, substitution, type, service_id, version, created_at, deleted_at, updated_at].hash
319
+ [action, cache_condition, dst, name, regex, request_condition, response_condition, src, substitution, type, ignore_if_set, priority, service_id, version, created_at, deleted_at, updated_at].hash
319
320
  end
320
321
 
321
322
  # Builds the object from hash