fastly 6.0.2 → 7.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/Gemfile.lock +1 -1
- data/README.md +7 -2
- data/docs/Backend.md +1 -0
- data/docs/BackendApi.md +4 -0
- data/docs/BackendResponse.md +1 -0
- data/docs/CacheSetting.md +2 -2
- data/docs/CacheSettingResponse.md +3 -3
- data/docs/CacheSettingsApi.md +8 -8
- data/docs/DomainApi.md +2 -2
- data/docs/GzipResponse.md +1 -1
- data/docs/Header.md +0 -2
- data/docs/HeaderApi.md +8 -8
- data/docs/HeaderResponse.md +3 -3
- data/docs/HeaderResponseAdditional.md +11 -0
- data/docs/{LoggingAzureblobAllOf.md → LoggingAzureblobAdditional.md} +1 -1
- data/docs/LoggingAzureblobApi.md +8 -8
- data/docs/LoggingAzureblobResponse.md +8 -8
- data/docs/{LoggingBigqueryAllOf.md → LoggingBigqueryAdditional.md} +1 -1
- data/docs/LoggingBigqueryApi.md +4 -4
- data/docs/LoggingBigqueryResponse.md +2 -2
- data/docs/{LoggingCloudfilesAllOf.md → LoggingCloudfilesAdditional.md} +1 -1
- data/docs/LoggingCloudfilesApi.md +8 -8
- data/docs/LoggingCloudfilesResponse.md +8 -8
- data/docs/LoggingCommon.md +0 -1
- data/docs/{LoggingPapertrail.md → LoggingCommonResponse.md} +2 -4
- data/docs/{LoggingLogshuttle.md → LoggingCommonResponseAllOf.md} +1 -4
- data/docs/LoggingCommonResponseAllOf1.md +10 -0
- data/docs/{LoggingDatadogAllOf.md → LoggingDatadogAdditional.md} +1 -1
- data/docs/LoggingDatadogApi.md +4 -4
- data/docs/LoggingDatadogResponse.md +2 -2
- data/docs/{LoggingDigitaloceanAllOf.md → LoggingDigitaloceanAdditional.md} +1 -1
- data/docs/LoggingDigitaloceanApi.md +8 -8
- data/docs/LoggingDigitaloceanResponse.md +8 -8
- data/docs/{LoggingElasticsearchAllOf.md → LoggingElasticsearchAdditional.md} +1 -1
- data/docs/LoggingElasticsearchApi.md +4 -4
- data/docs/LoggingElasticsearchResponse.md +2 -2
- data/docs/LoggingFormatVersionInteger.md +10 -0
- data/docs/LoggingFormatVersionString.md +10 -0
- data/docs/{LoggingFtpAllOf.md → LoggingFtpAdditional.md} +1 -2
- data/docs/LoggingFtpApi.md +12 -12
- data/docs/LoggingFtpResponse.md +9 -9
- data/docs/{LoggingFormatVersion.md → LoggingFtpResponseAllOf.md} +2 -1
- data/docs/{LoggingGcsAllOf.md → LoggingGcsAdditional.md} +1 -1
- data/docs/LoggingGcsApi.md +8 -8
- data/docs/LoggingGcsResponse.md +8 -8
- data/docs/LoggingGenericCommon.md +0 -2
- data/docs/LoggingGenericCommonResponse.md +14 -0
- data/docs/LoggingGenericCommonResponseAllOf.md +12 -0
- data/docs/LoggingGenericCommonResponseAllOf1.md +11 -0
- data/docs/{LoggingGooglePubsubAllOf.md → LoggingGooglePubsubAdditional.md} +1 -1
- data/docs/LoggingGooglePubsubResponse.md +2 -2
- data/docs/{LoggingHerokuAllOf.md → LoggingHerokuAdditional.md} +1 -1
- data/docs/LoggingHerokuApi.md +4 -4
- data/docs/LoggingHerokuResponse.md +2 -2
- data/docs/{LoggingHoneycombAllOf.md → LoggingHoneycombAdditional.md} +1 -1
- data/docs/LoggingHoneycombApi.md +8 -8
- data/docs/LoggingHoneycombResponse.md +2 -2
- data/docs/{LoggingHttpsAllOf.md → LoggingHttpsAdditional.md} +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +2 -2
- data/docs/{LoggingKafkaAllOf.md → LoggingKafkaAdditional.md} +1 -1
- data/docs/LoggingKafkaApi.md +4 -4
- data/docs/LoggingKafkaResponse.md +6 -6
- data/docs/{LoggingKafka.md → LoggingKafkaResponsePost.md} +7 -2
- data/docs/{LoggingKinesis.md → LoggingKinesisAdditional.md} +1 -2
- data/docs/LoggingKinesisApi.md +2 -2
- data/docs/LoggingKinesisResponse.md +2 -2
- data/docs/{LoggingLogentriesAllOf.md → LoggingLogentriesAdditional.md} +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +2 -2
- data/docs/{LoggingLogglyAllOf.md → LoggingLogglyAdditional.md} +1 -1
- data/docs/LoggingLogglyApi.md +4 -4
- data/docs/LoggingLogglyResponse.md +2 -2
- data/docs/{LoggingLogshuttleAllOf.md → LoggingLogshuttleAdditional.md} +1 -1
- data/docs/LoggingLogshuttleApi.md +4 -4
- data/docs/LoggingLogshuttleResponse.md +2 -2
- data/docs/{LoggingNewrelicAllOf.md → LoggingNewrelicAdditional.md} +1 -1
- data/docs/LoggingNewrelicApi.md +4 -4
- data/docs/LoggingNewrelicResponse.md +2 -2
- data/docs/LoggingNewrelicotlpAdditional.md +13 -0
- data/docs/LoggingNewrelicotlpApi.md +252 -0
- data/docs/LoggingNewrelicotlpResponse.md +22 -0
- data/docs/{LoggingOpenstackAllOf.md → LoggingOpenstackAdditional.md} +1 -1
- data/docs/LoggingOpenstackApi.md +8 -8
- data/docs/LoggingOpenstackResponse.md +8 -8
- data/docs/LoggingPapertrailApi.md +4 -4
- data/docs/LoggingPapertrailResponse.md +2 -2
- data/docs/LoggingPubsubApi.md +4 -4
- data/docs/{LoggingS3AllOf.md → LoggingS3Additional.md} +1 -1
- data/docs/LoggingS3Api.md +8 -8
- data/docs/LoggingS3Response.md +8 -8
- data/docs/{LoggingScalyrAllOf.md → LoggingScalyrAdditional.md} +1 -1
- data/docs/LoggingScalyrApi.md +4 -4
- data/docs/LoggingScalyrResponse.md +2 -2
- data/docs/{LoggingSftpAllOf.md → LoggingSftpAdditional.md} +1 -2
- data/docs/LoggingSftpApi.md +8 -8
- data/docs/LoggingSftpResponse.md +10 -10
- data/docs/LoggingSftpResponseAllOf.md +13 -0
- data/docs/{LoggingSplunkAllOf.md → LoggingSplunkAdditional.md} +1 -1
- data/docs/LoggingSplunkApi.md +4 -4
- data/docs/LoggingSplunkResponse.md +2 -2
- data/docs/{LoggingSumologicAllOf.md → LoggingSumologicAdditional.md} +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +2 -2
- data/docs/{LoggingSyslogAllOf.md → LoggingSyslogAdditional.md} +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +2 -2
- data/docs/{PoolAllOf.md → PoolAdditional.md} +1 -6
- data/docs/PoolApi.md +46 -22
- data/docs/PoolResponse.md +12 -11
- data/docs/PoolResponseAllOf.md +1 -1
- data/docs/PoolResponseCommon.md +15 -0
- data/docs/{Pool.md → PoolResponsePost.md} +14 -7
- data/docs/PoolResponsePostAllOf.md +10 -0
- data/docs/RequestSettingsAdditional.md +15 -0
- data/docs/RequestSettingsApi.md +10 -10
- data/docs/RequestSettingsResponse.md +11 -11
- data/docs/RequestSettingsResponseAllOf.md +15 -0
- data/docs/ResponseObject.md +1 -1
- data/docs/ResponseObjectResponse.md +2 -2
- data/docs/SecretStoreApi.md +3 -3
- data/docs/ServiceIdAndVersionString.md +11 -0
- data/docs/TlsCommonResponse.md +14 -0
- data/docs/{TlsCommon.md → TlsCommonResponseAllOf.md} +1 -2
- data/docs/TlsCommonResponseAllOf1.md +10 -0
- data/docs/TlsDomainsApi.md +2 -2
- data/docs/TlsSubscriptionsApi.md +4 -4
- data/lib/fastly/api/backend_api.rb +16 -0
- data/lib/fastly/api/cache_settings_api.rb +8 -8
- data/lib/fastly/api/domain_api.rb +3 -3
- data/lib/fastly/api/header_api.rb +12 -12
- data/lib/fastly/api/logging_azureblob_api.rb +12 -12
- data/lib/fastly/api/logging_bigquery_api.rb +6 -6
- data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
- data/lib/fastly/api/logging_datadog_api.rb +6 -6
- data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
- data/lib/fastly/api/logging_elasticsearch_api.rb +6 -6
- data/lib/fastly/api/logging_ftp_api.rb +18 -18
- data/lib/fastly/api/logging_gcs_api.rb +12 -12
- data/lib/fastly/api/logging_heroku_api.rb +6 -6
- data/lib/fastly/api/logging_honeycomb_api.rb +12 -12
- data/lib/fastly/api/logging_https_api.rb +6 -6
- data/lib/fastly/api/logging_kafka_api.rb +6 -6
- data/lib/fastly/api/logging_kinesis_api.rb +7 -3
- data/lib/fastly/api/logging_logentries_api.rb +6 -6
- data/lib/fastly/api/logging_loggly_api.rb +6 -6
- data/lib/fastly/api/logging_logshuttle_api.rb +6 -6
- data/lib/fastly/api/logging_newrelic_api.rb +6 -6
- data/lib/fastly/api/logging_newrelicotlp_api.rb +473 -0
- data/lib/fastly/api/logging_openstack_api.rb +12 -12
- data/lib/fastly/api/logging_papertrail_api.rb +6 -6
- data/lib/fastly/api/logging_pubsub_api.rb +6 -6
- data/lib/fastly/api/logging_s3_api.rb +12 -12
- data/lib/fastly/api/logging_scalyr_api.rb +6 -6
- data/lib/fastly/api/logging_sftp_api.rb +12 -12
- data/lib/fastly/api/logging_splunk_api.rb +6 -6
- data/lib/fastly/api/logging_sumologic_api.rb +6 -6
- data/lib/fastly/api/logging_syslog_api.rb +6 -6
- data/lib/fastly/api/pool_api.rb +77 -41
- data/lib/fastly/api/rate_limiter_api.rb +2 -2
- data/lib/fastly/api/request_settings_api.rb +15 -15
- data/lib/fastly/api/secret_store_api.rb +2 -2
- data/lib/fastly/api/tls_domains_api.rb +2 -2
- data/lib/fastly/api/tls_subscriptions_api.rb +4 -4
- data/lib/fastly/configuration.rb +30 -0
- data/lib/fastly/models/backend.rb +29 -1
- data/lib/fastly/models/backend_response.rb +29 -1
- data/lib/fastly/models/cache_setting.rb +2 -2
- data/lib/fastly/models/cache_setting_response.rb +4 -4
- data/lib/fastly/models/gzip_response.rb +2 -2
- data/lib/fastly/models/header.rb +1 -23
- data/lib/fastly/models/header_response.rb +26 -25
- data/lib/fastly/models/header_response_additional.rb +229 -0
- data/lib/fastly/models/{logging_azureblob_all_of.rb → logging_azureblob_additional.rb} +3 -3
- data/lib/fastly/models/logging_azureblob_response.rb +82 -80
- data/lib/fastly/models/{logging_bigquery_all_of.rb → logging_bigquery_additional.rb} +3 -3
- data/lib/fastly/models/logging_bigquery_response.rb +20 -18
- data/lib/fastly/models/{logging_cloudfiles_all_of.rb → logging_cloudfiles_additional.rb} +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +83 -81
- data/lib/fastly/models/logging_common.rb +1 -25
- data/lib/fastly/models/{logging_loggly.rb → logging_common_response.rb} +17 -27
- data/lib/fastly/models/{logging_logshuttle.rb → logging_common_response_all_of.rb} +7 -60
- data/lib/fastly/models/logging_common_response_all_of1.rb +253 -0
- data/lib/fastly/models/{logging_datadog_all_of.rb → logging_datadog_additional.rb} +3 -3
- data/lib/fastly/models/logging_datadog_response.rb +19 -18
- data/lib/fastly/models/{logging_digitalocean_all_of.rb → logging_digitalocean_additional.rb} +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +82 -80
- data/lib/fastly/models/{logging_elasticsearch_all_of.rb → logging_elasticsearch_additional.rb} +3 -3
- data/lib/fastly/models/logging_elasticsearch_response.rb +21 -18
- data/lib/fastly/models/logging_format_version_integer.rb +253 -0
- data/lib/fastly/models/logging_format_version_string.rb +253 -0
- data/lib/fastly/models/{logging_ftp_all_of.rb → logging_ftp_additional.rb} +4 -16
- data/lib/fastly/models/logging_ftp_response.rb +88 -85
- data/lib/fastly/models/logging_ftp_response_all_of.rb +219 -0
- data/lib/fastly/models/{logging_gcs_all_of.rb → logging_gcs_additional.rb} +3 -3
- data/lib/fastly/models/logging_gcs_response.rb +80 -77
- data/lib/fastly/models/logging_generic_common.rb +1 -25
- data/lib/fastly/models/{logging_sumologic.rb → logging_generic_common_response.rb} +60 -80
- data/lib/fastly/models/logging_generic_common_response_all_of.rb +286 -0
- data/lib/fastly/models/logging_generic_common_response_all_of1.rb +231 -0
- data/lib/fastly/models/{logging_google_pubsub_all_of.rb → logging_google_pubsub_additional.rb} +3 -3
- data/lib/fastly/models/logging_google_pubsub_response.rb +20 -18
- data/lib/fastly/models/{logging_heroku_all_of.rb → logging_heroku_additional.rb} +3 -3
- data/lib/fastly/models/logging_heroku_response.rb +19 -18
- data/lib/fastly/models/{logging_honeycomb_all_of.rb → logging_honeycomb_additional.rb} +3 -3
- data/lib/fastly/models/logging_honeycomb_response.rb +19 -18
- data/lib/fastly/models/{logging_https_all_of.rb → logging_https_additional.rb} +3 -3
- data/lib/fastly/models/logging_https_response.rb +21 -18
- data/lib/fastly/models/{logging_kafka_all_of.rb → logging_kafka_additional.rb} +3 -3
- data/lib/fastly/models/logging_kafka_response.rb +71 -69
- data/lib/fastly/models/{logging_kafka.rb → logging_kafka_response_post.rb} +72 -18
- data/lib/fastly/models/{logging_kinesis.rb → logging_kinesis_additional.rb} +4 -15
- data/lib/fastly/models/logging_kinesis_response.rb +51 -15
- data/lib/fastly/models/{logging_logentries_all_of.rb → logging_logentries_additional.rb} +3 -3
- data/lib/fastly/models/logging_logentries_response.rb +19 -18
- data/lib/fastly/models/{logging_loggly_all_of.rb → logging_loggly_additional.rb} +3 -3
- data/lib/fastly/models/logging_loggly_response.rb +19 -18
- data/lib/fastly/models/{logging_logshuttle_all_of.rb → logging_logshuttle_additional.rb} +3 -3
- data/lib/fastly/models/logging_logshuttle_response.rb +19 -18
- data/lib/fastly/models/{logging_newrelic_all_of.rb → logging_newrelic_additional.rb} +3 -3
- data/lib/fastly/models/logging_newrelic_response.rb +19 -18
- data/lib/fastly/models/logging_newrelicotlp_additional.rb +288 -0
- data/lib/fastly/models/{logging_newrelic.rb → logging_newrelicotlp_response.rb} +90 -24
- data/lib/fastly/models/{logging_openstack_all_of.rb → logging_openstack_additional.rb} +3 -3
- data/lib/fastly/models/logging_openstack_response.rb +82 -80
- data/lib/fastly/models/logging_papertrail_response.rb +19 -18
- data/lib/fastly/models/{logging_s3_all_of.rb → logging_s3_additional.rb} +3 -3
- data/lib/fastly/models/logging_s3_response.rb +84 -82
- data/lib/fastly/models/{logging_scalyr_all_of.rb → logging_scalyr_additional.rb} +3 -3
- data/lib/fastly/models/logging_scalyr_response.rb +19 -18
- data/lib/fastly/models/{logging_sftp_all_of.rb → logging_sftp_additional.rb} +4 -16
- data/lib/fastly/models/logging_sftp_response.rb +97 -94
- data/lib/fastly/models/{domain_check_item.rb → logging_sftp_response_all_of.rb} +44 -40
- data/lib/fastly/models/{logging_splunk_all_of.rb → logging_splunk_additional.rb} +3 -3
- data/lib/fastly/models/logging_splunk_response.rb +21 -18
- data/lib/fastly/models/{logging_sumologic_all_of.rb → logging_sumologic_additional.rb} +3 -3
- data/lib/fastly/models/logging_sumologic_response.rb +19 -18
- data/lib/fastly/models/{logging_syslog_all_of.rb → logging_syslog_additional.rb} +3 -3
- data/lib/fastly/models/logging_syslog_response.rb +21 -18
- data/lib/fastly/models/{pool_all_of.rb → pool_additional.rb} +4 -83
- data/lib/fastly/models/pool_response.rb +113 -125
- data/lib/fastly/models/pool_response_all_of.rb +10 -7
- data/lib/fastly/models/pool_response_common.rb +269 -0
- data/lib/fastly/models/{pool.rb → pool_response_post.rb} +142 -92
- data/lib/fastly/models/pool_response_post_all_of.rb +219 -0
- data/lib/fastly/models/rate_limiter.rb +2 -2
- data/lib/fastly/models/rate_limiter_response.rb +2 -2
- data/lib/fastly/models/{request_settings.rb → request_settings_additional.rb} +4 -64
- data/lib/fastly/models/request_settings_response.rb +96 -95
- data/lib/fastly/models/request_settings_response_all_of.rb +267 -0
- data/lib/fastly/models/response_object.rb +2 -2
- data/lib/fastly/models/response_object_response.rb +4 -4
- data/lib/fastly/models/{tls_subscription_response_data_all_of.rb → service_id_and_version_string.rb} +16 -16
- data/lib/fastly/models/{tls_common.rb → tls_common_response.rb} +15 -7
- data/lib/fastly/models/tls_common_response_all_of.rb +259 -0
- data/lib/fastly/models/tls_common_response_all_of1.rb +253 -0
- data/lib/fastly/models/tls_subscription_response_data.rb +0 -7
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +50 -57
- data/sig.json +1 -1
- metadata +102 -116
- data/docs/DomainCheckItem.md +0 -11
- data/docs/LoggingAzureblob.md +0 -25
- data/docs/LoggingBigquery.md +0 -21
- data/docs/LoggingCloudfiles.md +0 -25
- data/docs/LoggingDatadog.md +0 -16
- data/docs/LoggingDigitalocean.md +0 -25
- data/docs/LoggingElasticsearch.md +0 -25
- data/docs/LoggingFtp.md +0 -27
- data/docs/LoggingGcs.md +0 -26
- data/docs/LoggingGooglePubsub.md +0 -19
- data/docs/LoggingHeroku.md +0 -16
- data/docs/LoggingHoneycomb.md +0 -16
- data/docs/LoggingHttps.md +0 -27
- data/docs/LoggingLogentries.md +0 -18
- data/docs/LoggingLoggly.md +0 -15
- data/docs/LoggingNewrelic.md +0 -16
- data/docs/LoggingOpenstack.md +0 -25
- data/docs/LoggingS3.md +0 -30
- data/docs/LoggingScalyr.md +0 -17
- data/docs/LoggingSftp.md +0 -27
- data/docs/LoggingSplunk.md +0 -23
- data/docs/LoggingSumologic.md +0 -16
- data/docs/LoggingSyslog.md +0 -25
- data/docs/RequestSettings.md +0 -21
- data/docs/TlsSubscriptionResponseDataAllOf.md +0 -11
- data/lib/fastly/models/logging_azureblob.rb +0 -480
- data/lib/fastly/models/logging_bigquery.rb +0 -387
- data/lib/fastly/models/logging_cloudfiles.rb +0 -478
- data/lib/fastly/models/logging_datadog.rb +0 -351
- data/lib/fastly/models/logging_digitalocean.rb +0 -467
- data/lib/fastly/models/logging_elasticsearch.rb +0 -446
- data/lib/fastly/models/logging_format_version.rb +0 -35
- data/lib/fastly/models/logging_ftp.rb +0 -484
- data/lib/fastly/models/logging_gcs.rb +0 -474
- data/lib/fastly/models/logging_google_pubsub.rb +0 -368
- data/lib/fastly/models/logging_heroku.rb +0 -337
- data/lib/fastly/models/logging_honeycomb.rb +0 -335
- data/lib/fastly/models/logging_https.rb +0 -501
- data/lib/fastly/models/logging_logentries.rb +0 -372
- data/lib/fastly/models/logging_openstack.rb +0 -465
- data/lib/fastly/models/logging_papertrail.rb +0 -339
- data/lib/fastly/models/logging_s3.rb +0 -527
- data/lib/fastly/models/logging_scalyr.rb +0 -363
- data/lib/fastly/models/logging_sftp.rb +0 -491
- data/lib/fastly/models/logging_splunk.rb +0 -426
- 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.
|
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.
|
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.
|
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.
|
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 `pending`, `processing`, `issued`, `renewing`, and `failed`. Accepts parameters: `not` (e.g., `filter[state][not]=renewing`).
|
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: `true`.
|
370
|
-
# @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations` and `tls_authorizations.
|
370
|
+
# @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`.
|
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 `pending`, `processing`, `issued`, `renewing`, and `failed`. Accepts parameters: `not` (e.g., `filter[state][not]=renewing`).
|
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: `true`.
|
385
|
-
# @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations` and `tls_authorizations.
|
385
|
+
# @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`.
|
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')
|
data/lib/fastly/configuration.rb
CHANGED
@@ -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
|
@@ -90,10 +90,10 @@ module Fastly
|
|
90
90
|
:'action' => :'String',
|
91
91
|
:'cache_condition' => :'String',
|
92
92
|
:'name' => :'String',
|
93
|
-
:'stale_ttl' => :'
|
94
|
-
:'ttl' => :'
|
93
|
+
:'stale_ttl' => :'String',
|
94
|
+
:'ttl' => :'String',
|
95
95
|
:'service_id' => :'String',
|
96
|
-
:'version' => :'
|
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
|
-
:'
|
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' => :'
|
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
|
-
:'
|
92
|
+
:'ServiceIdAndVersionString',
|
93
93
|
:'Timestamps'
|
94
94
|
]
|
95
95
|
end
|
data/lib/fastly/models/header.rb
CHANGED
@@ -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,
|
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' => :'
|
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
|
-
:'
|
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,
|
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
|