fastly 6.0.2 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -19,29 +19,42 @@ module Fastly
|
|
19
19
|
# Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
20
20
|
attr_accessor :placement
|
21
21
|
|
22
|
-
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
23
|
-
attr_accessor :format_version
|
24
|
-
|
25
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
26
23
|
attr_accessor :response_condition
|
27
24
|
|
28
25
|
# A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
|
29
26
|
attr_accessor :format
|
30
27
|
|
28
|
+
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
|
+
attr_accessor :format_version
|
30
|
+
|
31
31
|
# How the message should be formatted.
|
32
32
|
attr_accessor :message_type
|
33
33
|
|
34
34
|
# A timestamp format
|
35
35
|
attr_accessor :timestamp_format
|
36
36
|
|
37
|
+
# The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
38
|
+
attr_accessor :compression_codec
|
39
|
+
|
37
40
|
# How frequently log files are finalized so they can be available for reading (in seconds).
|
38
41
|
attr_accessor :period
|
39
42
|
|
40
43
|
# The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
41
44
|
attr_accessor :gzip_level
|
42
45
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
46
|
+
# Date and time in ISO 8601 format.
|
47
|
+
attr_accessor :created_at
|
48
|
+
|
49
|
+
# Date and time in ISO 8601 format.
|
50
|
+
attr_accessor :deleted_at
|
51
|
+
|
52
|
+
# Date and time in ISO 8601 format.
|
53
|
+
attr_accessor :updated_at
|
54
|
+
|
55
|
+
attr_accessor :service_id
|
56
|
+
|
57
|
+
attr_accessor :version
|
45
58
|
|
46
59
|
# The access key for your S3 account. Not required if `iam_role` is provided.
|
47
60
|
attr_accessor :access_key
|
@@ -76,19 +89,6 @@ module Fastly
|
|
76
89
|
# Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
|
77
90
|
attr_accessor :server_side_encryption
|
78
91
|
|
79
|
-
# Date and time in ISO 8601 format.
|
80
|
-
attr_accessor :created_at
|
81
|
-
|
82
|
-
# Date and time in ISO 8601 format.
|
83
|
-
attr_accessor :deleted_at
|
84
|
-
|
85
|
-
# Date and time in ISO 8601 format.
|
86
|
-
attr_accessor :updated_at
|
87
|
-
|
88
|
-
attr_accessor :service_id
|
89
|
-
|
90
|
-
attr_accessor :version
|
91
|
-
|
92
92
|
class EnumAttributeValidator
|
93
93
|
attr_reader :datatype
|
94
94
|
attr_reader :allowable_values
|
@@ -116,14 +116,19 @@ module Fastly
|
|
116
116
|
{
|
117
117
|
:'name' => :'name',
|
118
118
|
:'placement' => :'placement',
|
119
|
-
:'format_version' => :'format_version',
|
120
119
|
:'response_condition' => :'response_condition',
|
121
120
|
:'format' => :'format',
|
121
|
+
:'format_version' => :'format_version',
|
122
122
|
:'message_type' => :'message_type',
|
123
123
|
:'timestamp_format' => :'timestamp_format',
|
124
|
+
:'compression_codec' => :'compression_codec',
|
124
125
|
:'period' => :'period',
|
125
126
|
:'gzip_level' => :'gzip_level',
|
126
|
-
:'
|
127
|
+
:'created_at' => :'created_at',
|
128
|
+
:'deleted_at' => :'deleted_at',
|
129
|
+
:'updated_at' => :'updated_at',
|
130
|
+
:'service_id' => :'service_id',
|
131
|
+
:'version' => :'version',
|
127
132
|
:'access_key' => :'access_key',
|
128
133
|
:'acl' => :'acl',
|
129
134
|
:'bucket_name' => :'bucket_name',
|
@@ -134,12 +139,7 @@ module Fastly
|
|
134
139
|
:'redundancy' => :'redundancy',
|
135
140
|
:'secret_key' => :'secret_key',
|
136
141
|
:'server_side_encryption_kms_key_id' => :'server_side_encryption_kms_key_id',
|
137
|
-
:'server_side_encryption' => :'server_side_encryption'
|
138
|
-
:'created_at' => :'created_at',
|
139
|
-
:'deleted_at' => :'deleted_at',
|
140
|
-
:'updated_at' => :'updated_at',
|
141
|
-
:'service_id' => :'service_id',
|
142
|
-
:'version' => :'version'
|
142
|
+
:'server_side_encryption' => :'server_side_encryption'
|
143
143
|
}
|
144
144
|
end
|
145
145
|
|
@@ -153,14 +153,19 @@ module Fastly
|
|
153
153
|
{
|
154
154
|
:'name' => :'String',
|
155
155
|
:'placement' => :'String',
|
156
|
-
:'format_version' => :'Integer',
|
157
156
|
:'response_condition' => :'String',
|
158
157
|
:'format' => :'String',
|
158
|
+
:'format_version' => :'String',
|
159
159
|
:'message_type' => :'String',
|
160
160
|
:'timestamp_format' => :'String',
|
161
|
-
:'period' => :'Integer',
|
162
|
-
:'gzip_level' => :'Integer',
|
163
161
|
:'compression_codec' => :'String',
|
162
|
+
:'period' => :'String',
|
163
|
+
:'gzip_level' => :'String',
|
164
|
+
:'created_at' => :'Time',
|
165
|
+
:'deleted_at' => :'Time',
|
166
|
+
:'updated_at' => :'Time',
|
167
|
+
:'service_id' => :'String',
|
168
|
+
:'version' => :'String',
|
164
169
|
:'access_key' => :'String',
|
165
170
|
:'acl' => :'String',
|
166
171
|
:'bucket_name' => :'String',
|
@@ -171,12 +176,7 @@ module Fastly
|
|
171
176
|
:'redundancy' => :'String',
|
172
177
|
:'secret_key' => :'String',
|
173
178
|
:'server_side_encryption_kms_key_id' => :'String',
|
174
|
-
:'server_side_encryption' => :'String'
|
175
|
-
:'created_at' => :'Time',
|
176
|
-
:'deleted_at' => :'Time',
|
177
|
-
:'updated_at' => :'Time',
|
178
|
-
:'service_id' => :'String',
|
179
|
-
:'version' => :'Integer'
|
179
|
+
:'server_side_encryption' => :'String'
|
180
180
|
}
|
181
181
|
end
|
182
182
|
|
@@ -186,6 +186,9 @@ module Fastly
|
|
186
186
|
:'placement',
|
187
187
|
:'response_condition',
|
188
188
|
:'timestamp_format',
|
189
|
+
:'created_at',
|
190
|
+
:'deleted_at',
|
191
|
+
:'updated_at',
|
189
192
|
:'access_key',
|
190
193
|
:'iam_role',
|
191
194
|
:'path',
|
@@ -193,18 +196,17 @@ module Fastly
|
|
193
196
|
:'redundancy',
|
194
197
|
:'secret_key',
|
195
198
|
:'server_side_encryption_kms_key_id',
|
196
|
-
:'server_side_encryption'
|
197
|
-
:'created_at',
|
198
|
-
:'deleted_at',
|
199
|
-
:'updated_at',
|
199
|
+
:'server_side_encryption'
|
200
200
|
])
|
201
201
|
end
|
202
202
|
|
203
203
|
# List of class defined in allOf (OpenAPI v3)
|
204
204
|
def self.fastly_all_of
|
205
205
|
[
|
206
|
-
:'
|
207
|
-
:'
|
206
|
+
:'LoggingCommonResponse',
|
207
|
+
:'LoggingGenericCommonResponse',
|
208
|
+
:'LoggingS3Additional',
|
209
|
+
:'ServiceIdAndVersionString',
|
208
210
|
:'Timestamps'
|
209
211
|
]
|
210
212
|
end
|
@@ -232,12 +234,6 @@ module Fastly
|
|
232
234
|
self.placement = attributes[:'placement']
|
233
235
|
end
|
234
236
|
|
235
|
-
if attributes.key?(:'format_version')
|
236
|
-
self.format_version = attributes[:'format_version']
|
237
|
-
else
|
238
|
-
self.format_version = FORMAT_VERSION::v2
|
239
|
-
end
|
240
|
-
|
241
237
|
if attributes.key?(:'response_condition')
|
242
238
|
self.response_condition = attributes[:'response_condition']
|
243
239
|
end
|
@@ -248,6 +244,12 @@ module Fastly
|
|
248
244
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
249
245
|
end
|
250
246
|
|
247
|
+
if attributes.key?(:'format_version')
|
248
|
+
self.format_version = attributes[:'format_version']
|
249
|
+
else
|
250
|
+
self.format_version = '2'
|
251
|
+
end
|
252
|
+
|
251
253
|
if attributes.key?(:'message_type')
|
252
254
|
self.message_type = attributes[:'message_type']
|
253
255
|
else
|
@@ -258,20 +260,40 @@ module Fastly
|
|
258
260
|
self.timestamp_format = attributes[:'timestamp_format']
|
259
261
|
end
|
260
262
|
|
263
|
+
if attributes.key?(:'compression_codec')
|
264
|
+
self.compression_codec = attributes[:'compression_codec']
|
265
|
+
end
|
266
|
+
|
261
267
|
if attributes.key?(:'period')
|
262
268
|
self.period = attributes[:'period']
|
263
269
|
else
|
264
|
-
self.period = 3600
|
270
|
+
self.period = '3600'
|
265
271
|
end
|
266
272
|
|
267
273
|
if attributes.key?(:'gzip_level')
|
268
274
|
self.gzip_level = attributes[:'gzip_level']
|
269
275
|
else
|
270
|
-
self.gzip_level = 0
|
276
|
+
self.gzip_level = '0'
|
271
277
|
end
|
272
278
|
|
273
|
-
if attributes.key?(:'
|
274
|
-
self.
|
279
|
+
if attributes.key?(:'created_at')
|
280
|
+
self.created_at = attributes[:'created_at']
|
281
|
+
end
|
282
|
+
|
283
|
+
if attributes.key?(:'deleted_at')
|
284
|
+
self.deleted_at = attributes[:'deleted_at']
|
285
|
+
end
|
286
|
+
|
287
|
+
if attributes.key?(:'updated_at')
|
288
|
+
self.updated_at = attributes[:'updated_at']
|
289
|
+
end
|
290
|
+
|
291
|
+
if attributes.key?(:'service_id')
|
292
|
+
self.service_id = attributes[:'service_id']
|
293
|
+
end
|
294
|
+
|
295
|
+
if attributes.key?(:'version')
|
296
|
+
self.version = attributes[:'version']
|
275
297
|
end
|
276
298
|
|
277
299
|
if attributes.key?(:'access_key')
|
@@ -327,26 +349,6 @@ module Fastly
|
|
327
349
|
else
|
328
350
|
self.server_side_encryption = 'null'
|
329
351
|
end
|
330
|
-
|
331
|
-
if attributes.key?(:'created_at')
|
332
|
-
self.created_at = attributes[:'created_at']
|
333
|
-
end
|
334
|
-
|
335
|
-
if attributes.key?(:'deleted_at')
|
336
|
-
self.deleted_at = attributes[:'deleted_at']
|
337
|
-
end
|
338
|
-
|
339
|
-
if attributes.key?(:'updated_at')
|
340
|
-
self.updated_at = attributes[:'updated_at']
|
341
|
-
end
|
342
|
-
|
343
|
-
if attributes.key?(:'service_id')
|
344
|
-
self.service_id = attributes[:'service_id']
|
345
|
-
end
|
346
|
-
|
347
|
-
if attributes.key?(:'version')
|
348
|
-
self.version = attributes[:'version']
|
349
|
-
end
|
350
352
|
end
|
351
353
|
|
352
354
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -361,7 +363,7 @@ module Fastly
|
|
361
363
|
def valid?
|
362
364
|
placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
|
363
365
|
return false unless placement_validator.valid?(@placement)
|
364
|
-
format_version_validator = EnumAttributeValidator.new('
|
366
|
+
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
365
367
|
return false unless format_version_validator.valid?(@format_version)
|
366
368
|
message_type_validator = EnumAttributeValidator.new('String', ["classic", "loggly", "logplex", "blank"])
|
367
369
|
return false unless message_type_validator.valid?(@message_type)
|
@@ -383,7 +385,7 @@ module Fastly
|
|
383
385
|
# Custom attribute writer method checking allowed values (enum).
|
384
386
|
# @param [Object] format_version Object to be assigned
|
385
387
|
def format_version=(format_version)
|
386
|
-
validator = EnumAttributeValidator.new('
|
388
|
+
validator = EnumAttributeValidator.new('String', ["1", "2"])
|
387
389
|
unless validator.valid?(format_version)
|
388
390
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{validator.allowable_values}."
|
389
391
|
end
|
@@ -417,14 +419,19 @@ module Fastly
|
|
417
419
|
self.class == o.class &&
|
418
420
|
name == o.name &&
|
419
421
|
placement == o.placement &&
|
420
|
-
format_version == o.format_version &&
|
421
422
|
response_condition == o.response_condition &&
|
422
423
|
format == o.format &&
|
424
|
+
format_version == o.format_version &&
|
423
425
|
message_type == o.message_type &&
|
424
426
|
timestamp_format == o.timestamp_format &&
|
427
|
+
compression_codec == o.compression_codec &&
|
425
428
|
period == o.period &&
|
426
429
|
gzip_level == o.gzip_level &&
|
427
|
-
|
430
|
+
created_at == o.created_at &&
|
431
|
+
deleted_at == o.deleted_at &&
|
432
|
+
updated_at == o.updated_at &&
|
433
|
+
service_id == o.service_id &&
|
434
|
+
version == o.version &&
|
428
435
|
access_key == o.access_key &&
|
429
436
|
acl == o.acl &&
|
430
437
|
bucket_name == o.bucket_name &&
|
@@ -435,12 +442,7 @@ module Fastly
|
|
435
442
|
redundancy == o.redundancy &&
|
436
443
|
secret_key == o.secret_key &&
|
437
444
|
server_side_encryption_kms_key_id == o.server_side_encryption_kms_key_id &&
|
438
|
-
server_side_encryption == o.server_side_encryption
|
439
|
-
created_at == o.created_at &&
|
440
|
-
deleted_at == o.deleted_at &&
|
441
|
-
updated_at == o.updated_at &&
|
442
|
-
service_id == o.service_id &&
|
443
|
-
version == o.version
|
445
|
+
server_side_encryption == o.server_side_encryption
|
444
446
|
end
|
445
447
|
|
446
448
|
# @see the `==` method
|
@@ -452,7 +454,7 @@ module Fastly
|
|
452
454
|
# Calculates hash code according to all attributes.
|
453
455
|
# @return [Integer] Hash code
|
454
456
|
def hash
|
455
|
-
[name, placement,
|
457
|
+
[name, placement, response_condition, format, format_version, message_type, timestamp_format, compression_codec, period, gzip_level, created_at, deleted_at, updated_at, service_id, version, access_key, acl, bucket_name, domain, iam_role, path, public_key, redundancy, secret_key, server_side_encryption_kms_key_id, server_side_encryption].hash
|
456
458
|
end
|
457
459
|
|
458
460
|
# Builds the object from hash
|
@@ -12,7 +12,7 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
15
|
+
class LoggingScalyrAdditional
|
16
16
|
# The region that log data will be sent to.
|
17
17
|
attr_accessor :region
|
18
18
|
|
@@ -77,13 +77,13 @@ module Fastly
|
|
77
77
|
# @param [Hash] attributes Model attributes in the form of hash
|
78
78
|
def initialize(attributes = {})
|
79
79
|
if (!attributes.is_a?(Hash))
|
80
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
80
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::LoggingScalyrAdditional` initialize method"
|
81
81
|
end
|
82
82
|
|
83
83
|
# check to see if the attribute exists and convert string to symbol for hash key
|
84
84
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
85
85
|
if (!self.class.attribute_map.key?(k.to_sym))
|
86
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
86
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::LoggingScalyrAdditional`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
87
87
|
end
|
88
88
|
h[k.to_sym] = v
|
89
89
|
}
|
@@ -19,15 +19,15 @@ module Fastly
|
|
19
19
|
# Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
20
20
|
attr_accessor :placement
|
21
21
|
|
22
|
-
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
23
|
-
attr_accessor :format_version
|
24
|
-
|
25
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
26
23
|
attr_accessor :response_condition
|
27
24
|
|
28
25
|
# A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
|
29
26
|
attr_accessor :format
|
30
27
|
|
28
|
+
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
|
+
attr_accessor :format_version
|
30
|
+
|
31
31
|
# The region that log data will be sent to.
|
32
32
|
attr_accessor :region
|
33
33
|
|
@@ -77,9 +77,9 @@ module Fastly
|
|
77
77
|
{
|
78
78
|
:'name' => :'name',
|
79
79
|
:'placement' => :'placement',
|
80
|
-
:'format_version' => :'format_version',
|
81
80
|
:'response_condition' => :'response_condition',
|
82
81
|
:'format' => :'format',
|
82
|
+
:'format_version' => :'format_version',
|
83
83
|
:'region' => :'region',
|
84
84
|
:'token' => :'token',
|
85
85
|
:'project_id' => :'project_id',
|
@@ -101,9 +101,9 @@ module Fastly
|
|
101
101
|
{
|
102
102
|
:'name' => :'String',
|
103
103
|
:'placement' => :'String',
|
104
|
-
:'format_version' => :'Integer',
|
105
104
|
:'response_condition' => :'String',
|
106
105
|
:'format' => :'String',
|
106
|
+
:'format_version' => :'String',
|
107
107
|
:'region' => :'String',
|
108
108
|
:'token' => :'String',
|
109
109
|
:'project_id' => :'String',
|
@@ -111,7 +111,7 @@ module Fastly
|
|
111
111
|
:'deleted_at' => :'Time',
|
112
112
|
:'updated_at' => :'Time',
|
113
113
|
:'service_id' => :'String',
|
114
|
-
:'version' => :'
|
114
|
+
:'version' => :'String'
|
115
115
|
}
|
116
116
|
end
|
117
117
|
|
@@ -129,8 +129,9 @@ module Fastly
|
|
129
129
|
# List of class defined in allOf (OpenAPI v3)
|
130
130
|
def self.fastly_all_of
|
131
131
|
[
|
132
|
-
:'
|
133
|
-
:'
|
132
|
+
:'LoggingCommonResponse',
|
133
|
+
:'LoggingScalyrAdditional',
|
134
|
+
:'ServiceIdAndVersionString',
|
134
135
|
:'Timestamps'
|
135
136
|
]
|
136
137
|
end
|
@@ -158,12 +159,6 @@ module Fastly
|
|
158
159
|
self.placement = attributes[:'placement']
|
159
160
|
end
|
160
161
|
|
161
|
-
if attributes.key?(:'format_version')
|
162
|
-
self.format_version = attributes[:'format_version']
|
163
|
-
else
|
164
|
-
self.format_version = FORMAT_VERSION::v2
|
165
|
-
end
|
166
|
-
|
167
162
|
if attributes.key?(:'response_condition')
|
168
163
|
self.response_condition = attributes[:'response_condition']
|
169
164
|
end
|
@@ -174,6 +169,12 @@ module Fastly
|
|
174
169
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
175
170
|
end
|
176
171
|
|
172
|
+
if attributes.key?(:'format_version')
|
173
|
+
self.format_version = attributes[:'format_version']
|
174
|
+
else
|
175
|
+
self.format_version = '2'
|
176
|
+
end
|
177
|
+
|
177
178
|
if attributes.key?(:'region')
|
178
179
|
self.region = attributes[:'region']
|
179
180
|
else
|
@@ -223,7 +224,7 @@ module Fastly
|
|
223
224
|
def valid?
|
224
225
|
placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
|
225
226
|
return false unless placement_validator.valid?(@placement)
|
226
|
-
format_version_validator = EnumAttributeValidator.new('
|
227
|
+
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
227
228
|
return false unless format_version_validator.valid?(@format_version)
|
228
229
|
region_validator = EnumAttributeValidator.new('String', ["US", "EU"])
|
229
230
|
return false unless region_validator.valid?(@region)
|
@@ -243,7 +244,7 @@ module Fastly
|
|
243
244
|
# Custom attribute writer method checking allowed values (enum).
|
244
245
|
# @param [Object] format_version Object to be assigned
|
245
246
|
def format_version=(format_version)
|
246
|
-
validator = EnumAttributeValidator.new('
|
247
|
+
validator = EnumAttributeValidator.new('String', ["1", "2"])
|
247
248
|
unless validator.valid?(format_version)
|
248
249
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{validator.allowable_values}."
|
249
250
|
end
|
@@ -267,9 +268,9 @@ module Fastly
|
|
267
268
|
self.class == o.class &&
|
268
269
|
name == o.name &&
|
269
270
|
placement == o.placement &&
|
270
|
-
format_version == o.format_version &&
|
271
271
|
response_condition == o.response_condition &&
|
272
272
|
format == o.format &&
|
273
|
+
format_version == o.format_version &&
|
273
274
|
region == o.region &&
|
274
275
|
token == o.token &&
|
275
276
|
project_id == o.project_id &&
|
@@ -289,7 +290,7 @@ module Fastly
|
|
289
290
|
# Calculates hash code according to all attributes.
|
290
291
|
# @return [Integer] Hash code
|
291
292
|
def hash
|
292
|
-
[name, placement,
|
293
|
+
[name, placement, response_condition, format, format_version, region, token, project_id, created_at, deleted_at, updated_at, service_id, version].hash
|
293
294
|
end
|
294
295
|
|
295
296
|
# Builds the object from hash
|
@@ -12,16 +12,13 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
15
|
+
class LoggingSftpAdditional
|
16
16
|
# The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
|
17
17
|
attr_accessor :password
|
18
18
|
|
19
19
|
# The path to upload logs to.
|
20
20
|
attr_accessor :path
|
21
21
|
|
22
|
-
# The port number.
|
23
|
-
attr_accessor :port
|
24
|
-
|
25
22
|
# A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
|
26
23
|
attr_accessor :public_key
|
27
24
|
|
@@ -39,7 +36,6 @@ module Fastly
|
|
39
36
|
{
|
40
37
|
:'password' => :'password',
|
41
38
|
:'path' => :'path',
|
42
|
-
:'port' => :'port',
|
43
39
|
:'public_key' => :'public_key',
|
44
40
|
:'secret_key' => :'secret_key',
|
45
41
|
:'ssh_known_hosts' => :'ssh_known_hosts',
|
@@ -57,7 +53,6 @@ module Fastly
|
|
57
53
|
{
|
58
54
|
:'password' => :'String',
|
59
55
|
:'path' => :'String',
|
60
|
-
:'port' => :'Integer',
|
61
56
|
:'public_key' => :'String',
|
62
57
|
:'secret_key' => :'String',
|
63
58
|
:'ssh_known_hosts' => :'String',
|
@@ -78,13 +73,13 @@ module Fastly
|
|
78
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
79
74
|
def initialize(attributes = {})
|
80
75
|
if (!attributes.is_a?(Hash))
|
81
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
76
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::LoggingSftpAdditional` initialize method"
|
82
77
|
end
|
83
78
|
|
84
79
|
# check to see if the attribute exists and convert string to symbol for hash key
|
85
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
86
81
|
if (!self.class.attribute_map.key?(k.to_sym))
|
87
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::LoggingSftpAdditional`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
88
83
|
end
|
89
84
|
h[k.to_sym] = v
|
90
85
|
}
|
@@ -99,12 +94,6 @@ module Fastly
|
|
99
94
|
self.path = 'null'
|
100
95
|
end
|
101
96
|
|
102
|
-
if attributes.key?(:'port')
|
103
|
-
self.port = attributes[:'port']
|
104
|
-
else
|
105
|
-
self.port = 22
|
106
|
-
end
|
107
|
-
|
108
97
|
if attributes.key?(:'public_key')
|
109
98
|
self.public_key = attributes[:'public_key']
|
110
99
|
else
|
@@ -146,7 +135,6 @@ module Fastly
|
|
146
135
|
self.class == o.class &&
|
147
136
|
password == o.password &&
|
148
137
|
path == o.path &&
|
149
|
-
port == o.port &&
|
150
138
|
public_key == o.public_key &&
|
151
139
|
secret_key == o.secret_key &&
|
152
140
|
ssh_known_hosts == o.ssh_known_hosts &&
|
@@ -162,7 +150,7 @@ module Fastly
|
|
162
150
|
# Calculates hash code according to all attributes.
|
163
151
|
# @return [Integer] Hash code
|
164
152
|
def hash
|
165
|
-
[password, path,
|
153
|
+
[password, path, public_key, secret_key, ssh_known_hosts, user].hash
|
166
154
|
end
|
167
155
|
|
168
156
|
# Builds the object from hash
|