fastly 8.2.0 → 8.4.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 +44 -0
- data/Gemfile.lock +3 -2
- data/README.md +19 -6
- data/docs/AclApi.md +10 -7
- data/docs/AclEntryApi.md +11 -8
- data/docs/ApexRedirectApi.md +10 -7
- data/docs/AutomationTokensApi.md +10 -7
- data/docs/BackendApi.md +10 -7
- data/docs/BillingAddressApi.md +9 -6
- data/docs/BillingApi.md +8 -5
- data/docs/BillingInvoicesApi.md +9 -6
- data/docs/CacheSettingsApi.md +10 -7
- data/docs/ConditionApi.md +10 -7
- data/docs/ConfigStoreApi.md +12 -9
- data/docs/ConfigStoreItemApi.md +12 -9
- data/docs/ContactApi.md +8 -5
- data/docs/ContentApi.md +6 -3
- data/docs/CustomerApi.md +10 -7
- data/docs/DefaultSettings.md +16 -0
- data/docs/DefaultSettingsError.md +12 -0
- data/docs/DefaultSettingsResponse.md +16 -0
- data/docs/DictionaryApi.md +10 -7
- data/docs/DictionaryInfoApi.md +6 -3
- data/docs/DictionaryItemApi.md +12 -9
- data/docs/DiffApi.md +6 -3
- data/docs/DirectorApi.md +10 -7
- data/docs/DirectorBackendApi.md +8 -5
- data/docs/DomainApi.md +12 -9
- data/docs/DomainInspectorHistoricalApi.md +6 -3
- data/docs/DomainInspectorRealtimeApi.md +8 -5
- data/docs/DomainOwnershipsApi.md +6 -3
- data/docs/EnabledProductsApi.md +8 -5
- data/docs/EventsApi.md +7 -4
- data/docs/GzipApi.md +10 -7
- data/docs/HeaderApi.md +10 -7
- data/docs/HealthcheckApi.md +10 -7
- data/docs/HistoricalApi.md +14 -11
- data/docs/Http3Api.md +8 -5
- data/docs/IamPermissionsApi.md +6 -3
- data/docs/IamRolesApi.md +13 -10
- data/docs/IamServiceGroupsApi.md +13 -10
- data/docs/IamUserGroupsApi.md +19 -16
- data/docs/ImageOptimizerDefaultSettingsApi.md +99 -0
- data/docs/InvitationsApi.md +8 -5
- data/docs/Invoicelineitems.md +1 -0
- data/docs/KvStoreApi.md +9 -6
- data/docs/KvStoreItemApi.md +9 -6
- data/docs/LegacyWafConfigurationSetsApi.md +8 -5
- data/docs/LegacyWafFirewallApi.md +13 -10
- data/docs/LegacyWafOwaspApi.md +8 -5
- data/docs/LegacyWafRuleApi.md +9 -6
- data/docs/LegacyWafRuleStatusApi.md +9 -6
- data/docs/LegacyWafRulesetApi.md +8 -5
- data/docs/LegacyWafTagApi.md +6 -3
- data/docs/LegacyWafUpdateStatusApi.md +7 -4
- data/docs/LoggingAzureblobApi.md +10 -7
- data/docs/LoggingBigqueryApi.md +10 -7
- data/docs/LoggingCloudfilesApi.md +10 -7
- data/docs/LoggingDatadogApi.md +10 -7
- data/docs/LoggingDigitaloceanApi.md +10 -7
- data/docs/LoggingElasticsearchApi.md +10 -7
- data/docs/LoggingFtpApi.md +10 -7
- data/docs/LoggingGcsApi.md +10 -7
- data/docs/LoggingHerokuApi.md +10 -7
- data/docs/LoggingHoneycombApi.md +10 -7
- data/docs/LoggingHttpsApi.md +10 -7
- data/docs/LoggingKafkaApi.md +10 -7
- data/docs/LoggingKinesisAdditional.md +1 -1
- data/docs/LoggingKinesisApi.md +12 -9
- data/docs/LoggingKinesisResponse.md +1 -1
- data/docs/LoggingLogentriesApi.md +10 -7
- data/docs/LoggingLogglyApi.md +10 -7
- data/docs/LoggingLogshuttleApi.md +10 -7
- data/docs/LoggingNewrelicApi.md +10 -7
- data/docs/LoggingNewrelicotlpApi.md +10 -7
- data/docs/LoggingOpenstackApi.md +10 -7
- data/docs/LoggingPapertrailApi.md +10 -7
- data/docs/LoggingPubsubApi.md +10 -7
- data/docs/LoggingS3Additional.md +1 -0
- data/docs/LoggingS3Api.md +14 -7
- data/docs/LoggingS3Response.md +1 -0
- data/docs/LoggingScalyrApi.md +10 -7
- data/docs/LoggingSftpApi.md +10 -7
- data/docs/LoggingSplunkApi.md +10 -7
- data/docs/LoggingSumologicApi.md +10 -7
- data/docs/LoggingSyslogApi.md +10 -7
- data/docs/MutualAuthenticationApi.md +10 -7
- data/docs/OriginInspectorHistoricalApi.md +6 -3
- data/docs/OriginInspectorRealtimeApi.md +8 -5
- data/docs/PackageApi.md +7 -4
- data/docs/PoolApi.md +10 -7
- data/docs/PopApi.md +6 -3
- data/docs/PublicIpListApi.md +6 -3
- data/docs/PublishApi.md +6 -3
- data/docs/PurgeApi.md +9 -6
- data/docs/RateLimiterApi.md +10 -7
- data/docs/RealtimeApi.md +8 -5
- data/docs/RequestSettingsApi.md +10 -7
- data/docs/ResourceApi.md +10 -7
- data/docs/ResourceResponse.md +1 -1
- data/docs/ResourceResponseAllOf.md +1 -1
- data/docs/ResponseObjectApi.md +10 -7
- data/docs/SecretStoreApi.md +11 -8
- data/docs/SecretStoreItemApi.md +11 -8
- data/docs/ServerApi.md +10 -7
- data/docs/ServiceApi.md +13 -10
- data/docs/ServiceAuthorizationsApi.md +12 -9
- data/docs/SettingsApi.md +7 -4
- data/docs/SnippetApi.md +12 -9
- data/docs/StarApi.md +9 -6
- data/docs/StatsApi.md +6 -3
- data/docs/SudoApi.md +6 -3
- data/docs/TlsActivationsApi.md +10 -7
- data/docs/TlsBulkCertificatesApi.md +10 -7
- data/docs/TlsCertificatesApi.md +10 -7
- data/docs/TlsConfigurationsApi.md +8 -5
- data/docs/TlsCsrsApi.md +6 -3
- data/docs/TlsDomainsApi.md +6 -3
- data/docs/TlsPrivateKeysApi.md +9 -6
- data/docs/TlsSubscriptionDataAttributes.md +1 -1
- data/docs/TlsSubscriptionsApi.md +18 -13
- data/docs/TokensApi.md +13 -10
- data/docs/UserApi.md +12 -9
- data/docs/VclApi.md +18 -15
- data/docs/VclDiffApi.md +6 -3
- data/docs/VersionApi.md +14 -11
- data/docs/WafActiveRulesApi.md +13 -10
- data/docs/WafExclusionsApi.md +10 -7
- data/docs/WafFirewallVersionsApi.md +11 -8
- data/docs/WafFirewallsApi.md +10 -7
- data/docs/WafRuleRevisionsApi.md +7 -4
- data/docs/WafRulesApi.md +7 -4
- data/docs/WafTagsApi.md +6 -3
- data/docs/WholePlatformDdosHistoricalApi.md +6 -3
- data/fastly.gemspec +2 -2
- data/lib/fastly/api/acl_api.rb +1 -1
- data/lib/fastly/api/acl_entry_api.rb +1 -1
- data/lib/fastly/api/apex_redirect_api.rb +1 -1
- data/lib/fastly/api/automation_tokens_api.rb +1 -1
- data/lib/fastly/api/backend_api.rb +1 -1
- data/lib/fastly/api/billing_address_api.rb +1 -1
- data/lib/fastly/api/billing_api.rb +1 -1
- data/lib/fastly/api/billing_invoices_api.rb +1 -1
- data/lib/fastly/api/cache_settings_api.rb +1 -1
- data/lib/fastly/api/condition_api.rb +1 -1
- data/lib/fastly/api/config_store_api.rb +1 -1
- data/lib/fastly/api/config_store_item_api.rb +1 -1
- data/lib/fastly/api/contact_api.rb +1 -1
- data/lib/fastly/api/content_api.rb +1 -1
- data/lib/fastly/api/customer_api.rb +1 -1
- data/lib/fastly/api/dictionary_api.rb +1 -1
- data/lib/fastly/api/dictionary_info_api.rb +1 -1
- data/lib/fastly/api/dictionary_item_api.rb +1 -1
- data/lib/fastly/api/diff_api.rb +1 -1
- data/lib/fastly/api/director_api.rb +1 -1
- data/lib/fastly/api/director_backend_api.rb +1 -1
- data/lib/fastly/api/domain_api.rb +1 -1
- data/lib/fastly/api/domain_inspector_historical_api.rb +1 -1
- data/lib/fastly/api/domain_inspector_realtime_api.rb +1 -1
- data/lib/fastly/api/domain_ownerships_api.rb +1 -1
- data/lib/fastly/api/enabled_products_api.rb +1 -1
- data/lib/fastly/api/events_api.rb +1 -1
- data/lib/fastly/api/gzip_api.rb +1 -1
- data/lib/fastly/api/header_api.rb +1 -1
- data/lib/fastly/api/healthcheck_api.rb +1 -1
- data/lib/fastly/api/historical_api.rb +1 -1
- data/lib/fastly/api/http3_api.rb +1 -1
- data/lib/fastly/api/iam_permissions_api.rb +1 -1
- data/lib/fastly/api/iam_roles_api.rb +1 -1
- data/lib/fastly/api/iam_service_groups_api.rb +1 -1
- data/lib/fastly/api/iam_user_groups_api.rb +1 -1
- data/lib/fastly/api/image_optimizer_default_settings_api.rb +167 -0
- data/lib/fastly/api/invitations_api.rb +1 -1
- data/lib/fastly/api/kv_store_api.rb +1 -1
- data/lib/fastly/api/kv_store_item_api.rb +1 -1
- data/lib/fastly/api/legacy_waf_configuration_sets_api.rb +1 -1
- data/lib/fastly/api/legacy_waf_firewall_api.rb +1 -1
- data/lib/fastly/api/legacy_waf_owasp_api.rb +1 -1
- data/lib/fastly/api/legacy_waf_rule_api.rb +1 -1
- data/lib/fastly/api/legacy_waf_rule_status_api.rb +1 -1
- data/lib/fastly/api/legacy_waf_ruleset_api.rb +1 -1
- data/lib/fastly/api/legacy_waf_tag_api.rb +1 -1
- data/lib/fastly/api/legacy_waf_update_status_api.rb +1 -1
- data/lib/fastly/api/logging_azureblob_api.rb +1 -1
- data/lib/fastly/api/logging_bigquery_api.rb +1 -1
- data/lib/fastly/api/logging_cloudfiles_api.rb +1 -1
- data/lib/fastly/api/logging_datadog_api.rb +1 -1
- data/lib/fastly/api/logging_digitalocean_api.rb +1 -1
- data/lib/fastly/api/logging_elasticsearch_api.rb +1 -1
- data/lib/fastly/api/logging_ftp_api.rb +1 -1
- data/lib/fastly/api/logging_gcs_api.rb +1 -1
- data/lib/fastly/api/logging_heroku_api.rb +1 -1
- data/lib/fastly/api/logging_honeycomb_api.rb +1 -1
- data/lib/fastly/api/logging_https_api.rb +1 -1
- data/lib/fastly/api/logging_kafka_api.rb +1 -1
- data/lib/fastly/api/logging_kinesis_api.rb +3 -3
- data/lib/fastly/api/logging_logentries_api.rb +1 -1
- data/lib/fastly/api/logging_loggly_api.rb +1 -1
- data/lib/fastly/api/logging_logshuttle_api.rb +1 -1
- data/lib/fastly/api/logging_newrelic_api.rb +1 -1
- data/lib/fastly/api/logging_newrelicotlp_api.rb +1 -1
- data/lib/fastly/api/logging_openstack_api.rb +1 -1
- data/lib/fastly/api/logging_papertrail_api.rb +1 -1
- data/lib/fastly/api/logging_pubsub_api.rb +1 -1
- data/lib/fastly/api/logging_s3_api.rb +15 -1
- data/lib/fastly/api/logging_scalyr_api.rb +1 -1
- data/lib/fastly/api/logging_sftp_api.rb +1 -1
- data/lib/fastly/api/logging_splunk_api.rb +1 -1
- data/lib/fastly/api/logging_sumologic_api.rb +1 -1
- data/lib/fastly/api/logging_syslog_api.rb +1 -1
- data/lib/fastly/api/mutual_authentication_api.rb +1 -1
- data/lib/fastly/api/origin_inspector_historical_api.rb +1 -1
- data/lib/fastly/api/origin_inspector_realtime_api.rb +1 -1
- data/lib/fastly/api/package_api.rb +1 -1
- data/lib/fastly/api/pool_api.rb +1 -1
- data/lib/fastly/api/pop_api.rb +1 -1
- data/lib/fastly/api/public_ip_list_api.rb +1 -1
- data/lib/fastly/api/publish_api.rb +1 -1
- data/lib/fastly/api/purge_api.rb +1 -1
- data/lib/fastly/api/rate_limiter_api.rb +1 -1
- data/lib/fastly/api/realtime_api.rb +1 -1
- data/lib/fastly/api/request_settings_api.rb +1 -1
- data/lib/fastly/api/resource_api.rb +1 -1
- data/lib/fastly/api/response_object_api.rb +1 -1
- data/lib/fastly/api/secret_store_api.rb +1 -1
- data/lib/fastly/api/secret_store_item_api.rb +1 -1
- data/lib/fastly/api/server_api.rb +1 -1
- data/lib/fastly/api/service_api.rb +1 -1
- data/lib/fastly/api/service_authorizations_api.rb +1 -1
- data/lib/fastly/api/settings_api.rb +1 -1
- data/lib/fastly/api/snippet_api.rb +1 -1
- data/lib/fastly/api/star_api.rb +1 -1
- data/lib/fastly/api/stats_api.rb +1 -1
- data/lib/fastly/api/sudo_api.rb +1 -1
- data/lib/fastly/api/tls_activations_api.rb +1 -1
- data/lib/fastly/api/tls_bulk_certificates_api.rb +1 -1
- data/lib/fastly/api/tls_certificates_api.rb +1 -1
- data/lib/fastly/api/tls_configurations_api.rb +1 -1
- data/lib/fastly/api/tls_csrs_api.rb +1 -1
- data/lib/fastly/api/tls_domains_api.rb +1 -1
- data/lib/fastly/api/tls_private_keys_api.rb +1 -1
- data/lib/fastly/api/tls_subscriptions_api.rb +8 -5
- data/lib/fastly/api/tokens_api.rb +1 -1
- data/lib/fastly/api/user_api.rb +1 -1
- data/lib/fastly/api/vcl_api.rb +1 -1
- data/lib/fastly/api/vcl_diff_api.rb +1 -1
- data/lib/fastly/api/version_api.rb +1 -1
- data/lib/fastly/api/waf_active_rules_api.rb +1 -1
- data/lib/fastly/api/waf_exclusions_api.rb +1 -1
- data/lib/fastly/api/waf_firewall_versions_api.rb +1 -1
- data/lib/fastly/api/waf_firewalls_api.rb +1 -1
- data/lib/fastly/api/waf_rule_revisions_api.rb +1 -1
- data/lib/fastly/api/waf_rules_api.rb +1 -1
- data/lib/fastly/api/waf_tags_api.rb +1 -1
- data/lib/fastly/api/whole_platform_ddos_historical_api.rb +1 -1
- data/lib/fastly/api_client.rb +2 -2
- data/lib/fastly/api_error.rb +1 -1
- data/lib/fastly/configuration.rb +13 -1
- data/lib/fastly/models/acl.rb +1 -1
- data/lib/fastly/models/acl_entry.rb +1 -1
- data/lib/fastly/models/acl_entry_response.rb +1 -1
- data/lib/fastly/models/acl_entry_response_all_of.rb +1 -1
- data/lib/fastly/models/acl_response.rb +1 -1
- data/lib/fastly/models/acl_response_all_of.rb +1 -1
- data/lib/fastly/models/apex_redirect.rb +1 -1
- data/lib/fastly/models/apex_redirect_all_of.rb +1 -1
- data/lib/fastly/models/automation_token.rb +1 -1
- data/lib/fastly/models/automation_token_create_request.rb +1 -1
- data/lib/fastly/models/automation_token_create_request_attributes.rb +1 -1
- data/lib/fastly/models/automation_token_create_response.rb +1 -1
- data/lib/fastly/models/automation_token_create_response_all_of.rb +1 -1
- data/lib/fastly/models/automation_token_error_response.rb +1 -1
- data/lib/fastly/models/automation_token_response.rb +1 -1
- data/lib/fastly/models/automation_token_response_all_of.rb +1 -1
- data/lib/fastly/models/aws_region.rb +1 -1
- data/lib/fastly/models/backend.rb +2 -1
- data/lib/fastly/models/backend_response.rb +2 -1
- data/lib/fastly/models/backend_response_all_of.rb +1 -1
- data/lib/fastly/models/batch.rb +1 -1
- data/lib/fastly/models/batch_errors.rb +1 -1
- data/lib/fastly/models/billing.rb +1 -1
- data/lib/fastly/models/billing_address_attributes.rb +1 -1
- data/lib/fastly/models/billing_address_request.rb +1 -1
- data/lib/fastly/models/billing_address_request_data.rb +1 -1
- data/lib/fastly/models/billing_address_response.rb +1 -1
- data/lib/fastly/models/billing_address_response_data.rb +1 -1
- data/lib/fastly/models/billing_address_verification_error_response.rb +1 -1
- data/lib/fastly/models/billing_address_verification_error_response_errors.rb +1 -1
- data/lib/fastly/models/billing_estimate_lines.rb +1 -1
- data/lib/fastly/models/billing_estimate_lines_line_items.rb +1 -1
- data/lib/fastly/models/billing_estimate_response.rb +1 -1
- data/lib/fastly/models/billing_response.rb +1 -1
- data/lib/fastly/models/billing_response_item_items_data.rb +1 -1
- data/lib/fastly/models/billing_response_line_item.rb +1 -1
- data/lib/fastly/models/billing_status.rb +1 -1
- data/lib/fastly/models/billing_total.rb +1 -1
- data/lib/fastly/models/billing_total_extras.rb +1 -1
- data/lib/fastly/models/bulk_update_acl_entries_request.rb +1 -1
- data/lib/fastly/models/bulk_update_acl_entry.rb +1 -1
- data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +1 -1
- data/lib/fastly/models/bulk_update_config_store_item.rb +1 -1
- data/lib/fastly/models/bulk_update_config_store_item_all_of.rb +1 -1
- data/lib/fastly/models/bulk_update_config_store_list_request.rb +1 -1
- data/lib/fastly/models/bulk_update_dictionary_item.rb +1 -1
- data/lib/fastly/models/bulk_update_dictionary_list_request.rb +1 -1
- data/lib/fastly/models/bulk_waf_active_rules.rb +1 -1
- data/lib/fastly/models/cache_setting.rb +1 -1
- data/lib/fastly/models/cache_setting_response.rb +1 -1
- data/lib/fastly/models/client_key.rb +1 -1
- data/lib/fastly/models/condition.rb +1 -1
- data/lib/fastly/models/condition_response.rb +1 -1
- data/lib/fastly/models/config_store.rb +1 -1
- data/lib/fastly/models/config_store_info_response.rb +1 -1
- data/lib/fastly/models/config_store_item.rb +1 -1
- data/lib/fastly/models/config_store_item_response.rb +1 -1
- data/lib/fastly/models/config_store_item_response_all_of.rb +1 -1
- data/lib/fastly/models/config_store_response.rb +1 -1
- data/lib/fastly/models/config_store_response_all_of.rb +1 -1
- data/lib/fastly/models/contact.rb +1 -1
- data/lib/fastly/models/contact_response.rb +1 -1
- data/lib/fastly/models/contact_response_all_of.rb +1 -1
- data/lib/fastly/models/content.rb +1 -1
- data/lib/fastly/models/create_response_object_request.rb +1 -1
- data/lib/fastly/models/customer.rb +1 -1
- data/lib/fastly/models/customer_response.rb +1 -1
- data/lib/fastly/models/customer_response_all_of.rb +1 -1
- data/lib/fastly/models/default_settings.rb +385 -0
- data/lib/fastly/models/default_settings_error.rb +234 -0
- data/lib/fastly/models/default_settings_response.rb +435 -0
- data/lib/fastly/models/dictionary.rb +1 -1
- data/lib/fastly/models/dictionary_info_response.rb +1 -1
- data/lib/fastly/models/dictionary_item.rb +1 -1
- data/lib/fastly/models/dictionary_item_response.rb +1 -1
- data/lib/fastly/models/dictionary_item_response_all_of.rb +1 -1
- data/lib/fastly/models/dictionary_response.rb +1 -1
- data/lib/fastly/models/dictionary_response_all_of.rb +1 -1
- data/lib/fastly/models/diff_response.rb +1 -1
- data/lib/fastly/models/director.rb +1 -1
- data/lib/fastly/models/director_backend.rb +1 -1
- data/lib/fastly/models/director_backend_all_of.rb +1 -1
- data/lib/fastly/models/director_response.rb +1 -1
- data/lib/fastly/models/domain.rb +1 -1
- data/lib/fastly/models/domain_inspector.rb +1 -1
- data/lib/fastly/models/domain_inspector_entry.rb +1 -1
- data/lib/fastly/models/domain_inspector_entry_dimensions.rb +1 -1
- data/lib/fastly/models/domain_inspector_measurements.rb +1 -1
- data/lib/fastly/models/domain_inspector_realtime_entry.rb +1 -1
- data/lib/fastly/models/domain_response.rb +1 -1
- data/lib/fastly/models/enabled_product_response.rb +1 -1
- data/lib/fastly/models/enabled_product_response_links.rb +1 -1
- data/lib/fastly/models/enabled_product_response_product.rb +1 -1
- data/lib/fastly/models/enabled_product_response_service.rb +1 -1
- data/lib/fastly/models/error.rb +1 -1
- data/lib/fastly/models/error_response_data.rb +1 -1
- data/lib/fastly/models/event.rb +1 -1
- data/lib/fastly/models/event_attributes.rb +1 -1
- data/lib/fastly/models/event_data.rb +1 -1
- data/lib/fastly/models/event_response.rb +1 -1
- data/lib/fastly/models/events_response.rb +1 -1
- data/lib/fastly/models/generic_token_error.rb +1 -1
- data/lib/fastly/models/gzip.rb +1 -1
- data/lib/fastly/models/gzip_response.rb +1 -1
- data/lib/fastly/models/header.rb +1 -1
- data/lib/fastly/models/header_response.rb +1 -1
- data/lib/fastly/models/header_response_additional.rb +1 -1
- data/lib/fastly/models/healthcheck.rb +1 -1
- data/lib/fastly/models/healthcheck_response.rb +1 -1
- data/lib/fastly/models/historical.rb +1 -1
- data/lib/fastly/models/historical_ddos.rb +1 -1
- data/lib/fastly/models/historical_ddos_meta.rb +1 -1
- data/lib/fastly/models/historical_domains.rb +1 -1
- data/lib/fastly/models/historical_domains_data.rb +1 -1
- data/lib/fastly/models/historical_domains_meta.rb +1 -1
- data/lib/fastly/models/historical_domains_meta_filters.rb +1 -1
- data/lib/fastly/models/historical_domains_response.rb +1 -1
- data/lib/fastly/models/historical_domains_response_all_of.rb +1 -1
- data/lib/fastly/models/historical_meta.rb +1 -1
- data/lib/fastly/models/historical_origins_response.rb +1 -1
- data/lib/fastly/models/historical_origins_response_all_of.rb +1 -1
- data/lib/fastly/models/historical_regions_response.rb +1 -1
- data/lib/fastly/models/historical_regions_response_all_of.rb +1 -1
- data/lib/fastly/models/historical_stats_aggregated_response.rb +1 -1
- data/lib/fastly/models/historical_stats_aggregated_response_all_of.rb +1 -1
- data/lib/fastly/models/historical_stats_by_service_response.rb +1 -1
- data/lib/fastly/models/historical_stats_by_service_response_all_of.rb +1 -1
- data/lib/fastly/models/historical_usage_aggregated_response.rb +1 -1
- data/lib/fastly/models/historical_usage_aggregated_response_all_of.rb +1 -1
- data/lib/fastly/models/historical_usage_data.rb +1 -1
- data/lib/fastly/models/historical_usage_month_response.rb +1 -1
- data/lib/fastly/models/historical_usage_month_response_all_of.rb +1 -1
- data/lib/fastly/models/historical_usage_month_response_data.rb +1 -1
- data/lib/fastly/models/historical_usage_service.rb +1 -1
- data/lib/fastly/models/historical_usage_service_response.rb +1 -1
- data/lib/fastly/models/historical_usage_service_response_all_of.rb +1 -1
- data/lib/fastly/models/http3.rb +1 -1
- data/lib/fastly/models/http3_all_of.rb +1 -1
- data/lib/fastly/models/http_response_format.rb +1 -1
- data/lib/fastly/models/http_stream_format.rb +1 -1
- data/lib/fastly/models/iam_permission.rb +1 -1
- data/lib/fastly/models/iam_role.rb +1 -1
- data/lib/fastly/models/iam_role_all_of.rb +1 -1
- data/lib/fastly/models/iam_service_group.rb +1 -1
- data/lib/fastly/models/iam_service_group_all_of.rb +1 -1
- data/lib/fastly/models/iam_user_group.rb +1 -1
- data/lib/fastly/models/iam_user_group_all_of.rb +1 -1
- data/lib/fastly/models/included_with_waf_active_rule_item.rb +1 -1
- data/lib/fastly/models/included_with_waf_exclusion_item.rb +1 -1
- data/lib/fastly/models/included_with_waf_firewall_version_item.rb +1 -1
- data/lib/fastly/models/included_with_waf_rule_item.rb +1 -1
- data/lib/fastly/models/inline_object.rb +1 -1
- data/lib/fastly/models/inline_object1.rb +1 -1
- data/lib/fastly/models/inline_response200.rb +1 -1
- data/lib/fastly/models/inline_response2001.rb +1 -1
- data/lib/fastly/models/inline_response2002.rb +1 -1
- data/lib/fastly/models/inline_response2003.rb +1 -1
- data/lib/fastly/models/inline_response2003_meta.rb +1 -1
- data/lib/fastly/models/inline_response2004.rb +1 -1
- data/lib/fastly/models/inline_response2004_meta.rb +1 -1
- data/lib/fastly/models/inline_response2005.rb +1 -1
- data/lib/fastly/models/inline_response2006.rb +1 -1
- data/lib/fastly/models/inline_response2007.rb +1 -1
- data/lib/fastly/models/inline_response400.rb +1 -1
- data/lib/fastly/models/invitation.rb +1 -1
- data/lib/fastly/models/invitation_data.rb +1 -1
- data/lib/fastly/models/invitation_data_attributes.rb +1 -1
- data/lib/fastly/models/invitation_response.rb +1 -1
- data/lib/fastly/models/invitation_response_all_of.rb +1 -1
- data/lib/fastly/models/invitation_response_data.rb +1 -1
- data/lib/fastly/models/invitation_response_data_all_of.rb +1 -1
- data/lib/fastly/models/invitations_response.rb +1 -1
- data/lib/fastly/models/invitations_response_all_of.rb +1 -1
- data/lib/fastly/models/invoice.rb +1 -1
- data/lib/fastly/models/invoice_response.rb +1 -1
- data/lib/fastly/models/invoicelineitems.rb +12 -2
- data/lib/fastly/models/legacy_waf_configuration_set.rb +1 -1
- data/lib/fastly/models/legacy_waf_firewall.rb +1 -1
- data/lib/fastly/models/legacy_waf_owasp.rb +1 -1
- data/lib/fastly/models/legacy_waf_rule.rb +1 -1
- data/lib/fastly/models/legacy_waf_rule_status.rb +1 -1
- data/lib/fastly/models/legacy_waf_ruleset.rb +1 -1
- data/lib/fastly/models/legacy_waf_tag.rb +1 -1
- data/lib/fastly/models/legacy_waf_update_status.rb +1 -1
- data/lib/fastly/models/line_item_data.rb +1 -1
- data/lib/fastly/models/line_item_data_read_only_invoice_id.rb +1 -1
- data/lib/fastly/models/list_invoices_response.rb +1 -1
- data/lib/fastly/models/listinvoices.rb +1 -1
- data/lib/fastly/models/logging_address_and_port.rb +1 -1
- data/lib/fastly/models/logging_azureblob_additional.rb +1 -1
- data/lib/fastly/models/logging_azureblob_response.rb +1 -1
- data/lib/fastly/models/logging_bigquery_additional.rb +1 -1
- data/lib/fastly/models/logging_bigquery_response.rb +1 -1
- data/lib/fastly/models/logging_cloudfiles_additional.rb +1 -1
- data/lib/fastly/models/logging_cloudfiles_response.rb +1 -1
- data/lib/fastly/models/logging_common.rb +1 -1
- data/lib/fastly/models/logging_common_response.rb +1 -1
- data/lib/fastly/models/logging_common_response_all_of.rb +1 -1
- data/lib/fastly/models/logging_common_response_all_of1.rb +1 -1
- data/lib/fastly/models/logging_datadog_additional.rb +1 -1
- data/lib/fastly/models/logging_datadog_response.rb +1 -1
- data/lib/fastly/models/logging_digitalocean_additional.rb +1 -1
- data/lib/fastly/models/logging_digitalocean_response.rb +1 -1
- data/lib/fastly/models/logging_elasticsearch_additional.rb +1 -1
- data/lib/fastly/models/logging_elasticsearch_response.rb +1 -1
- data/lib/fastly/models/logging_format_version_integer.rb +1 -1
- data/lib/fastly/models/logging_format_version_string.rb +1 -1
- data/lib/fastly/models/logging_ftp_additional.rb +1 -1
- data/lib/fastly/models/logging_ftp_response.rb +1 -1
- data/lib/fastly/models/logging_ftp_response_all_of.rb +1 -1
- data/lib/fastly/models/logging_gcs_additional.rb +1 -1
- data/lib/fastly/models/logging_gcs_common.rb +1 -1
- data/lib/fastly/models/logging_gcs_response.rb +1 -1
- data/lib/fastly/models/logging_generic_common.rb +1 -1
- data/lib/fastly/models/logging_generic_common_response.rb +1 -1
- data/lib/fastly/models/logging_generic_common_response_all_of.rb +1 -1
- data/lib/fastly/models/logging_generic_common_response_all_of1.rb +1 -1
- data/lib/fastly/models/logging_google_pubsub_additional.rb +1 -1
- data/lib/fastly/models/logging_google_pubsub_response.rb +1 -1
- data/lib/fastly/models/logging_heroku_additional.rb +1 -1
- data/lib/fastly/models/logging_heroku_response.rb +1 -1
- data/lib/fastly/models/logging_honeycomb_additional.rb +1 -1
- data/lib/fastly/models/logging_honeycomb_response.rb +1 -1
- data/lib/fastly/models/logging_https_additional.rb +1 -1
- data/lib/fastly/models/logging_https_response.rb +1 -1
- data/lib/fastly/models/logging_kafka_additional.rb +1 -1
- data/lib/fastly/models/logging_kafka_response.rb +1 -1
- data/lib/fastly/models/logging_kafka_response_post.rb +1 -1
- data/lib/fastly/models/logging_kinesis_additional.rb +2 -2
- data/lib/fastly/models/logging_kinesis_response.rb +2 -2
- data/lib/fastly/models/logging_logentries_additional.rb +1 -1
- data/lib/fastly/models/logging_logentries_response.rb +1 -1
- data/lib/fastly/models/logging_loggly_additional.rb +1 -1
- data/lib/fastly/models/logging_loggly_response.rb +1 -1
- data/lib/fastly/models/logging_logshuttle_additional.rb +1 -1
- data/lib/fastly/models/logging_logshuttle_response.rb +1 -1
- data/lib/fastly/models/logging_message_type.rb +1 -1
- data/lib/fastly/models/logging_newrelic_additional.rb +1 -1
- data/lib/fastly/models/logging_newrelic_response.rb +1 -1
- data/lib/fastly/models/logging_newrelicotlp_additional.rb +1 -1
- data/lib/fastly/models/logging_newrelicotlp_response.rb +1 -1
- data/lib/fastly/models/logging_openstack_additional.rb +1 -1
- data/lib/fastly/models/logging_openstack_response.rb +1 -1
- data/lib/fastly/models/logging_papertrail_response.rb +1 -1
- data/lib/fastly/models/logging_placement.rb +1 -1
- data/lib/fastly/models/logging_request_caps_common.rb +1 -1
- data/lib/fastly/models/logging_s3_additional.rb +31 -6
- data/lib/fastly/models/logging_s3_response.rb +31 -6
- data/lib/fastly/models/logging_scalyr_additional.rb +1 -1
- data/lib/fastly/models/logging_scalyr_response.rb +1 -1
- data/lib/fastly/models/logging_sftp_additional.rb +1 -1
- data/lib/fastly/models/logging_sftp_response.rb +1 -1
- data/lib/fastly/models/logging_sftp_response_all_of.rb +1 -1
- data/lib/fastly/models/logging_splunk_additional.rb +1 -1
- data/lib/fastly/models/logging_splunk_response.rb +1 -1
- data/lib/fastly/models/logging_sumologic_additional.rb +1 -1
- data/lib/fastly/models/logging_sumologic_response.rb +1 -1
- data/lib/fastly/models/logging_syslog_additional.rb +1 -1
- data/lib/fastly/models/logging_syslog_response.rb +1 -1
- data/lib/fastly/models/logging_tls_common.rb +1 -1
- data/lib/fastly/models/logging_use_tls.rb +1 -1
- data/lib/fastly/models/metadata.rb +1 -1
- data/lib/fastly/models/mutual_authentication.rb +1 -1
- data/lib/fastly/models/mutual_authentication_data.rb +1 -1
- data/lib/fastly/models/mutual_authentication_data_attributes.rb +1 -1
- data/lib/fastly/models/mutual_authentication_response.rb +1 -1
- data/lib/fastly/models/mutual_authentication_response_attributes.rb +1 -1
- data/lib/fastly/models/mutual_authentication_response_attributes_all_of.rb +1 -1
- data/lib/fastly/models/mutual_authentication_response_data.rb +1 -1
- data/lib/fastly/models/mutual_authentication_response_data_all_of.rb +1 -1
- data/lib/fastly/models/mutual_authentications_response.rb +1 -1
- data/lib/fastly/models/mutual_authentications_response_all_of.rb +1 -1
- data/lib/fastly/models/origin_inspector.rb +1 -1
- data/lib/fastly/models/origin_inspector_dimensions.rb +1 -1
- data/lib/fastly/models/origin_inspector_entry.rb +1 -1
- data/lib/fastly/models/origin_inspector_historical.rb +1 -1
- data/lib/fastly/models/origin_inspector_historical_data.rb +1 -1
- data/lib/fastly/models/origin_inspector_historical_meta.rb +1 -1
- data/lib/fastly/models/origin_inspector_historical_meta_filters.rb +1 -1
- data/lib/fastly/models/origin_inspector_measurements.rb +1 -1
- data/lib/fastly/models/origin_inspector_realtime_entry.rb +1 -1
- data/lib/fastly/models/origin_inspector_realtime_entry_recorded.rb +1 -1
- data/lib/fastly/models/origin_inspector_subsequent_request_timestamp.rb +1 -1
- data/lib/fastly/models/origin_inspector_values.rb +1 -1
- data/lib/fastly/models/package.rb +1 -1
- data/lib/fastly/models/package_metadata.rb +1 -1
- data/lib/fastly/models/package_response.rb +1 -1
- data/lib/fastly/models/package_response_all_of.rb +1 -1
- data/lib/fastly/models/pagination.rb +1 -1
- data/lib/fastly/models/pagination_cursor_meta.rb +1 -1
- data/lib/fastly/models/pagination_links.rb +1 -1
- data/lib/fastly/models/pagination_meta.rb +1 -1
- data/lib/fastly/models/permission.rb +1 -1
- data/lib/fastly/models/platform_ddos_data_items.rb +1 -1
- data/lib/fastly/models/platform_ddos_entry.rb +1 -1
- data/lib/fastly/models/platform_ddos_response.rb +1 -1
- data/lib/fastly/models/platform_ddos_response_all_of.rb +1 -1
- data/lib/fastly/models/pool_additional.rb +1 -1
- data/lib/fastly/models/pool_response.rb +1 -1
- data/lib/fastly/models/pool_response_all_of.rb +1 -1
- data/lib/fastly/models/pool_response_common.rb +1 -1
- data/lib/fastly/models/pool_response_post.rb +1 -1
- data/lib/fastly/models/pool_response_post_all_of.rb +1 -1
- data/lib/fastly/models/pop.rb +1 -1
- data/lib/fastly/models/pop_coordinates.rb +1 -1
- data/lib/fastly/models/public_ip_list.rb +1 -1
- data/lib/fastly/models/publish_item.rb +1 -1
- data/lib/fastly/models/publish_item_formats.rb +1 -1
- data/lib/fastly/models/publish_request.rb +1 -1
- data/lib/fastly/models/purge_keys.rb +1 -1
- data/lib/fastly/models/purge_response.rb +1 -1
- data/lib/fastly/models/rate_limiter.rb +1 -1
- data/lib/fastly/models/rate_limiter_response.rb +1 -1
- data/lib/fastly/models/rate_limiter_response_all_of.rb +1 -1
- data/lib/fastly/models/read_only_customer_id.rb +1 -1
- data/lib/fastly/models/read_only_id.rb +1 -1
- data/lib/fastly/models/read_only_service_id.rb +1 -1
- data/lib/fastly/models/read_only_user_id.rb +1 -1
- data/lib/fastly/models/read_only_version.rb +1 -1
- data/lib/fastly/models/realtime.rb +1 -1
- data/lib/fastly/models/realtime_entry.rb +1 -1
- data/lib/fastly/models/realtime_entry_aggregated.rb +1 -1
- data/lib/fastly/models/realtime_entry_recorded.rb +1 -1
- data/lib/fastly/models/realtime_measurements.rb +1 -1
- data/lib/fastly/models/recorded_timestamp.rb +1 -1
- data/lib/fastly/models/relationship_common_name.rb +1 -1
- data/lib/fastly/models/relationship_customer.rb +1 -1
- data/lib/fastly/models/relationship_customer_customer.rb +1 -1
- data/lib/fastly/models/relationship_member_customer.rb +1 -1
- data/lib/fastly/models/relationship_member_mutual_authentication.rb +1 -1
- data/lib/fastly/models/relationship_member_service.rb +1 -1
- data/lib/fastly/models/relationship_member_service_invitation.rb +1 -1
- data/lib/fastly/models/relationship_member_tls_activation.rb +1 -1
- data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +1 -1
- data/lib/fastly/models/relationship_member_tls_certificate.rb +1 -1
- data/lib/fastly/models/relationship_member_tls_configuration.rb +1 -1
- data/lib/fastly/models/relationship_member_tls_dns_record.rb +1 -1
- data/lib/fastly/models/relationship_member_tls_domain.rb +1 -1
- data/lib/fastly/models/relationship_member_tls_private_key.rb +1 -1
- data/lib/fastly/models/relationship_member_tls_subscription.rb +1 -1
- data/lib/fastly/models/relationship_member_waf_active_rule.rb +1 -1
- data/lib/fastly/models/relationship_member_waf_firewall.rb +1 -1
- data/lib/fastly/models/relationship_member_waf_firewall_version.rb +1 -1
- data/lib/fastly/models/relationship_member_waf_rule.rb +1 -1
- data/lib/fastly/models/relationship_member_waf_rule_revision.rb +1 -1
- data/lib/fastly/models/relationship_member_waf_tag.rb +1 -1
- data/lib/fastly/models/relationship_mutual_authentication.rb +1 -1
- data/lib/fastly/models/relationship_mutual_authentication_mutual_authentication.rb +1 -1
- data/lib/fastly/models/relationship_mutual_authentications.rb +1 -1
- data/lib/fastly/models/relationship_mutual_authentications_mutual_authentications.rb +1 -1
- data/lib/fastly/models/relationship_service.rb +1 -1
- data/lib/fastly/models/relationship_service_invitations.rb +1 -1
- data/lib/fastly/models/relationship_service_invitations_create.rb +1 -1
- data/lib/fastly/models/relationship_service_invitations_create_service_invitations.rb +1 -1
- data/lib/fastly/models/relationship_service_invitations_service_invitations.rb +1 -1
- data/lib/fastly/models/relationship_services.rb +1 -1
- data/lib/fastly/models/relationship_services_services.rb +1 -1
- data/lib/fastly/models/relationship_tls_activation.rb +1 -1
- data/lib/fastly/models/relationship_tls_activation_tls_activation.rb +1 -1
- data/lib/fastly/models/relationship_tls_activations.rb +1 -1
- data/lib/fastly/models/relationship_tls_bulk_certificate.rb +1 -1
- data/lib/fastly/models/relationship_tls_bulk_certificate_tls_bulk_certificate.rb +1 -1
- data/lib/fastly/models/relationship_tls_bulk_certificates.rb +1 -1
- data/lib/fastly/models/relationship_tls_certificate.rb +1 -1
- data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +1 -1
- data/lib/fastly/models/relationship_tls_certificates.rb +1 -1
- data/lib/fastly/models/relationship_tls_certificates_tls_certificates.rb +1 -1
- data/lib/fastly/models/relationship_tls_configuration.rb +1 -1
- data/lib/fastly/models/relationship_tls_configuration_for_tls_subscription.rb +1 -1
- data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +1 -1
- data/lib/fastly/models/relationship_tls_configurations.rb +1 -1
- data/lib/fastly/models/relationship_tls_configurations_tls_configurations.rb +1 -1
- data/lib/fastly/models/relationship_tls_dns_record.rb +1 -1
- data/lib/fastly/models/relationship_tls_dns_record_dns_record.rb +1 -1
- data/lib/fastly/models/relationship_tls_dns_records.rb +1 -1
- data/lib/fastly/models/relationship_tls_domain.rb +1 -1
- data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +1 -1
- data/lib/fastly/models/relationship_tls_domains.rb +1 -1
- data/lib/fastly/models/relationship_tls_domains_tls_domains.rb +1 -1
- data/lib/fastly/models/relationship_tls_private_key.rb +1 -1
- data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +1 -1
- data/lib/fastly/models/relationship_tls_private_keys.rb +1 -1
- data/lib/fastly/models/relationship_tls_private_keys_tls_private_keys.rb +1 -1
- data/lib/fastly/models/relationship_tls_subscription.rb +1 -1
- data/lib/fastly/models/relationship_tls_subscription_tls_subscription.rb +1 -1
- data/lib/fastly/models/relationship_tls_subscriptions.rb +1 -1
- data/lib/fastly/models/relationship_user.rb +1 -1
- data/lib/fastly/models/relationship_user_user.rb +1 -1
- data/lib/fastly/models/relationship_waf_active_rules.rb +1 -1
- data/lib/fastly/models/relationship_waf_active_rules_waf_active_rules.rb +1 -1
- data/lib/fastly/models/relationship_waf_firewall.rb +1 -1
- data/lib/fastly/models/relationship_waf_firewall_version.rb +1 -1
- data/lib/fastly/models/relationship_waf_firewall_version_waf_firewall_version.rb +1 -1
- data/lib/fastly/models/relationship_waf_firewall_versions.rb +1 -1
- data/lib/fastly/models/relationship_waf_firewall_waf_firewall.rb +1 -1
- data/lib/fastly/models/relationship_waf_rule.rb +1 -1
- data/lib/fastly/models/relationship_waf_rule_revision.rb +1 -1
- data/lib/fastly/models/relationship_waf_rule_revision_waf_rule_revisions.rb +1 -1
- data/lib/fastly/models/relationship_waf_rule_revisions.rb +1 -1
- data/lib/fastly/models/relationship_waf_rule_waf_rule.rb +1 -1
- data/lib/fastly/models/relationship_waf_rules.rb +1 -1
- data/lib/fastly/models/relationship_waf_tags.rb +1 -1
- data/lib/fastly/models/relationship_waf_tags_waf_tags.rb +1 -1
- data/lib/fastly/models/relationships_for_invitation.rb +1 -1
- data/lib/fastly/models/relationships_for_mutual_authentication.rb +1 -1
- data/lib/fastly/models/relationships_for_star.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_activation.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_configuration.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_domain.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_private_key.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_subscription.rb +1 -1
- data/lib/fastly/models/relationships_for_waf_active_rule.rb +1 -1
- data/lib/fastly/models/relationships_for_waf_exclusion.rb +1 -1
- data/lib/fastly/models/relationships_for_waf_firewall_version.rb +1 -1
- data/lib/fastly/models/relationships_for_waf_rule.rb +1 -1
- data/lib/fastly/models/request_settings_additional.rb +1 -1
- data/lib/fastly/models/request_settings_response.rb +1 -1
- data/lib/fastly/models/request_settings_response_all_of.rb +1 -1
- data/lib/fastly/models/resource.rb +1 -1
- data/lib/fastly/models/resource_response.rb +1 -3
- data/lib/fastly/models/resource_response_all_of.rb +1 -3
- data/lib/fastly/models/response_object.rb +1 -1
- data/lib/fastly/models/response_object_response.rb +1 -1
- data/lib/fastly/models/results.rb +1 -1
- data/lib/fastly/models/role_user.rb +1 -1
- data/lib/fastly/models/schemas_contact_response.rb +1 -1
- data/lib/fastly/models/schemas_snippet_response.rb +1 -1
- data/lib/fastly/models/schemas_snippet_response_common.rb +1 -1
- data/lib/fastly/models/schemas_user_response.rb +1 -1
- data/lib/fastly/models/schemas_user_response_read_only.rb +1 -1
- data/lib/fastly/models/schemas_vcl_response.rb +1 -1
- data/lib/fastly/models/schemas_version.rb +1 -1
- data/lib/fastly/models/schemas_version_response.rb +1 -1
- data/lib/fastly/models/schemas_waf_firewall_version.rb +1 -1
- data/lib/fastly/models/schemas_waf_firewall_version_data.rb +1 -1
- data/lib/fastly/models/secret.rb +1 -1
- data/lib/fastly/models/secret_response.rb +1 -1
- data/lib/fastly/models/secret_store.rb +1 -1
- data/lib/fastly/models/secret_store_response.rb +1 -1
- data/lib/fastly/models/server.rb +1 -1
- data/lib/fastly/models/server_response.rb +1 -1
- data/lib/fastly/models/server_response_all_of.rb +1 -1
- data/lib/fastly/models/service.rb +1 -1
- data/lib/fastly/models/service_authorization.rb +1 -1
- data/lib/fastly/models/service_authorization_data.rb +1 -1
- data/lib/fastly/models/service_authorization_data_attributes.rb +1 -1
- data/lib/fastly/models/service_authorization_data_relationships.rb +1 -1
- data/lib/fastly/models/service_authorization_data_relationships_user.rb +1 -1
- data/lib/fastly/models/service_authorization_data_relationships_user_data.rb +1 -1
- data/lib/fastly/models/service_authorization_response.rb +1 -1
- data/lib/fastly/models/service_authorization_response_data.rb +1 -1
- data/lib/fastly/models/service_authorization_response_data_all_of.rb +1 -1
- data/lib/fastly/models/service_authorizations_response.rb +1 -1
- data/lib/fastly/models/service_authorizations_response_all_of.rb +1 -1
- data/lib/fastly/models/service_create.rb +1 -1
- data/lib/fastly/models/service_create_all_of.rb +1 -1
- data/lib/fastly/models/service_detail.rb +1 -1
- data/lib/fastly/models/service_detail_all_of.rb +1 -1
- data/lib/fastly/models/service_id_and_version.rb +1 -1
- data/lib/fastly/models/service_id_and_version_string.rb +1 -1
- data/lib/fastly/models/service_invitation.rb +1 -1
- data/lib/fastly/models/service_invitation_data.rb +1 -1
- data/lib/fastly/models/service_invitation_data_attributes.rb +1 -1
- data/lib/fastly/models/service_invitation_data_relationships.rb +1 -1
- data/lib/fastly/models/service_invitation_response.rb +1 -1
- data/lib/fastly/models/service_invitation_response_all_of.rb +1 -1
- data/lib/fastly/models/service_invitation_response_all_of_data.rb +1 -1
- data/lib/fastly/models/service_list_response.rb +1 -1
- data/lib/fastly/models/service_list_response_all_of.rb +1 -1
- data/lib/fastly/models/service_response.rb +1 -1
- data/lib/fastly/models/service_response_all_of.rb +1 -1
- data/lib/fastly/models/service_version_detail.rb +1 -1
- data/lib/fastly/models/service_version_detail_or_null.rb +1 -1
- data/lib/fastly/models/settings.rb +1 -1
- data/lib/fastly/models/settings_response.rb +1 -1
- data/lib/fastly/models/signing_key.rb +1 -1
- data/lib/fastly/models/snippet.rb +1 -1
- data/lib/fastly/models/snippet_all_of.rb +1 -1
- data/lib/fastly/models/snippet_common.rb +1 -1
- data/lib/fastly/models/snippet_response.rb +1 -1
- data/lib/fastly/models/snippet_response_common.rb +1 -1
- data/lib/fastly/models/snippet_response_common_all_of.rb +1 -1
- data/lib/fastly/models/snippet_response_post.rb +1 -1
- data/lib/fastly/models/snippet_with_dynamic_number.rb +1 -1
- data/lib/fastly/models/snippet_with_dynamic_number_all_of.rb +1 -1
- data/lib/fastly/models/star.rb +1 -1
- data/lib/fastly/models/star_data.rb +1 -1
- data/lib/fastly/models/star_response.rb +1 -1
- data/lib/fastly/models/star_response_all_of.rb +1 -1
- data/lib/fastly/models/stats.rb +1 -1
- data/lib/fastly/models/store.rb +1 -1
- data/lib/fastly/models/store_response.rb +1 -1
- data/lib/fastly/models/subsequent_request_timestamp.rb +1 -1
- data/lib/fastly/models/sudo_generic_token_error.rb +1 -1
- data/lib/fastly/models/sudo_request.rb +1 -1
- data/lib/fastly/models/sudo_response.rb +1 -1
- data/lib/fastly/models/timestamps.rb +1 -1
- data/lib/fastly/models/timestamps_no_delete.rb +1 -1
- data/lib/fastly/models/tls_activation.rb +1 -1
- data/lib/fastly/models/tls_activation_data.rb +1 -1
- data/lib/fastly/models/tls_activation_response.rb +1 -1
- data/lib/fastly/models/tls_activation_response_data.rb +1 -1
- data/lib/fastly/models/tls_activation_response_data_all_of.rb +1 -1
- data/lib/fastly/models/tls_activations_response.rb +1 -1
- data/lib/fastly/models/tls_activations_response_all_of.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificate.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificate_data.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificate_data_attributes.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificate_response.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificate_response_attributes.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificate_response_attributes_all_of.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificates_response.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificates_response_all_of.rb +1 -1
- data/lib/fastly/models/tls_certificate.rb +1 -1
- data/lib/fastly/models/tls_certificate_data.rb +1 -1
- data/lib/fastly/models/tls_certificate_data_attributes.rb +1 -1
- data/lib/fastly/models/tls_certificate_response.rb +1 -1
- data/lib/fastly/models/tls_certificate_response_attributes.rb +1 -1
- data/lib/fastly/models/tls_certificate_response_attributes_all_of.rb +1 -1
- data/lib/fastly/models/tls_certificate_response_data.rb +1 -1
- data/lib/fastly/models/tls_certificate_response_data_all_of.rb +1 -1
- data/lib/fastly/models/tls_certificates_response.rb +1 -1
- data/lib/fastly/models/tls_certificates_response_all_of.rb +1 -1
- data/lib/fastly/models/tls_common_response.rb +1 -1
- data/lib/fastly/models/tls_common_response_all_of.rb +1 -1
- data/lib/fastly/models/tls_common_response_all_of1.rb +1 -1
- data/lib/fastly/models/tls_configuration.rb +1 -1
- data/lib/fastly/models/tls_configuration_data.rb +1 -1
- data/lib/fastly/models/tls_configuration_data_attributes.rb +1 -1
- data/lib/fastly/models/tls_configuration_response.rb +1 -1
- data/lib/fastly/models/tls_configuration_response_attributes.rb +1 -1
- data/lib/fastly/models/tls_configuration_response_attributes_all_of.rb +1 -1
- data/lib/fastly/models/tls_configuration_response_data.rb +1 -1
- data/lib/fastly/models/tls_configuration_response_data_all_of.rb +1 -1
- data/lib/fastly/models/tls_configurations_response.rb +1 -1
- data/lib/fastly/models/tls_configurations_response_all_of.rb +1 -1
- data/lib/fastly/models/tls_csr.rb +1 -1
- data/lib/fastly/models/tls_csr_data.rb +1 -1
- data/lib/fastly/models/tls_csr_data_attributes.rb +1 -1
- data/lib/fastly/models/tls_csr_error_response.rb +1 -1
- data/lib/fastly/models/tls_csr_response.rb +1 -1
- data/lib/fastly/models/tls_csr_response_attributes.rb +1 -1
- data/lib/fastly/models/tls_csr_response_data.rb +1 -1
- data/lib/fastly/models/tls_dns_record.rb +1 -1
- data/lib/fastly/models/tls_domain_data.rb +1 -1
- data/lib/fastly/models/tls_domains_response.rb +1 -1
- data/lib/fastly/models/tls_domains_response_all_of.rb +1 -1
- data/lib/fastly/models/tls_private_key.rb +1 -1
- data/lib/fastly/models/tls_private_key_data.rb +1 -1
- data/lib/fastly/models/tls_private_key_data_attributes.rb +1 -1
- data/lib/fastly/models/tls_private_key_response.rb +1 -1
- data/lib/fastly/models/tls_private_key_response_attributes.rb +1 -1
- data/lib/fastly/models/tls_private_key_response_attributes_all_of.rb +1 -1
- data/lib/fastly/models/tls_private_key_response_data.rb +1 -1
- data/lib/fastly/models/tls_private_keys_response.rb +1 -1
- data/lib/fastly/models/tls_private_keys_response_all_of.rb +1 -1
- data/lib/fastly/models/tls_subscription.rb +1 -1
- data/lib/fastly/models/tls_subscription_data.rb +1 -1
- data/lib/fastly/models/tls_subscription_data_attributes.rb +2 -2
- data/lib/fastly/models/tls_subscription_response.rb +1 -1
- data/lib/fastly/models/tls_subscription_response_attributes.rb +1 -1
- data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +1 -1
- data/lib/fastly/models/tls_subscription_response_data.rb +1 -1
- data/lib/fastly/models/tls_subscriptions_response.rb +1 -1
- data/lib/fastly/models/tls_subscriptions_response_all_of.rb +1 -1
- data/lib/fastly/models/token.rb +1 -1
- data/lib/fastly/models/token_created_response.rb +1 -1
- data/lib/fastly/models/token_created_response_all_of.rb +1 -1
- data/lib/fastly/models/token_response.rb +1 -1
- data/lib/fastly/models/token_response_all_of.rb +1 -1
- data/lib/fastly/models/tokens_additional_props.rb +1 -1
- data/lib/fastly/models/type_billing_address.rb +1 -1
- data/lib/fastly/models/type_contact.rb +1 -1
- data/lib/fastly/models/type_customer.rb +1 -1
- data/lib/fastly/models/type_event.rb +1 -1
- data/lib/fastly/models/type_invitation.rb +1 -1
- data/lib/fastly/models/type_mutual_authentication.rb +1 -1
- data/lib/fastly/models/type_resource.rb +3 -3
- data/lib/fastly/models/type_service.rb +1 -1
- data/lib/fastly/models/type_service_authorization.rb +1 -1
- data/lib/fastly/models/type_service_invitation.rb +1 -1
- data/lib/fastly/models/type_star.rb +1 -1
- data/lib/fastly/models/type_tls_activation.rb +1 -1
- data/lib/fastly/models/type_tls_bulk_certificate.rb +1 -1
- data/lib/fastly/models/type_tls_certificate.rb +1 -1
- data/lib/fastly/models/type_tls_configuration.rb +1 -1
- data/lib/fastly/models/type_tls_csr.rb +1 -1
- data/lib/fastly/models/type_tls_dns_record.rb +1 -1
- data/lib/fastly/models/type_tls_domain.rb +1 -1
- data/lib/fastly/models/type_tls_private_key.rb +1 -1
- data/lib/fastly/models/type_tls_subscription.rb +1 -1
- data/lib/fastly/models/type_user.rb +1 -1
- data/lib/fastly/models/type_waf_active_rule.rb +1 -1
- data/lib/fastly/models/type_waf_exclusion.rb +1 -1
- data/lib/fastly/models/type_waf_firewall.rb +1 -1
- data/lib/fastly/models/type_waf_firewall_version.rb +1 -1
- data/lib/fastly/models/type_waf_rule.rb +1 -1
- data/lib/fastly/models/type_waf_rule_revision.rb +1 -1
- data/lib/fastly/models/type_waf_tag.rb +1 -1
- data/lib/fastly/models/update_billing_address_request.rb +1 -1
- data/lib/fastly/models/update_billing_address_request_data.rb +1 -1
- data/lib/fastly/models/user.rb +1 -1
- data/lib/fastly/models/user_response.rb +1 -1
- data/lib/fastly/models/user_response_read_only.rb +1 -1
- data/lib/fastly/models/validator_result.rb +1 -1
- data/lib/fastly/models/validator_result_data.rb +1 -1
- data/lib/fastly/models/validator_result_data_attributes.rb +1 -1
- data/lib/fastly/models/validator_result_data_attributes_messages.rb +1 -1
- data/lib/fastly/models/values.rb +1 -1
- data/lib/fastly/models/values_ddos.rb +1 -1
- data/lib/fastly/models/vcl.rb +1 -1
- data/lib/fastly/models/vcl_diff.rb +1 -1
- data/lib/fastly/models/vcl_response.rb +1 -1
- data/lib/fastly/models/vcl_syntax_highlighting_response.rb +1 -1
- data/lib/fastly/models/version.rb +1 -1
- data/lib/fastly/models/version_create_response.rb +1 -1
- data/lib/fastly/models/version_detail.rb +1 -1
- data/lib/fastly/models/version_detail_settings.rb +1 -1
- data/lib/fastly/models/version_response.rb +1 -1
- data/lib/fastly/models/version_response_all_of.rb +1 -1
- data/lib/fastly/models/waf_active_rule.rb +1 -1
- data/lib/fastly/models/waf_active_rule_creation_response.rb +1 -1
- data/lib/fastly/models/waf_active_rule_data.rb +1 -1
- data/lib/fastly/models/waf_active_rule_data_attributes.rb +1 -1
- data/lib/fastly/models/waf_active_rule_response.rb +1 -1
- data/lib/fastly/models/waf_active_rule_response_data.rb +1 -1
- data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +1 -1
- data/lib/fastly/models/waf_active_rule_response_data_attributes.rb +1 -1
- data/lib/fastly/models/waf_active_rule_response_data_attributes_all_of.rb +1 -1
- data/lib/fastly/models/waf_active_rule_response_data_relationships.rb +1 -1
- data/lib/fastly/models/waf_active_rules_response.rb +1 -1
- data/lib/fastly/models/waf_active_rules_response_all_of.rb +1 -1
- data/lib/fastly/models/waf_exclusion.rb +1 -1
- data/lib/fastly/models/waf_exclusion_data.rb +1 -1
- data/lib/fastly/models/waf_exclusion_data_attributes.rb +1 -1
- data/lib/fastly/models/waf_exclusion_response.rb +1 -1
- data/lib/fastly/models/waf_exclusion_response_data.rb +1 -1
- data/lib/fastly/models/waf_exclusion_response_data_all_of.rb +1 -1
- data/lib/fastly/models/waf_exclusion_response_data_attributes.rb +1 -1
- data/lib/fastly/models/waf_exclusion_response_data_attributes_all_of.rb +1 -1
- data/lib/fastly/models/waf_exclusion_response_data_relationships.rb +1 -1
- data/lib/fastly/models/waf_exclusions_response.rb +1 -1
- data/lib/fastly/models/waf_exclusions_response_all_of.rb +1 -1
- data/lib/fastly/models/waf_firewall.rb +1 -1
- data/lib/fastly/models/waf_firewall_data.rb +1 -1
- data/lib/fastly/models/waf_firewall_data_attributes.rb +1 -1
- data/lib/fastly/models/waf_firewall_response.rb +1 -1
- data/lib/fastly/models/waf_firewall_response_data.rb +1 -1
- data/lib/fastly/models/waf_firewall_response_data_all_of.rb +1 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes.rb +1 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +1 -1
- data/lib/fastly/models/waf_firewall_version.rb +1 -1
- data/lib/fastly/models/waf_firewall_version_data.rb +1 -1
- data/lib/fastly/models/waf_firewall_version_data_attributes.rb +1 -1
- data/lib/fastly/models/waf_firewall_version_response.rb +1 -1
- data/lib/fastly/models/waf_firewall_version_response_data.rb +1 -1
- data/lib/fastly/models/waf_firewall_version_response_data_all_of.rb +1 -1
- data/lib/fastly/models/waf_firewall_version_response_data_attributes.rb +1 -1
- data/lib/fastly/models/waf_firewall_version_response_data_attributes_all_of.rb +1 -1
- data/lib/fastly/models/waf_firewall_versions_response.rb +1 -1
- data/lib/fastly/models/waf_firewall_versions_response_all_of.rb +1 -1
- data/lib/fastly/models/waf_firewalls_response.rb +1 -1
- data/lib/fastly/models/waf_firewalls_response_all_of.rb +1 -1
- data/lib/fastly/models/waf_rule.rb +1 -1
- data/lib/fastly/models/waf_rule_attributes.rb +1 -1
- data/lib/fastly/models/waf_rule_response.rb +1 -1
- data/lib/fastly/models/waf_rule_response_data.rb +1 -1
- data/lib/fastly/models/waf_rule_response_data_all_of.rb +1 -1
- data/lib/fastly/models/waf_rule_revision.rb +1 -1
- data/lib/fastly/models/waf_rule_revision_attributes.rb +1 -1
- data/lib/fastly/models/waf_rule_revision_or_latest.rb +1 -1
- data/lib/fastly/models/waf_rule_revision_response.rb +1 -1
- data/lib/fastly/models/waf_rule_revision_response_data.rb +1 -1
- data/lib/fastly/models/waf_rule_revision_response_data_all_of.rb +1 -1
- data/lib/fastly/models/waf_rule_revisions_response.rb +1 -1
- data/lib/fastly/models/waf_rule_revisions_response_all_of.rb +1 -1
- data/lib/fastly/models/waf_rules_response.rb +1 -1
- data/lib/fastly/models/waf_rules_response_all_of.rb +1 -1
- data/lib/fastly/models/waf_tag.rb +1 -1
- data/lib/fastly/models/waf_tag_attributes.rb +1 -1
- data/lib/fastly/models/waf_tags_response.rb +1 -1
- data/lib/fastly/models/waf_tags_response_all_of.rb +1 -1
- data/lib/fastly/models/waf_tags_response_data_item.rb +1 -1
- data/lib/fastly/models/ws_message_format.rb +1 -1
- data/lib/fastly/version.rb +2 -2
- data/lib/fastly.rb +5 -1
- data/sig.json +1 -1
- metadata +11 -3
@@ -0,0 +1,385 @@
|
|
1
|
+
=begin
|
2
|
+
#Fastly API
|
3
|
+
|
4
|
+
#Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: oss@fastly.com
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'date'
|
12
|
+
require 'time'
|
13
|
+
|
14
|
+
module Fastly
|
15
|
+
class DefaultSettings
|
16
|
+
# The type of filter to use while resizing an image.
|
17
|
+
attr_accessor :resize_filter
|
18
|
+
|
19
|
+
# Controls whether or not to default to WebP output when the client supports it. This is equivalent to adding \"auto=webp\" to all image optimizer requests.
|
20
|
+
attr_accessor :webp
|
21
|
+
|
22
|
+
# The default quality to use with WebP output. This can be overridden with the second option in the \"quality\" URL parameter on specific image optimizer requests.
|
23
|
+
attr_accessor :webp_quality
|
24
|
+
|
25
|
+
# The default type of JPEG output to use. This can be overridden with \"format=bjpeg\" and \"format=pjpeg\" on specific image optimizer requests.
|
26
|
+
attr_accessor :jpeg_type
|
27
|
+
|
28
|
+
# The default quality to use with JPEG output. This can be overridden with the \"quality\" parameter on specific image optimizer requests.
|
29
|
+
attr_accessor :jpeg_quality
|
30
|
+
|
31
|
+
# Whether or not we should allow output images to render at sizes larger than input.
|
32
|
+
attr_accessor :upscale
|
33
|
+
|
34
|
+
# Enables GIF to MP4 transformations on this service.
|
35
|
+
attr_accessor :allow_video
|
36
|
+
|
37
|
+
class EnumAttributeValidator
|
38
|
+
attr_reader :datatype
|
39
|
+
attr_reader :allowable_values
|
40
|
+
|
41
|
+
def initialize(datatype, allowable_values)
|
42
|
+
@allowable_values = allowable_values.map do |value|
|
43
|
+
case datatype.to_s
|
44
|
+
when /Integer/i
|
45
|
+
value.to_i
|
46
|
+
when /Float/i
|
47
|
+
value.to_f
|
48
|
+
else
|
49
|
+
value
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def valid?(value)
|
55
|
+
!value || allowable_values.include?(value)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
60
|
+
def self.attribute_map
|
61
|
+
{
|
62
|
+
:'resize_filter' => :'resize_filter',
|
63
|
+
:'webp' => :'webp',
|
64
|
+
:'webp_quality' => :'webp_quality',
|
65
|
+
:'jpeg_type' => :'jpeg_type',
|
66
|
+
:'jpeg_quality' => :'jpeg_quality',
|
67
|
+
:'upscale' => :'upscale',
|
68
|
+
:'allow_video' => :'allow_video'
|
69
|
+
}
|
70
|
+
end
|
71
|
+
|
72
|
+
# Returns all the JSON keys this model knows about
|
73
|
+
def self.acceptable_attributes
|
74
|
+
attribute_map.values
|
75
|
+
end
|
76
|
+
|
77
|
+
# Attribute type mapping.
|
78
|
+
def self.fastly_types
|
79
|
+
{
|
80
|
+
:'resize_filter' => :'String',
|
81
|
+
:'webp' => :'Boolean',
|
82
|
+
:'webp_quality' => :'Integer',
|
83
|
+
:'jpeg_type' => :'String',
|
84
|
+
:'jpeg_quality' => :'Integer',
|
85
|
+
:'upscale' => :'Boolean',
|
86
|
+
:'allow_video' => :'Boolean'
|
87
|
+
}
|
88
|
+
end
|
89
|
+
|
90
|
+
# List of attributes with nullable: true
|
91
|
+
def self.fastly_nullable
|
92
|
+
Set.new([
|
93
|
+
])
|
94
|
+
end
|
95
|
+
|
96
|
+
# Initializes the object
|
97
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
98
|
+
def initialize(attributes = {})
|
99
|
+
if (!attributes.is_a?(Hash))
|
100
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::DefaultSettings` initialize method"
|
101
|
+
end
|
102
|
+
|
103
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
104
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
105
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
106
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::DefaultSettings`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
107
|
+
end
|
108
|
+
h[k.to_sym] = v
|
109
|
+
}
|
110
|
+
|
111
|
+
if attributes.key?(:'resize_filter')
|
112
|
+
self.resize_filter = attributes[:'resize_filter']
|
113
|
+
else
|
114
|
+
self.resize_filter = 'lanczos3'
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'webp')
|
118
|
+
self.webp = attributes[:'webp']
|
119
|
+
else
|
120
|
+
self.webp = false
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.key?(:'webp_quality')
|
124
|
+
self.webp_quality = attributes[:'webp_quality']
|
125
|
+
else
|
126
|
+
self.webp_quality = 85
|
127
|
+
end
|
128
|
+
|
129
|
+
if attributes.key?(:'jpeg_type')
|
130
|
+
self.jpeg_type = attributes[:'jpeg_type']
|
131
|
+
else
|
132
|
+
self.jpeg_type = 'auto'
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.key?(:'jpeg_quality')
|
136
|
+
self.jpeg_quality = attributes[:'jpeg_quality']
|
137
|
+
else
|
138
|
+
self.jpeg_quality = 85
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.key?(:'upscale')
|
142
|
+
self.upscale = attributes[:'upscale']
|
143
|
+
else
|
144
|
+
self.upscale = false
|
145
|
+
end
|
146
|
+
|
147
|
+
if attributes.key?(:'allow_video')
|
148
|
+
self.allow_video = attributes[:'allow_video']
|
149
|
+
else
|
150
|
+
self.allow_video = false
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
155
|
+
# @return Array for valid properties with the reasons
|
156
|
+
def list_invalid_properties
|
157
|
+
invalid_properties = Array.new
|
158
|
+
if !@webp_quality.nil? && @webp_quality > 100
|
159
|
+
invalid_properties.push('invalid value for "webp_quality", must be smaller than or equal to 100.')
|
160
|
+
end
|
161
|
+
|
162
|
+
if !@webp_quality.nil? && @webp_quality < 1
|
163
|
+
invalid_properties.push('invalid value for "webp_quality", must be greater than or equal to 1.')
|
164
|
+
end
|
165
|
+
|
166
|
+
if !@jpeg_quality.nil? && @jpeg_quality > 100
|
167
|
+
invalid_properties.push('invalid value for "jpeg_quality", must be smaller than or equal to 100.')
|
168
|
+
end
|
169
|
+
|
170
|
+
if !@jpeg_quality.nil? && @jpeg_quality < 1
|
171
|
+
invalid_properties.push('invalid value for "jpeg_quality", must be greater than or equal to 1.')
|
172
|
+
end
|
173
|
+
|
174
|
+
invalid_properties
|
175
|
+
end
|
176
|
+
|
177
|
+
# Check to see if the all the properties in the model are valid
|
178
|
+
# @return true if the model is valid
|
179
|
+
def valid?
|
180
|
+
resize_filter_validator = EnumAttributeValidator.new('String', ["lanczos3", "lanczos2", "bicubic", "bilinear", "nearest"])
|
181
|
+
return false unless resize_filter_validator.valid?(@resize_filter)
|
182
|
+
return false if !@webp_quality.nil? && @webp_quality > 100
|
183
|
+
return false if !@webp_quality.nil? && @webp_quality < 1
|
184
|
+
jpeg_type_validator = EnumAttributeValidator.new('String', ["auto", "baseline", "progressive"])
|
185
|
+
return false unless jpeg_type_validator.valid?(@jpeg_type)
|
186
|
+
return false if !@jpeg_quality.nil? && @jpeg_quality > 100
|
187
|
+
return false if !@jpeg_quality.nil? && @jpeg_quality < 1
|
188
|
+
true
|
189
|
+
end
|
190
|
+
|
191
|
+
# Custom attribute writer method checking allowed values (enum).
|
192
|
+
# @param [Object] resize_filter Object to be assigned
|
193
|
+
def resize_filter=(resize_filter)
|
194
|
+
validator = EnumAttributeValidator.new('String', ["lanczos3", "lanczos2", "bicubic", "bilinear", "nearest"])
|
195
|
+
unless validator.valid?(resize_filter)
|
196
|
+
fail ArgumentError, "invalid value for \"resize_filter\", must be one of #{validator.allowable_values}."
|
197
|
+
end
|
198
|
+
@resize_filter = resize_filter
|
199
|
+
end
|
200
|
+
|
201
|
+
# Custom attribute writer method with validation
|
202
|
+
# @param [Object] webp_quality Value to be assigned
|
203
|
+
def webp_quality=(webp_quality)
|
204
|
+
if !webp_quality.nil? && webp_quality > 100
|
205
|
+
fail ArgumentError, 'invalid value for "webp_quality", must be smaller than or equal to 100.'
|
206
|
+
end
|
207
|
+
|
208
|
+
if !webp_quality.nil? && webp_quality < 1
|
209
|
+
fail ArgumentError, 'invalid value for "webp_quality", must be greater than or equal to 1.'
|
210
|
+
end
|
211
|
+
|
212
|
+
@webp_quality = webp_quality
|
213
|
+
end
|
214
|
+
|
215
|
+
# Custom attribute writer method checking allowed values (enum).
|
216
|
+
# @param [Object] jpeg_type Object to be assigned
|
217
|
+
def jpeg_type=(jpeg_type)
|
218
|
+
validator = EnumAttributeValidator.new('String', ["auto", "baseline", "progressive"])
|
219
|
+
unless validator.valid?(jpeg_type)
|
220
|
+
fail ArgumentError, "invalid value for \"jpeg_type\", must be one of #{validator.allowable_values}."
|
221
|
+
end
|
222
|
+
@jpeg_type = jpeg_type
|
223
|
+
end
|
224
|
+
|
225
|
+
# Custom attribute writer method with validation
|
226
|
+
# @param [Object] jpeg_quality Value to be assigned
|
227
|
+
def jpeg_quality=(jpeg_quality)
|
228
|
+
if !jpeg_quality.nil? && jpeg_quality > 100
|
229
|
+
fail ArgumentError, 'invalid value for "jpeg_quality", must be smaller than or equal to 100.'
|
230
|
+
end
|
231
|
+
|
232
|
+
if !jpeg_quality.nil? && jpeg_quality < 1
|
233
|
+
fail ArgumentError, 'invalid value for "jpeg_quality", must be greater than or equal to 1.'
|
234
|
+
end
|
235
|
+
|
236
|
+
@jpeg_quality = jpeg_quality
|
237
|
+
end
|
238
|
+
|
239
|
+
# Checks equality by comparing each attribute.
|
240
|
+
# @param [Object] Object to be compared
|
241
|
+
def ==(o)
|
242
|
+
return true if self.equal?(o)
|
243
|
+
self.class == o.class &&
|
244
|
+
resize_filter == o.resize_filter &&
|
245
|
+
webp == o.webp &&
|
246
|
+
webp_quality == o.webp_quality &&
|
247
|
+
jpeg_type == o.jpeg_type &&
|
248
|
+
jpeg_quality == o.jpeg_quality &&
|
249
|
+
upscale == o.upscale &&
|
250
|
+
allow_video == o.allow_video
|
251
|
+
end
|
252
|
+
|
253
|
+
# @see the `==` method
|
254
|
+
# @param [Object] Object to be compared
|
255
|
+
def eql?(o)
|
256
|
+
self == o
|
257
|
+
end
|
258
|
+
|
259
|
+
# Calculates hash code according to all attributes.
|
260
|
+
# @return [Integer] Hash code
|
261
|
+
def hash
|
262
|
+
[resize_filter, webp, webp_quality, jpeg_type, jpeg_quality, upscale, allow_video].hash
|
263
|
+
end
|
264
|
+
|
265
|
+
# Builds the object from hash
|
266
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
267
|
+
# @return [Object] Returns the model itself
|
268
|
+
def self.build_from_hash(attributes)
|
269
|
+
new.build_from_hash(attributes)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Builds the object from hash
|
273
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
274
|
+
# @return [Object] Returns the model itself
|
275
|
+
def build_from_hash(attributes)
|
276
|
+
return nil unless attributes.is_a?(Hash)
|
277
|
+
self.class.fastly_types.each_pair do |key, type|
|
278
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
|
279
|
+
self.send("#{key}=", nil)
|
280
|
+
elsif type =~ /\AArray<(.*)>/i
|
281
|
+
# check to ensure the input is an array given that the attribute
|
282
|
+
# is documented as an array but the input is not
|
283
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
284
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
285
|
+
end
|
286
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
287
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
self
|
292
|
+
end
|
293
|
+
|
294
|
+
# Deserializes the data based on type
|
295
|
+
# @param string type Data type
|
296
|
+
# @param string value Value to be deserialized
|
297
|
+
# @return [Object] Deserialized data
|
298
|
+
def _deserialize(type, value)
|
299
|
+
case type.to_sym
|
300
|
+
when :Time
|
301
|
+
Time.parse(value)
|
302
|
+
when :Date
|
303
|
+
Date.parse(value)
|
304
|
+
when :String
|
305
|
+
value.to_s
|
306
|
+
when :Integer
|
307
|
+
value.to_i
|
308
|
+
when :Float
|
309
|
+
value.to_f
|
310
|
+
when :Boolean
|
311
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
312
|
+
true
|
313
|
+
else
|
314
|
+
false
|
315
|
+
end
|
316
|
+
when :Object
|
317
|
+
# generic object (usually a Hash), return directly
|
318
|
+
value
|
319
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
320
|
+
inner_type = Regexp.last_match[:inner_type]
|
321
|
+
value.map { |v| _deserialize(inner_type, v) }
|
322
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
323
|
+
k_type = Regexp.last_match[:k_type]
|
324
|
+
v_type = Regexp.last_match[:v_type]
|
325
|
+
{}.tap do |hash|
|
326
|
+
value.each do |k, v|
|
327
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
328
|
+
end
|
329
|
+
end
|
330
|
+
else # model
|
331
|
+
# models (e.g. Pet) or oneOf
|
332
|
+
klass = Fastly.const_get(type)
|
333
|
+
klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# Returns the string representation of the object
|
338
|
+
# @return [String] String presentation of the object
|
339
|
+
def to_s
|
340
|
+
to_hash.to_s
|
341
|
+
end
|
342
|
+
|
343
|
+
# to_body is an alias to to_hash (backward compatibility)
|
344
|
+
# @return [Hash] Returns the object in the form of hash
|
345
|
+
def to_body
|
346
|
+
to_hash
|
347
|
+
end
|
348
|
+
|
349
|
+
# Returns the object in the form of hash
|
350
|
+
# @return [Hash] Returns the object in the form of hash
|
351
|
+
def to_hash
|
352
|
+
hash = {}
|
353
|
+
self.class.attribute_map.each_pair do |attr, param|
|
354
|
+
value = self.send(attr)
|
355
|
+
if value.nil?
|
356
|
+
is_nullable = self.class.fastly_nullable.include?(attr)
|
357
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
358
|
+
end
|
359
|
+
|
360
|
+
hash[param] = _to_hash(value)
|
361
|
+
end
|
362
|
+
hash
|
363
|
+
end
|
364
|
+
|
365
|
+
# Outputs non-array value in the form of hash
|
366
|
+
# For object, use to_hash. Otherwise, just return the value
|
367
|
+
# @param [Object] value Any valid value
|
368
|
+
# @return [Hash] Returns the value in the form of hash
|
369
|
+
def _to_hash(value)
|
370
|
+
if value.is_a?(Array)
|
371
|
+
value.compact.map { |v| _to_hash(v) }
|
372
|
+
elsif value.is_a?(Hash)
|
373
|
+
{}.tap do |hash|
|
374
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
375
|
+
end
|
376
|
+
elsif value.respond_to? :to_hash
|
377
|
+
value.to_hash
|
378
|
+
else
|
379
|
+
value
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
end
|
384
|
+
|
385
|
+
end
|
@@ -0,0 +1,234 @@
|
|
1
|
+
=begin
|
2
|
+
#Fastly API
|
3
|
+
|
4
|
+
#Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: oss@fastly.com
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'date'
|
12
|
+
require 'time'
|
13
|
+
|
14
|
+
module Fastly
|
15
|
+
class DefaultSettingsError
|
16
|
+
attr_accessor :title
|
17
|
+
|
18
|
+
attr_accessor :type
|
19
|
+
|
20
|
+
attr_accessor :detail
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'title' => :'title',
|
26
|
+
:'type' => :'type',
|
27
|
+
:'detail' => :'detail'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Returns all the JSON keys this model knows about
|
32
|
+
def self.acceptable_attributes
|
33
|
+
attribute_map.values
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.fastly_types
|
38
|
+
{
|
39
|
+
:'title' => :'String',
|
40
|
+
:'type' => :'String',
|
41
|
+
:'detail' => :'String'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# List of attributes with nullable: true
|
46
|
+
def self.fastly_nullable
|
47
|
+
Set.new([
|
48
|
+
])
|
49
|
+
end
|
50
|
+
|
51
|
+
# Initializes the object
|
52
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
53
|
+
def initialize(attributes = {})
|
54
|
+
if (!attributes.is_a?(Hash))
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::DefaultSettingsError` initialize method"
|
56
|
+
end
|
57
|
+
|
58
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
60
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::DefaultSettingsError`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
62
|
+
end
|
63
|
+
h[k.to_sym] = v
|
64
|
+
}
|
65
|
+
|
66
|
+
if attributes.key?(:'title')
|
67
|
+
self.title = attributes[:'title']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.key?(:'type')
|
71
|
+
self.type = attributes[:'type']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.key?(:'detail')
|
75
|
+
self.detail = attributes[:'detail']
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
80
|
+
# @return Array for valid properties with the reasons
|
81
|
+
def list_invalid_properties
|
82
|
+
invalid_properties = Array.new
|
83
|
+
invalid_properties
|
84
|
+
end
|
85
|
+
|
86
|
+
# Check to see if the all the properties in the model are valid
|
87
|
+
# @return true if the model is valid
|
88
|
+
def valid?
|
89
|
+
true
|
90
|
+
end
|
91
|
+
|
92
|
+
# Checks equality by comparing each attribute.
|
93
|
+
# @param [Object] Object to be compared
|
94
|
+
def ==(o)
|
95
|
+
return true if self.equal?(o)
|
96
|
+
self.class == o.class &&
|
97
|
+
title == o.title &&
|
98
|
+
type == o.type &&
|
99
|
+
detail == o.detail
|
100
|
+
end
|
101
|
+
|
102
|
+
# @see the `==` method
|
103
|
+
# @param [Object] Object to be compared
|
104
|
+
def eql?(o)
|
105
|
+
self == o
|
106
|
+
end
|
107
|
+
|
108
|
+
# Calculates hash code according to all attributes.
|
109
|
+
# @return [Integer] Hash code
|
110
|
+
def hash
|
111
|
+
[title, type, detail].hash
|
112
|
+
end
|
113
|
+
|
114
|
+
# Builds the object from hash
|
115
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
116
|
+
# @return [Object] Returns the model itself
|
117
|
+
def self.build_from_hash(attributes)
|
118
|
+
new.build_from_hash(attributes)
|
119
|
+
end
|
120
|
+
|
121
|
+
# Builds the object from hash
|
122
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
123
|
+
# @return [Object] Returns the model itself
|
124
|
+
def build_from_hash(attributes)
|
125
|
+
return nil unless attributes.is_a?(Hash)
|
126
|
+
self.class.fastly_types.each_pair do |key, type|
|
127
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
|
128
|
+
self.send("#{key}=", nil)
|
129
|
+
elsif type =~ /\AArray<(.*)>/i
|
130
|
+
# check to ensure the input is an array given that the attribute
|
131
|
+
# is documented as an array but the input is not
|
132
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
133
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
134
|
+
end
|
135
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
136
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
self
|
141
|
+
end
|
142
|
+
|
143
|
+
# Deserializes the data based on type
|
144
|
+
# @param string type Data type
|
145
|
+
# @param string value Value to be deserialized
|
146
|
+
# @return [Object] Deserialized data
|
147
|
+
def _deserialize(type, value)
|
148
|
+
case type.to_sym
|
149
|
+
when :Time
|
150
|
+
Time.parse(value)
|
151
|
+
when :Date
|
152
|
+
Date.parse(value)
|
153
|
+
when :String
|
154
|
+
value.to_s
|
155
|
+
when :Integer
|
156
|
+
value.to_i
|
157
|
+
when :Float
|
158
|
+
value.to_f
|
159
|
+
when :Boolean
|
160
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
161
|
+
true
|
162
|
+
else
|
163
|
+
false
|
164
|
+
end
|
165
|
+
when :Object
|
166
|
+
# generic object (usually a Hash), return directly
|
167
|
+
value
|
168
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
169
|
+
inner_type = Regexp.last_match[:inner_type]
|
170
|
+
value.map { |v| _deserialize(inner_type, v) }
|
171
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
172
|
+
k_type = Regexp.last_match[:k_type]
|
173
|
+
v_type = Regexp.last_match[:v_type]
|
174
|
+
{}.tap do |hash|
|
175
|
+
value.each do |k, v|
|
176
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
177
|
+
end
|
178
|
+
end
|
179
|
+
else # model
|
180
|
+
# models (e.g. Pet) or oneOf
|
181
|
+
klass = Fastly.const_get(type)
|
182
|
+
klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# Returns the string representation of the object
|
187
|
+
# @return [String] String presentation of the object
|
188
|
+
def to_s
|
189
|
+
to_hash.to_s
|
190
|
+
end
|
191
|
+
|
192
|
+
# to_body is an alias to to_hash (backward compatibility)
|
193
|
+
# @return [Hash] Returns the object in the form of hash
|
194
|
+
def to_body
|
195
|
+
to_hash
|
196
|
+
end
|
197
|
+
|
198
|
+
# Returns the object in the form of hash
|
199
|
+
# @return [Hash] Returns the object in the form of hash
|
200
|
+
def to_hash
|
201
|
+
hash = {}
|
202
|
+
self.class.attribute_map.each_pair do |attr, param|
|
203
|
+
value = self.send(attr)
|
204
|
+
if value.nil?
|
205
|
+
is_nullable = self.class.fastly_nullable.include?(attr)
|
206
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
207
|
+
end
|
208
|
+
|
209
|
+
hash[param] = _to_hash(value)
|
210
|
+
end
|
211
|
+
hash
|
212
|
+
end
|
213
|
+
|
214
|
+
# Outputs non-array value in the form of hash
|
215
|
+
# For object, use to_hash. Otherwise, just return the value
|
216
|
+
# @param [Object] value Any valid value
|
217
|
+
# @return [Hash] Returns the value in the form of hash
|
218
|
+
def _to_hash(value)
|
219
|
+
if value.is_a?(Array)
|
220
|
+
value.compact.map { |v| _to_hash(v) }
|
221
|
+
elsif value.is_a?(Hash)
|
222
|
+
{}.tap do |hash|
|
223
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
224
|
+
end
|
225
|
+
elsif value.respond_to? :to_hash
|
226
|
+
value.to_hash
|
227
|
+
else
|
228
|
+
value
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
end
|
233
|
+
|
234
|
+
end
|