fastly 16.1.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +58 -0
- data/Gemfile.lock +1 -1
- data/README.md +101 -58
- data/docs/Action.md +11 -0
- data/docs/ActionType.md +9 -0
- data/docs/AgentKey.md +14 -0
- data/docs/AgentKeyMeta.md +10 -0
- data/docs/Backend.md +3 -1
- data/docs/BackendApi.md +12 -4
- data/docs/BackendResponse.md +3 -1
- data/docs/BotManagementRequestUpdateConfiguration.md +10 -0
- data/docs/BotManagementResponseConfiguration.md +10 -0
- data/docs/BotManagementResponseConfigurationConfiguration.md +10 -0
- data/docs/BotManagementResponseConfigure.md +13 -0
- data/docs/ClientSideProtectionApi.md +821 -0
- data/docs/ConditionOperator.md +9 -0
- data/docs/ConditionType.md +9 -0
- data/docs/DdosProtectionApi.md +4 -4
- data/docs/Directive.md +11 -0
- data/docs/DmDomainsApi.md +2 -2
- data/docs/DmRoutingConfigsApi.md +912 -0
- data/docs/DomainOwnershipsApi.md +2 -2
- data/docs/DomainResearchApi.md +2 -2
- data/docs/DraftDiff.md +12 -0
- data/docs/DraftUpdate.md +10 -0
- data/docs/EventsResponse.md +1 -1
- data/docs/HeaderEvent.md +14 -0
- data/docs/InitialVersion.md +12 -0
- data/docs/InitialVersionPath.md +11 -0
- data/docs/InlineResponse20010.md +2 -2
- data/docs/InlineResponse20011.md +2 -2
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +2 -2
- data/docs/InlineResponse20014.md +2 -1
- data/docs/InlineResponse20015.md +10 -0
- data/docs/InlineResponse20016.md +10 -0
- data/docs/InlineResponse20017.md +11 -0
- data/docs/InlineResponse20018.md +11 -0
- data/docs/InlineResponse20019.md +11 -0
- data/docs/InlineResponse20020.md +11 -0
- data/docs/InlineResponse20021.md +11 -0
- data/docs/InlineResponse20022.md +10 -0
- data/docs/InlineResponse2005.md +2 -2
- data/docs/InlineResponse2006.md +2 -2
- data/docs/InlineResponse2007.md +2 -2
- data/docs/InlineResponse2008.md +2 -1
- data/docs/InlineResponse2009.md +2 -1
- data/docs/InvitationsResponse.md +1 -1
- data/docs/KvStoreApi.md +2 -2
- data/docs/KvStoreItemApi.md +2 -2
- data/docs/KvStoreResponseBodyEnable.md +12 -0
- data/docs/KvStoreResponseCustomer.md +10 -0
- data/docs/KvStoreResponseLinks.md +10 -0
- data/docs/KvStoreResponseLinksLinks.md +10 -0
- data/docs/KvStoreResponseProduct.md +10 -0
- data/docs/KvStoreResponseProductProduct.md +11 -0
- data/docs/LoggingAzureblobApi.md +4 -4
- data/docs/LoggingAzureblobResponse.md +1 -1
- data/docs/LoggingCloudfilesApi.md +4 -4
- data/docs/LoggingCloudfilesResponse.md +1 -1
- data/docs/LoggingDigitaloceanApi.md +4 -4
- data/docs/LoggingDigitaloceanResponse.md +1 -1
- data/docs/LoggingFtpApi.md +4 -4
- data/docs/LoggingFtpResponse.md +1 -1
- data/docs/LoggingGcsApi.md +4 -4
- data/docs/LoggingGcsResponse.md +1 -1
- data/docs/LoggingGenericCommon.md +1 -1
- data/docs/LoggingGenericCommonResponse.md +1 -1
- data/docs/LoggingGenericCommonResponseAllOf.md +1 -1
- data/docs/LoggingHttpsAdditional.md +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +1 -1
- data/docs/LoggingOpenstackApi.md +4 -4
- data/docs/LoggingOpenstackResponse.md +1 -1
- data/docs/LoggingS3Api.md +4 -4
- data/docs/LoggingS3Response.md +1 -1
- data/docs/LoggingSftpApi.md +4 -4
- data/docs/LoggingSftpResponse.md +1 -1
- data/docs/LoggingSumologicAdditional.md +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +1 -1
- data/docs/LoggingSyslogAdditional.md +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +1 -1
- data/docs/MutualAuthenticationsResponse.md +1 -1
- data/docs/NgwafAgentKeysApi.md +55 -0
- data/docs/NgwafSimulateApi.md +61 -0
- data/docs/Notification.md +11 -0
- data/docs/NotificationConfig.md +10 -0
- data/docs/Page.md +17 -0
- data/docs/PageCreate.md +14 -0
- data/docs/PageUpdate.md +14 -0
- data/docs/Pagination.md +1 -1
- data/docs/PaginationMeta.md +4 -4
- data/docs/PaginationMeta1.md +13 -0
- data/docs/PathChange.md +15 -0
- data/docs/PathCreate.md +10 -0
- data/docs/PathResponse.md +14 -0
- data/docs/PathResponseAllOf.md +12 -0
- data/docs/PathUpdate.md +10 -0
- data/docs/PathWithRules.md +11 -0
- data/docs/PathsResponse.md +11 -0
- data/docs/Policy.md +17 -0
- data/docs/PolicyCreate.md +13 -0
- data/docs/PolicyUpdate.md +13 -0
- data/docs/Position.md +11 -0
- data/docs/ProductBotManagementApi.md +78 -0
- data/docs/ProductKvStoreApi.md +115 -0
- data/docs/RealtimeEntry.md +1 -1
- data/docs/RealtimeEntryAggregated.md +34 -3
- data/docs/RealtimeEntryDatacenter.md +345 -0
- data/docs/RealtimeMeasurements.md +34 -3
- data/docs/Report.md +15 -0
- data/docs/RequestBodyForCreate.md +1 -0
- data/docs/RequestBodyForUpdate.md +1 -0
- data/docs/Results.md +34 -3
- data/docs/RoutingConfig.md +11 -0
- data/docs/RoutingConfigCondition.md +13 -0
- data/docs/RoutingConfigResponse.md +16 -0
- data/docs/RoutingConfigResponseAllOf.md +14 -0
- data/docs/RoutingConfigState.md +9 -0
- data/docs/RoutingConfigVersionResponse.md +13 -0
- data/docs/RoutingConfigsResponse.md +11 -0
- data/docs/RuleChange.md +12 -0
- data/docs/RuleCreate.md +12 -0
- data/docs/RuleResponse.md +15 -0
- data/docs/RuleResponseAllOf.md +13 -0
- data/docs/RuleUpdate.md +12 -0
- data/docs/RulesResponse.md +11 -0
- data/docs/Script.md +20 -0
- data/docs/ScriptUpdate.md +12 -0
- data/docs/SecretStoreApi.md +2 -2
- data/docs/SecretStoreItemApi.md +2 -2
- data/docs/SecurityHeader.md +12 -0
- data/docs/ServiceAuthorizationsApi.md +2 -2
- data/docs/ServiceAuthorizationsResponse.md +1 -1
- data/docs/SuccessfulResponseAsObject.md +1 -0
- data/docs/SuccessfulResponseAsObjectAllOf.md +1 -0
- data/docs/TlsActivationsResponse.md +1 -1
- data/docs/TlsBulkCertificatesResponse.md +1 -1
- data/docs/TlsCertificatesResponse.md +1 -1
- data/docs/TlsConfigurationsResponse.md +1 -1
- data/docs/TlsDomainsResponse.md +1 -1
- data/docs/TlsPrivateKeysResponse.md +1 -1
- data/docs/TlsSubscriptionsResponse.md +1 -1
- data/docs/VersionsResponse.md +11 -0
- data/docs/WafSimulateRequest.md +11 -0
- data/docs/WafSimulateResponse.md +11 -0
- data/docs/WafSimulateSignal.md +16 -0
- data/docs/Website.md +14 -0
- data/docs/WebsiteCreate.md +10 -0
- data/docs/WebsiteUpdate.md +10 -0
- data/lib/fastly/api/backend_api.rb +16 -4
- data/lib/fastly/api/client_side_protection_api.rb +1465 -0
- data/lib/fastly/api/ddos_protection_api.rb +6 -6
- data/lib/fastly/api/dm_domains_api.rb +3 -3
- data/lib/fastly/api/dm_routing_configs_api.rb +1596 -0
- data/lib/fastly/api/domain_ownerships_api.rb +3 -3
- data/lib/fastly/api/domain_research_api.rb +3 -3
- data/lib/fastly/api/kv_store_api.rb +3 -3
- data/lib/fastly/api/kv_store_item_api.rb +3 -3
- data/lib/fastly/api/logging_azureblob_api.rb +6 -6
- data/lib/fastly/api/logging_cloudfiles_api.rb +6 -6
- data/lib/fastly/api/logging_digitalocean_api.rb +6 -6
- data/lib/fastly/api/logging_ftp_api.rb +6 -6
- data/lib/fastly/api/logging_gcs_api.rb +6 -6
- data/lib/fastly/api/logging_https_api.rb +4 -4
- data/lib/fastly/api/logging_openstack_api.rb +6 -6
- data/lib/fastly/api/logging_s3_api.rb +6 -6
- data/lib/fastly/api/logging_sftp_api.rb +6 -6
- data/lib/fastly/api/logging_sumologic_api.rb +4 -4
- data/lib/fastly/api/logging_syslog_api.rb +4 -4
- data/lib/fastly/api/ngwaf_agent_keys_api.rb +83 -0
- data/lib/fastly/api/ngwaf_simulate_api.rb +95 -0
- data/lib/fastly/api/product_bot_management_api.rb +133 -0
- data/lib/fastly/api/product_kv_store_api.rb +186 -0
- data/lib/fastly/api/secret_store_api.rb +3 -3
- data/lib/fastly/api/secret_store_item_api.rb +3 -3
- data/lib/fastly/api/service_authorizations_api.rb +3 -3
- data/lib/fastly/configuration.rb +294 -0
- data/lib/fastly/models/action.rb +237 -0
- data/lib/fastly/models/action_type.rb +34 -0
- data/lib/fastly/models/agent_key.rb +283 -0
- data/lib/fastly/models/agent_key_meta.rb +223 -0
- data/lib/fastly/models/backend.rb +24 -2
- data/lib/fastly/models/backend_response.rb +24 -2
- data/lib/fastly/models/bot_management_request_update_configuration.rb +256 -0
- data/lib/fastly/models/bot_management_response_configuration.rb +216 -0
- data/lib/fastly/models/bot_management_response_configuration_configuration.rb +217 -0
- data/lib/fastly/models/bot_management_response_configure.rb +253 -0
- data/lib/fastly/models/condition_operator.rb +37 -0
- data/lib/fastly/models/condition_type.rb +34 -0
- data/lib/fastly/models/directive.rb +229 -0
- data/lib/fastly/models/draft_diff.rb +244 -0
- data/lib/fastly/models/draft_update.rb +218 -0
- data/lib/fastly/models/events_response.rb +1 -1
- data/lib/fastly/models/header_event.rb +252 -0
- data/lib/fastly/models/initial_version.rb +242 -0
- data/lib/fastly/models/initial_version_path.rb +254 -0
- data/lib/fastly/models/inline_response20010.rb +2 -2
- data/lib/fastly/models/inline_response20011.rb +2 -2
- data/lib/fastly/models/inline_response20012.rb +1 -1
- data/lib/fastly/models/inline_response20013.rb +11 -1
- data/lib/fastly/models/inline_response20014.rb +15 -4
- data/lib/fastly/models/inline_response20015.rb +217 -0
- data/lib/fastly/models/inline_response20016.rb +218 -0
- data/lib/fastly/models/inline_response20017.rb +227 -0
- data/lib/fastly/models/inline_response20018.rb +227 -0
- data/lib/fastly/models/inline_response20019.rb +228 -0
- data/lib/fastly/models/inline_response20020.rb +227 -0
- data/lib/fastly/models/inline_response20021.rb +227 -0
- data/lib/fastly/models/inline_response20022.rb +218 -0
- data/lib/fastly/models/inline_response2005.rb +2 -2
- data/lib/fastly/models/inline_response2006.rb +2 -12
- data/lib/fastly/models/inline_response2007.rb +2 -4
- data/lib/fastly/models/inline_response2008.rb +18 -8
- data/lib/fastly/models/inline_response2009.rb +17 -8
- data/lib/fastly/models/invitations_response.rb +1 -1
- data/lib/fastly/models/kv_store_response_body_enable.rb +243 -0
- data/lib/fastly/models/kv_store_response_customer.rb +216 -0
- data/lib/fastly/models/kv_store_response_links.rb +216 -0
- data/lib/fastly/models/kv_store_response_links_links.rb +217 -0
- data/lib/fastly/models/kv_store_response_product.rb +216 -0
- data/lib/fastly/models/kv_store_response_product_product.rb +227 -0
- data/lib/fastly/models/logging_azureblob_response.rb +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +3 -3
- data/lib/fastly/models/logging_ftp_response.rb +3 -3
- data/lib/fastly/models/logging_gcs_response.rb +3 -3
- data/lib/fastly/models/logging_generic_common.rb +3 -3
- data/lib/fastly/models/logging_generic_common_response.rb +3 -3
- data/lib/fastly/models/logging_generic_common_response_all_of.rb +3 -3
- 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_message_type.rb +1 -1
- data/lib/fastly/models/logging_openstack_response.rb +3 -3
- data/lib/fastly/models/logging_s3_response.rb +3 -3
- data/lib/fastly/models/logging_sftp_response.rb +3 -3
- 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/mutual_authentications_response.rb +1 -1
- data/lib/fastly/models/notification.rb +270 -0
- data/lib/fastly/models/notification_config.rb +218 -0
- data/lib/fastly/models/page.rb +289 -0
- data/lib/fastly/models/page_create.rb +266 -0
- data/lib/fastly/models/page_update.rb +256 -0
- data/lib/fastly/models/pagination.rb +1 -1
- data/lib/fastly/models/pagination_meta.rb +30 -55
- data/lib/fastly/models/pagination_meta1.rb +273 -0
- data/lib/fastly/models/path_change.rb +274 -0
- data/lib/fastly/models/path_create.rb +242 -0
- data/lib/fastly/models/path_response.rb +285 -0
- data/lib/fastly/models/path_response_all_of.rb +254 -0
- data/lib/fastly/models/path_update.rb +233 -0
- data/lib/fastly/models/path_with_rules.rb +228 -0
- data/lib/fastly/models/paths_response.rb +228 -0
- data/lib/fastly/models/policy.rb +315 -0
- data/lib/fastly/models/policy_create.rb +289 -0
- data/lib/fastly/models/policy_update.rb +279 -0
- data/lib/fastly/models/position.rb +228 -0
- data/lib/fastly/models/realtime_entry.rb +2 -5
- data/lib/fastly/models/realtime_entry_aggregated.rb +344 -34
- data/lib/fastly/models/realtime_entry_datacenter.rb +3577 -0
- data/lib/fastly/models/realtime_measurements.rb +344 -34
- data/lib/fastly/models/report.rb +261 -0
- data/lib/fastly/models/request_body_for_create.rb +12 -1
- data/lib/fastly/models/request_body_for_update.rb +12 -1
- data/lib/fastly/models/results.rb +341 -31
- data/lib/fastly/models/routing_config.rb +251 -0
- data/lib/fastly/models/routing_config_condition.rb +261 -0
- data/lib/fastly/models/routing_config_response.rb +305 -0
- data/lib/fastly/models/routing_config_response_all_of.rb +274 -0
- data/lib/fastly/models/routing_config_state.rb +36 -0
- data/lib/fastly/models/routing_config_version_response.rb +250 -0
- data/lib/fastly/models/routing_configs_response.rb +228 -0
- data/lib/fastly/models/rule_change.rb +236 -0
- data/lib/fastly/models/rule_create.rb +267 -0
- data/lib/fastly/models/rule_response.rb +279 -0
- data/lib/fastly/models/rule_response_all_of.rb +248 -0
- data/lib/fastly/models/rule_update.rb +252 -0
- data/lib/fastly/models/rules_response.rb +228 -0
- data/lib/fastly/models/script.rb +350 -0
- data/lib/fastly/models/script_update.rb +271 -0
- data/lib/fastly/models/security_header.rb +234 -0
- data/lib/fastly/models/service_authorizations_response.rb +1 -1
- data/lib/fastly/models/successful_response_as_object.rb +12 -1
- data/lib/fastly/models/successful_response_as_object_all_of.rb +12 -1
- data/lib/fastly/models/tls_activations_response.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificates_response.rb +1 -1
- data/lib/fastly/models/tls_certificates_response.rb +1 -1
- data/lib/fastly/models/tls_configurations_response.rb +1 -1
- data/lib/fastly/models/tls_domains_response.rb +1 -1
- data/lib/fastly/models/tls_private_keys_response.rb +1 -1
- data/lib/fastly/models/tls_subscriptions_response.rb +1 -1
- data/lib/fastly/models/versions_response.rb +228 -0
- data/lib/fastly/models/waf_simulate_request.rb +233 -0
- data/lib/fastly/models/waf_simulate_response.rb +240 -0
- data/lib/fastly/models/waf_simulate_signal.rb +344 -0
- data/lib/fastly/models/website.rb +257 -0
- data/lib/fastly/models/website_create.rb +222 -0
- data/lib/fastly/models/website_update.rb +217 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +77 -0
- data/sig.json +1 -1
- metadata +156 -2
|
@@ -0,0 +1,222 @@
|
|
|
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 WebsiteCreate
|
|
16
|
+
# Website domain
|
|
17
|
+
attr_accessor :domain
|
|
18
|
+
|
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
|
+
def self.attribute_map
|
|
21
|
+
{
|
|
22
|
+
:'domain' => :'domain'
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Returns all the JSON keys this model knows about
|
|
27
|
+
def self.acceptable_attributes
|
|
28
|
+
attribute_map.values
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Attribute type mapping.
|
|
32
|
+
def self.fastly_types
|
|
33
|
+
{
|
|
34
|
+
:'domain' => :'String'
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# List of attributes with nullable: true
|
|
39
|
+
def self.fastly_nullable
|
|
40
|
+
Set.new([
|
|
41
|
+
])
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Initializes the object
|
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
46
|
+
def initialize(attributes = {})
|
|
47
|
+
if (!attributes.is_a?(Hash))
|
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::WebsiteCreate` initialize method"
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
53
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::WebsiteCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
55
|
+
end
|
|
56
|
+
h[k.to_sym] = v
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if attributes.key?(:'domain')
|
|
60
|
+
self.domain = attributes[:'domain']
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
65
|
+
# @return Array for valid properties with the reasons
|
|
66
|
+
def list_invalid_properties
|
|
67
|
+
invalid_properties = Array.new
|
|
68
|
+
if @domain.nil?
|
|
69
|
+
invalid_properties.push('invalid value for "domain", domain cannot be nil.')
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
invalid_properties
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Check to see if the all the properties in the model are valid
|
|
76
|
+
# @return true if the model is valid
|
|
77
|
+
def valid?
|
|
78
|
+
return false if @domain.nil?
|
|
79
|
+
true
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Checks equality by comparing each attribute.
|
|
83
|
+
# @param [Object] Object to be compared
|
|
84
|
+
def ==(o)
|
|
85
|
+
return true if self.equal?(o)
|
|
86
|
+
self.class == o.class &&
|
|
87
|
+
domain == o.domain
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# @see the `==` method
|
|
91
|
+
# @param [Object] Object to be compared
|
|
92
|
+
def eql?(o)
|
|
93
|
+
self == o
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Calculates hash code according to all attributes.
|
|
97
|
+
# @return [Integer] Hash code
|
|
98
|
+
def hash
|
|
99
|
+
[domain].hash
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Builds the object from hash
|
|
103
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
104
|
+
# @return [Object] Returns the model itself
|
|
105
|
+
def self.build_from_hash(attributes)
|
|
106
|
+
new.build_from_hash(attributes)
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Builds the object from hash
|
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
111
|
+
# @return [Object] Returns the model itself
|
|
112
|
+
def build_from_hash(attributes)
|
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
|
114
|
+
self.class.fastly_types.each_pair do |key, type|
|
|
115
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
|
|
116
|
+
self.send("#{key}=", nil)
|
|
117
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
118
|
+
# check to ensure the input is an array given that the attribute
|
|
119
|
+
# is documented as an array but the input is not
|
|
120
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
121
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
122
|
+
end
|
|
123
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
124
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
self
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Deserializes the data based on type
|
|
132
|
+
# @param string type Data type
|
|
133
|
+
# @param string value Value to be deserialized
|
|
134
|
+
# @return [Object] Deserialized data
|
|
135
|
+
def _deserialize(type, value)
|
|
136
|
+
case type.to_sym
|
|
137
|
+
when :Time
|
|
138
|
+
Time.parse(value)
|
|
139
|
+
when :Date
|
|
140
|
+
Date.parse(value)
|
|
141
|
+
when :String
|
|
142
|
+
value.to_s
|
|
143
|
+
when :Integer
|
|
144
|
+
value.to_i
|
|
145
|
+
when :Float
|
|
146
|
+
value.to_f
|
|
147
|
+
when :Boolean
|
|
148
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
149
|
+
true
|
|
150
|
+
else
|
|
151
|
+
false
|
|
152
|
+
end
|
|
153
|
+
when :Object
|
|
154
|
+
# generic object (usually a Hash), return directly
|
|
155
|
+
value
|
|
156
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
157
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
158
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
159
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
160
|
+
k_type = Regexp.last_match[:k_type]
|
|
161
|
+
v_type = Regexp.last_match[:v_type]
|
|
162
|
+
{}.tap do |hash|
|
|
163
|
+
value.each do |k, v|
|
|
164
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
else # model
|
|
168
|
+
# models (e.g. Pet) or oneOf
|
|
169
|
+
klass = Fastly.const_get(type)
|
|
170
|
+
klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Returns the string representation of the object
|
|
175
|
+
# @return [String] String presentation of the object
|
|
176
|
+
def to_s
|
|
177
|
+
to_hash.to_s
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
181
|
+
# @return [Hash] Returns the object in the form of hash
|
|
182
|
+
def to_body
|
|
183
|
+
to_hash
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# Returns the object in the form of hash
|
|
187
|
+
# @return [Hash] Returns the object in the form of hash
|
|
188
|
+
def to_hash
|
|
189
|
+
hash = {}
|
|
190
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
191
|
+
value = self.send(attr)
|
|
192
|
+
if value.nil?
|
|
193
|
+
is_nullable = self.class.fastly_nullable.include?(attr)
|
|
194
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
hash[param] = _to_hash(value)
|
|
198
|
+
end
|
|
199
|
+
hash
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# Outputs non-array value in the form of hash
|
|
203
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
204
|
+
# @param [Object] value Any valid value
|
|
205
|
+
# @return [Hash] Returns the value in the form of hash
|
|
206
|
+
def _to_hash(value)
|
|
207
|
+
if value.is_a?(Array)
|
|
208
|
+
value.compact.map { |v| _to_hash(v) }
|
|
209
|
+
elsif value.is_a?(Hash)
|
|
210
|
+
{}.tap do |hash|
|
|
211
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
212
|
+
end
|
|
213
|
+
elsif value.respond_to? :to_hash
|
|
214
|
+
value.to_hash
|
|
215
|
+
else
|
|
216
|
+
value
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
end
|
|
@@ -0,0 +1,217 @@
|
|
|
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 WebsiteUpdate
|
|
16
|
+
# Website domain
|
|
17
|
+
attr_accessor :domain
|
|
18
|
+
|
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
|
+
def self.attribute_map
|
|
21
|
+
{
|
|
22
|
+
:'domain' => :'domain'
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Returns all the JSON keys this model knows about
|
|
27
|
+
def self.acceptable_attributes
|
|
28
|
+
attribute_map.values
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Attribute type mapping.
|
|
32
|
+
def self.fastly_types
|
|
33
|
+
{
|
|
34
|
+
:'domain' => :'String'
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# List of attributes with nullable: true
|
|
39
|
+
def self.fastly_nullable
|
|
40
|
+
Set.new([
|
|
41
|
+
])
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Initializes the object
|
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
46
|
+
def initialize(attributes = {})
|
|
47
|
+
if (!attributes.is_a?(Hash))
|
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::WebsiteUpdate` initialize method"
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
53
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::WebsiteUpdate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
55
|
+
end
|
|
56
|
+
h[k.to_sym] = v
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if attributes.key?(:'domain')
|
|
60
|
+
self.domain = attributes[:'domain']
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
65
|
+
# @return Array for valid properties with the reasons
|
|
66
|
+
def list_invalid_properties
|
|
67
|
+
invalid_properties = Array.new
|
|
68
|
+
invalid_properties
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Check to see if the all the properties in the model are valid
|
|
72
|
+
# @return true if the model is valid
|
|
73
|
+
def valid?
|
|
74
|
+
true
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Checks equality by comparing each attribute.
|
|
78
|
+
# @param [Object] Object to be compared
|
|
79
|
+
def ==(o)
|
|
80
|
+
return true if self.equal?(o)
|
|
81
|
+
self.class == o.class &&
|
|
82
|
+
domain == o.domain
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# @see the `==` method
|
|
86
|
+
# @param [Object] Object to be compared
|
|
87
|
+
def eql?(o)
|
|
88
|
+
self == o
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Calculates hash code according to all attributes.
|
|
92
|
+
# @return [Integer] Hash code
|
|
93
|
+
def hash
|
|
94
|
+
[domain].hash
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Builds the object from hash
|
|
98
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
99
|
+
# @return [Object] Returns the model itself
|
|
100
|
+
def self.build_from_hash(attributes)
|
|
101
|
+
new.build_from_hash(attributes)
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Builds the object from hash
|
|
105
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
106
|
+
# @return [Object] Returns the model itself
|
|
107
|
+
def build_from_hash(attributes)
|
|
108
|
+
return nil unless attributes.is_a?(Hash)
|
|
109
|
+
self.class.fastly_types.each_pair do |key, type|
|
|
110
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
|
|
111
|
+
self.send("#{key}=", nil)
|
|
112
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
113
|
+
# check to ensure the input is an array given that the attribute
|
|
114
|
+
# is documented as an array but the input is not
|
|
115
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
116
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
117
|
+
end
|
|
118
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
119
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
self
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Deserializes the data based on type
|
|
127
|
+
# @param string type Data type
|
|
128
|
+
# @param string value Value to be deserialized
|
|
129
|
+
# @return [Object] Deserialized data
|
|
130
|
+
def _deserialize(type, value)
|
|
131
|
+
case type.to_sym
|
|
132
|
+
when :Time
|
|
133
|
+
Time.parse(value)
|
|
134
|
+
when :Date
|
|
135
|
+
Date.parse(value)
|
|
136
|
+
when :String
|
|
137
|
+
value.to_s
|
|
138
|
+
when :Integer
|
|
139
|
+
value.to_i
|
|
140
|
+
when :Float
|
|
141
|
+
value.to_f
|
|
142
|
+
when :Boolean
|
|
143
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
144
|
+
true
|
|
145
|
+
else
|
|
146
|
+
false
|
|
147
|
+
end
|
|
148
|
+
when :Object
|
|
149
|
+
# generic object (usually a Hash), return directly
|
|
150
|
+
value
|
|
151
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
152
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
153
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
154
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
155
|
+
k_type = Regexp.last_match[:k_type]
|
|
156
|
+
v_type = Regexp.last_match[:v_type]
|
|
157
|
+
{}.tap do |hash|
|
|
158
|
+
value.each do |k, v|
|
|
159
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
else # model
|
|
163
|
+
# models (e.g. Pet) or oneOf
|
|
164
|
+
klass = Fastly.const_get(type)
|
|
165
|
+
klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Returns the string representation of the object
|
|
170
|
+
# @return [String] String presentation of the object
|
|
171
|
+
def to_s
|
|
172
|
+
to_hash.to_s
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
176
|
+
# @return [Hash] Returns the object in the form of hash
|
|
177
|
+
def to_body
|
|
178
|
+
to_hash
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# Returns the object in the form of hash
|
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
|
183
|
+
def to_hash
|
|
184
|
+
hash = {}
|
|
185
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
186
|
+
value = self.send(attr)
|
|
187
|
+
if value.nil?
|
|
188
|
+
is_nullable = self.class.fastly_nullable.include?(attr)
|
|
189
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
hash[param] = _to_hash(value)
|
|
193
|
+
end
|
|
194
|
+
hash
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Outputs non-array value in the form of hash
|
|
198
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
199
|
+
# @param [Object] value Any valid value
|
|
200
|
+
# @return [Hash] Returns the value in the form of hash
|
|
201
|
+
def _to_hash(value)
|
|
202
|
+
if value.is_a?(Array)
|
|
203
|
+
value.compact.map { |v| _to_hash(v) }
|
|
204
|
+
elsif value.is_a?(Hash)
|
|
205
|
+
{}.tap do |hash|
|
|
206
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
207
|
+
end
|
|
208
|
+
elsif value.respond_to? :to_hash
|
|
209
|
+
value.to_hash
|
|
210
|
+
else
|
|
211
|
+
value
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
end
|
data/lib/fastly/version.rb
CHANGED
data/lib/fastly.rb
CHANGED
|
@@ -23,6 +23,10 @@ require 'fastly/models/acl_entry_response'
|
|
|
23
23
|
require 'fastly/models/acl_entry_response_all_of'
|
|
24
24
|
require 'fastly/models/acl_response'
|
|
25
25
|
require 'fastly/models/acl_response_all_of'
|
|
26
|
+
require 'fastly/models/action'
|
|
27
|
+
require 'fastly/models/action_type'
|
|
28
|
+
require 'fastly/models/agent_key'
|
|
29
|
+
require 'fastly/models/agent_key_meta'
|
|
26
30
|
require 'fastly/models/ai_accelerator_response_body_enable'
|
|
27
31
|
require 'fastly/models/ai_accelerator_response_customer'
|
|
28
32
|
require 'fastly/models/ai_accelerator_response_customer_customer'
|
|
@@ -68,8 +72,12 @@ require 'fastly/models/billing_address_response'
|
|
|
68
72
|
require 'fastly/models/billing_address_response_data'
|
|
69
73
|
require 'fastly/models/billing_address_verification_error_response'
|
|
70
74
|
require 'fastly/models/billing_address_verification_error_response_errors'
|
|
75
|
+
require 'fastly/models/bot_management_request_update_configuration'
|
|
71
76
|
require 'fastly/models/bot_management_response_body_enable'
|
|
72
77
|
require 'fastly/models/bot_management_response_body_get_all_services'
|
|
78
|
+
require 'fastly/models/bot_management_response_configuration'
|
|
79
|
+
require 'fastly/models/bot_management_response_configuration_configuration'
|
|
80
|
+
require 'fastly/models/bot_management_response_configure'
|
|
73
81
|
require 'fastly/models/bot_management_response_customer'
|
|
74
82
|
require 'fastly/models/bot_management_response_customer_customer'
|
|
75
83
|
require 'fastly/models/bot_management_response_enabled_services'
|
|
@@ -114,7 +122,9 @@ require 'fastly/models/compute_acl_lookup'
|
|
|
114
122
|
require 'fastly/models/compute_acl_update'
|
|
115
123
|
require 'fastly/models/compute_acl_update_entry'
|
|
116
124
|
require 'fastly/models/condition'
|
|
125
|
+
require 'fastly/models/condition_operator'
|
|
117
126
|
require 'fastly/models/condition_response'
|
|
127
|
+
require 'fastly/models/condition_type'
|
|
118
128
|
require 'fastly/models/config_store'
|
|
119
129
|
require 'fastly/models/config_store_info_response'
|
|
120
130
|
require 'fastly/models/config_store_item'
|
|
@@ -194,6 +204,7 @@ require 'fastly/models/dimension_os'
|
|
|
194
204
|
require 'fastly/models/dimension_response'
|
|
195
205
|
require 'fastly/models/dimension_status_code'
|
|
196
206
|
require 'fastly/models/dimension_url'
|
|
207
|
+
require 'fastly/models/directive'
|
|
197
208
|
require 'fastly/models/director'
|
|
198
209
|
require 'fastly/models/director_backend'
|
|
199
210
|
require 'fastly/models/director_backend_all_of'
|
|
@@ -225,6 +236,8 @@ require 'fastly/models/domain_research_response_links_links'
|
|
|
225
236
|
require 'fastly/models/domain_research_response_product'
|
|
226
237
|
require 'fastly/models/domain_research_response_product_product'
|
|
227
238
|
require 'fastly/models/domain_response'
|
|
239
|
+
require 'fastly/models/draft_diff'
|
|
240
|
+
require 'fastly/models/draft_update'
|
|
228
241
|
require 'fastly/models/environment'
|
|
229
242
|
require 'fastly/models/environment_name'
|
|
230
243
|
require 'fastly/models/eom_invoice_response'
|
|
@@ -257,6 +270,7 @@ require 'fastly/models/get_service_level_usage_types_response'
|
|
|
257
270
|
require 'fastly/models/gzip'
|
|
258
271
|
require 'fastly/models/gzip_response'
|
|
259
272
|
require 'fastly/models/header'
|
|
273
|
+
require 'fastly/models/header_event'
|
|
260
274
|
require 'fastly/models/header_response'
|
|
261
275
|
require 'fastly/models/healthcheck'
|
|
262
276
|
require 'fastly/models/healthcheck_response'
|
|
@@ -311,6 +325,8 @@ require 'fastly/models/image_optimizer_response_product_product'
|
|
|
311
325
|
require 'fastly/models/image_optimizer_response_service'
|
|
312
326
|
require 'fastly/models/included_with_tls_configuration'
|
|
313
327
|
require 'fastly/models/included_with_tls_configuration_item'
|
|
328
|
+
require 'fastly/models/initial_version'
|
|
329
|
+
require 'fastly/models/initial_version_path'
|
|
314
330
|
require 'fastly/models/inline_object'
|
|
315
331
|
require 'fastly/models/inline_object1'
|
|
316
332
|
require 'fastly/models/inline_response200'
|
|
@@ -320,7 +336,15 @@ require 'fastly/models/inline_response20011'
|
|
|
320
336
|
require 'fastly/models/inline_response20012'
|
|
321
337
|
require 'fastly/models/inline_response20013'
|
|
322
338
|
require 'fastly/models/inline_response20014'
|
|
339
|
+
require 'fastly/models/inline_response20015'
|
|
340
|
+
require 'fastly/models/inline_response20016'
|
|
341
|
+
require 'fastly/models/inline_response20017'
|
|
342
|
+
require 'fastly/models/inline_response20018'
|
|
343
|
+
require 'fastly/models/inline_response20019'
|
|
323
344
|
require 'fastly/models/inline_response2002'
|
|
345
|
+
require 'fastly/models/inline_response20020'
|
|
346
|
+
require 'fastly/models/inline_response20021'
|
|
347
|
+
require 'fastly/models/inline_response20022'
|
|
324
348
|
require 'fastly/models/inline_response2003'
|
|
325
349
|
require 'fastly/models/inline_response2004'
|
|
326
350
|
require 'fastly/models/inline_response2005'
|
|
@@ -349,6 +373,12 @@ require 'fastly/models/kv_store_batch_response'
|
|
|
349
373
|
require 'fastly/models/kv_store_batch_response_errors'
|
|
350
374
|
require 'fastly/models/kv_store_details'
|
|
351
375
|
require 'fastly/models/kv_store_request_create_or_update'
|
|
376
|
+
require 'fastly/models/kv_store_response_body_enable'
|
|
377
|
+
require 'fastly/models/kv_store_response_customer'
|
|
378
|
+
require 'fastly/models/kv_store_response_links'
|
|
379
|
+
require 'fastly/models/kv_store_response_links_links'
|
|
380
|
+
require 'fastly/models/kv_store_response_product'
|
|
381
|
+
require 'fastly/models/kv_store_response_product_product'
|
|
352
382
|
require 'fastly/models/kv_store_upsert_batch'
|
|
353
383
|
require 'fastly/models/list_attack_report'
|
|
354
384
|
require 'fastly/models/list_attack_report_meta'
|
|
@@ -488,6 +518,8 @@ require 'fastly/models/ngwaf_response_links_links'
|
|
|
488
518
|
require 'fastly/models/ngwaf_response_product'
|
|
489
519
|
require 'fastly/models/ngwaf_response_product_product'
|
|
490
520
|
require 'fastly/models/ngwaf_response_service'
|
|
521
|
+
require 'fastly/models/notification'
|
|
522
|
+
require 'fastly/models/notification_config'
|
|
491
523
|
require 'fastly/models/object_storage_response_body_enable'
|
|
492
524
|
require 'fastly/models/object_storage_response_customer'
|
|
493
525
|
require 'fastly/models/object_storage_response_links'
|
|
@@ -531,10 +563,21 @@ require 'fastly/models/package'
|
|
|
531
563
|
require 'fastly/models/package_metadata'
|
|
532
564
|
require 'fastly/models/package_response'
|
|
533
565
|
require 'fastly/models/package_response_all_of'
|
|
566
|
+
require 'fastly/models/page'
|
|
567
|
+
require 'fastly/models/page_create'
|
|
568
|
+
require 'fastly/models/page_update'
|
|
534
569
|
require 'fastly/models/pagination'
|
|
535
570
|
require 'fastly/models/pagination_cursor_meta'
|
|
536
571
|
require 'fastly/models/pagination_links'
|
|
537
572
|
require 'fastly/models/pagination_meta'
|
|
573
|
+
require 'fastly/models/pagination_meta1'
|
|
574
|
+
require 'fastly/models/path_change'
|
|
575
|
+
require 'fastly/models/path_create'
|
|
576
|
+
require 'fastly/models/path_response'
|
|
577
|
+
require 'fastly/models/path_response_all_of'
|
|
578
|
+
require 'fastly/models/path_update'
|
|
579
|
+
require 'fastly/models/path_with_rules'
|
|
580
|
+
require 'fastly/models/paths_response'
|
|
538
581
|
require 'fastly/models/permission'
|
|
539
582
|
require 'fastly/models/platform_ddos_data_items'
|
|
540
583
|
require 'fastly/models/platform_ddos_entry'
|
|
@@ -543,6 +586,9 @@ require 'fastly/models/platform_ddos_response_all_of'
|
|
|
543
586
|
require 'fastly/models/platform_metadata'
|
|
544
587
|
require 'fastly/models/platform_metrics_response'
|
|
545
588
|
require 'fastly/models/platform_values'
|
|
589
|
+
require 'fastly/models/policy'
|
|
590
|
+
require 'fastly/models/policy_create'
|
|
591
|
+
require 'fastly/models/policy_update'
|
|
546
592
|
require 'fastly/models/pool_additional'
|
|
547
593
|
require 'fastly/models/pool_response'
|
|
548
594
|
require 'fastly/models/pool_response_all_of'
|
|
@@ -551,6 +597,7 @@ require 'fastly/models/pool_response_post'
|
|
|
551
597
|
require 'fastly/models/pool_response_post_all_of'
|
|
552
598
|
require 'fastly/models/pop'
|
|
553
599
|
require 'fastly/models/pop_coordinates'
|
|
600
|
+
require 'fastly/models/position'
|
|
554
601
|
require 'fastly/models/public_ip_list'
|
|
555
602
|
require 'fastly/models/publish_item'
|
|
556
603
|
require 'fastly/models/publish_item_formats'
|
|
@@ -566,6 +613,7 @@ require 'fastly/models/read_only_user_id'
|
|
|
566
613
|
require 'fastly/models/realtime'
|
|
567
614
|
require 'fastly/models/realtime_entry'
|
|
568
615
|
require 'fastly/models/realtime_entry_aggregated'
|
|
616
|
+
require 'fastly/models/realtime_entry_datacenter'
|
|
569
617
|
require 'fastly/models/realtime_entry_recorded'
|
|
570
618
|
require 'fastly/models/realtime_measurements'
|
|
571
619
|
require 'fastly/models/relationship_common_name'
|
|
@@ -642,6 +690,7 @@ require 'fastly/models/relationships_for_tls_configuration'
|
|
|
642
690
|
require 'fastly/models/relationships_for_tls_domain'
|
|
643
691
|
require 'fastly/models/relationships_for_tls_private_key'
|
|
644
692
|
require 'fastly/models/relationships_for_tls_subscription'
|
|
693
|
+
require 'fastly/models/report'
|
|
645
694
|
require 'fastly/models/request_body_for_create'
|
|
646
695
|
require 'fastly/models/request_body_for_update'
|
|
647
696
|
require 'fastly/models/request_settings_additional'
|
|
@@ -654,6 +703,19 @@ require 'fastly/models/response_object'
|
|
|
654
703
|
require 'fastly/models/response_object_response'
|
|
655
704
|
require 'fastly/models/results'
|
|
656
705
|
require 'fastly/models/role_user'
|
|
706
|
+
require 'fastly/models/routing_config'
|
|
707
|
+
require 'fastly/models/routing_config_condition'
|
|
708
|
+
require 'fastly/models/routing_config_response'
|
|
709
|
+
require 'fastly/models/routing_config_response_all_of'
|
|
710
|
+
require 'fastly/models/routing_config_state'
|
|
711
|
+
require 'fastly/models/routing_config_version_response'
|
|
712
|
+
require 'fastly/models/routing_configs_response'
|
|
713
|
+
require 'fastly/models/rule_change'
|
|
714
|
+
require 'fastly/models/rule_create'
|
|
715
|
+
require 'fastly/models/rule_response'
|
|
716
|
+
require 'fastly/models/rule_response_all_of'
|
|
717
|
+
require 'fastly/models/rule_update'
|
|
718
|
+
require 'fastly/models/rules_response'
|
|
657
719
|
require 'fastly/models/schemas_contact_response'
|
|
658
720
|
require 'fastly/models/schemas_snippet_response'
|
|
659
721
|
require 'fastly/models/schemas_user_response'
|
|
@@ -661,10 +723,13 @@ require 'fastly/models/schemas_user_response_read_only'
|
|
|
661
723
|
require 'fastly/models/schemas_vcl_response'
|
|
662
724
|
require 'fastly/models/schemas_version'
|
|
663
725
|
require 'fastly/models/schemas_version_response'
|
|
726
|
+
require 'fastly/models/script'
|
|
727
|
+
require 'fastly/models/script_update'
|
|
664
728
|
require 'fastly/models/secret'
|
|
665
729
|
require 'fastly/models/secret_response'
|
|
666
730
|
require 'fastly/models/secret_store'
|
|
667
731
|
require 'fastly/models/secret_store_response'
|
|
732
|
+
require 'fastly/models/security_header'
|
|
668
733
|
require 'fastly/models/server'
|
|
669
734
|
require 'fastly/models/server_response'
|
|
670
735
|
require 'fastly/models/server_response_all_of'
|
|
@@ -867,6 +932,13 @@ require 'fastly/models/version_detail'
|
|
|
867
932
|
require 'fastly/models/version_detail_settings'
|
|
868
933
|
require 'fastly/models/version_response'
|
|
869
934
|
require 'fastly/models/version_response_all_of'
|
|
935
|
+
require 'fastly/models/versions_response'
|
|
936
|
+
require 'fastly/models/waf_simulate_request'
|
|
937
|
+
require 'fastly/models/waf_simulate_response'
|
|
938
|
+
require 'fastly/models/waf_simulate_signal'
|
|
939
|
+
require 'fastly/models/website'
|
|
940
|
+
require 'fastly/models/website_create'
|
|
941
|
+
require 'fastly/models/website_update'
|
|
870
942
|
require 'fastly/models/websockets_response_body_enable'
|
|
871
943
|
require 'fastly/models/websockets_response_body_get_all_services'
|
|
872
944
|
require 'fastly/models/websockets_response_customer'
|
|
@@ -892,6 +964,7 @@ require 'fastly/api/billing_address_api'
|
|
|
892
964
|
require 'fastly/api/billing_invoices_api'
|
|
893
965
|
require 'fastly/api/billing_usage_metrics_api'
|
|
894
966
|
require 'fastly/api/cache_settings_api'
|
|
967
|
+
require 'fastly/api/client_side_protection_api'
|
|
895
968
|
require 'fastly/api/condition_api'
|
|
896
969
|
require 'fastly/api/config_store_api'
|
|
897
970
|
require 'fastly/api/config_store_item_api'
|
|
@@ -907,6 +980,7 @@ require 'fastly/api/diff_api'
|
|
|
907
980
|
require 'fastly/api/director_api'
|
|
908
981
|
require 'fastly/api/director_backend_api'
|
|
909
982
|
require 'fastly/api/dm_domains_api'
|
|
983
|
+
require 'fastly/api/dm_routing_configs_api'
|
|
910
984
|
require 'fastly/api/domain_api'
|
|
911
985
|
require 'fastly/api/domain_inspector_historical_api'
|
|
912
986
|
require 'fastly/api/domain_inspector_realtime_api'
|
|
@@ -958,7 +1032,9 @@ require 'fastly/api/logging_sumologic_api'
|
|
|
958
1032
|
require 'fastly/api/logging_syslog_api'
|
|
959
1033
|
require 'fastly/api/metrics_platform_api'
|
|
960
1034
|
require 'fastly/api/mutual_authentication_api'
|
|
1035
|
+
require 'fastly/api/ngwaf_agent_keys_api'
|
|
961
1036
|
require 'fastly/api/ngwaf_reports_api'
|
|
1037
|
+
require 'fastly/api/ngwaf_simulate_api'
|
|
962
1038
|
require 'fastly/api/object_storage_access_keys_api'
|
|
963
1039
|
require 'fastly/api/observability_aggregations_for_logs_api'
|
|
964
1040
|
require 'fastly/api/observability_custom_dashboards_api'
|
|
@@ -977,6 +1053,7 @@ require 'fastly/api/product_domain_inspector_api'
|
|
|
977
1053
|
require 'fastly/api/product_domain_research_api'
|
|
978
1054
|
require 'fastly/api/product_fanout_api'
|
|
979
1055
|
require 'fastly/api/product_image_optimizer_api'
|
|
1056
|
+
require 'fastly/api/product_kv_store_api'
|
|
980
1057
|
require 'fastly/api/product_log_explorer_insights_api'
|
|
981
1058
|
require 'fastly/api/product_ngwaf_api'
|
|
982
1059
|
require 'fastly/api/product_object_storage_api'
|
data/sig.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"G": "bc34d07e", "D": "
|
|
1
|
+
{"G": "bc34d07e", "D": "5b9e76f7"}
|