fastly 8.8.0 → 8.10.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 +29 -1
- data/Gemfile.lock +1 -1
- data/README.md +30 -3
- data/docs/AclsInComputeApi.md +284 -0
- data/docs/Backend.md +2 -2
- data/docs/BackendApi.md +8 -8
- data/docs/BackendResponse.md +2 -2
- data/docs/{OriginInspectorRealtimeEntryRecorded.md → ComputeAclCreateAclsRequest.md} +2 -1
- data/docs/ComputeAclCreateAclsResponse.md +11 -0
- data/docs/ComputeAclListEntries.md +11 -0
- data/docs/ComputeAclListEntriesItem.md +11 -0
- data/docs/ComputeAclListEntriesMeta.md +11 -0
- data/docs/ComputeAclLookup.md +12 -0
- data/docs/ComputeAclUpdateEntry.md +12 -0
- data/docs/ConfiguredProductResponse.md +13 -0
- data/docs/ConfiguredProductResponseConfiguration.md +11 -0
- data/docs/ConfiguredProductResponseLinks.md +11 -0
- data/docs/ConfiguredProductResponseProduct.md +11 -0
- data/docs/ContactApi.md +1 -1
- data/docs/CustomerAddress.md +16 -0
- data/docs/CustomerAddressesApi.md +127 -0
- data/docs/DomainInspector.md +1 -1
- data/docs/DomainInspectorRealtimeEntry.md +1 -1
- data/docs/EnabledProductsApi.md +93 -9
- data/docs/Environment.md +12 -0
- data/docs/{RecordedTimestamp.md → EnvironmentName.md} +1 -1
- data/docs/{OriginInspectorSubsequentRequestTimestamp.md → InlineResponse201.md} +2 -1
- data/docs/{SubsequentRequestTimestamp.md → ListCustomerAddressesResponse.md} +2 -1
- data/docs/OriginInspector.md +1 -1
- data/docs/OriginInspectorRealtimeEntry.md +1 -1
- data/docs/RealtimeEntryAggregated.md +1 -0
- data/docs/RealtimeMeasurements.md +1 -0
- data/docs/Results.md +1 -0
- data/docs/SchemasVersionResponse.md +1 -0
- data/docs/ServiceDetail.md +1 -0
- data/docs/ServiceListResponse.md +1 -0
- data/docs/ServiceListResponseAllOf.md +1 -0
- data/docs/ServiceResponse.md +1 -0
- data/docs/ServiceResponseAllOf.md +1 -0
- data/docs/ServiceVersionDetail.md +1 -0
- data/docs/ServiceVersionDetailOrNull.md +1 -0
- data/docs/SetConfiguration.md +11 -0
- data/docs/SetWorkspaceId.md +10 -0
- data/docs/TlsCertificatesApi.md +2 -2
- data/docs/TlsDomainsApi.md +2 -2
- data/docs/TlsSubscriptionsApi.md +2 -2
- data/docs/VersionApi.md +84 -0
- data/docs/VersionResponse.md +1 -0
- data/docs/VersionResponseAllOf.md +1 -0
- data/lib/fastly/api/acls_in_compute_api.rb +470 -0
- data/lib/fastly/api/backend_api.rb +8 -8
- data/lib/fastly/api/contact_api.rb +1 -1
- data/lib/fastly/api/customer_addresses_api.rb +224 -0
- data/lib/fastly/api/enabled_products_api.rb +164 -10
- data/lib/fastly/api/tls_certificates_api.rb +7 -7
- data/lib/fastly/api/tls_domains_api.rb +7 -7
- data/lib/fastly/api/tls_subscriptions_api.rb +7 -7
- data/lib/fastly/api/version_api.rb +154 -0
- data/lib/fastly/configuration.rb +84 -0
- data/lib/fastly/models/backend.rb +2 -2
- data/lib/fastly/models/backend_response.rb +2 -2
- data/lib/fastly/models/billing_response_line_item.rb +10 -0
- data/lib/fastly/models/{origin_inspector_realtime_entry_recorded.rb → compute_acl_create_acls_request.rb} +15 -6
- data/lib/fastly/models/compute_acl_create_acls_response.rb +227 -0
- data/lib/fastly/models/compute_acl_list_entries.rb +228 -0
- data/lib/fastly/models/compute_acl_list_entries_item.rb +227 -0
- data/lib/fastly/models/compute_acl_list_entries_meta.rb +227 -0
- data/lib/fastly/models/compute_acl_lookup.rb +238 -0
- data/lib/fastly/models/compute_acl_update_entry.rb +238 -0
- data/lib/fastly/models/configured_product_response.rb +243 -0
- data/lib/fastly/models/configured_product_response_configuration.rb +227 -0
- data/lib/fastly/models/configured_product_response_links.rb +227 -0
- data/lib/fastly/models/configured_product_response_product.rb +227 -0
- data/lib/fastly/models/customer_address.rb +294 -0
- data/lib/fastly/models/domain_inspector.rb +2 -1
- data/lib/fastly/models/domain_inspector_realtime_entry.rb +2 -1
- data/lib/fastly/models/environment.rb +235 -0
- data/lib/fastly/models/environment_name.rb +34 -0
- data/lib/fastly/models/event_attributes.rb +2 -2
- data/lib/fastly/models/{recorded_timestamp.rb → inline_response201.rb} +15 -6
- data/lib/fastly/models/line_item_data.rb +10 -0
- data/lib/fastly/models/{origin_inspector_subsequent_request_timestamp.rb → list_customer_addresses_response.rb} +16 -6
- data/lib/fastly/models/origin_inspector.rb +2 -1
- data/lib/fastly/models/origin_inspector_realtime_entry.rb +2 -1
- data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
- data/lib/fastly/models/realtime_measurements.rb +14 -4
- data/lib/fastly/models/results.rb +11 -1
- data/lib/fastly/models/schemas_version_response.rb +16 -4
- data/lib/fastly/models/service_detail.rb +13 -1
- data/lib/fastly/models/service_list_response.rb +16 -4
- data/lib/fastly/models/service_list_response_all_of.rb +16 -4
- data/lib/fastly/models/service_response.rb +16 -4
- data/lib/fastly/models/service_response_all_of.rb +16 -4
- data/lib/fastly/models/service_version_detail.rb +13 -1
- data/lib/fastly/models/service_version_detail_or_null.rb +13 -1
- data/lib/fastly/models/set_configuration.rb +227 -0
- data/lib/fastly/models/{subsequent_request_timestamp.rb → set_workspace_id.rb} +15 -6
- data/lib/fastly/models/version_response.rb +16 -4
- data/lib/fastly/models/version_response_all_of.rb +16 -4
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +20 -4
- data/sig.json +1 -1
- metadata +42 -10
@@ -761,6 +761,9 @@ module Fastly
|
|
761
761
|
# Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`).
|
762
762
|
attr_accessor :origin_offload
|
763
763
|
|
764
|
+
# Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body.
|
765
|
+
attr_accessor :request_denied_get_head_body
|
766
|
+
|
764
767
|
# Attribute mapping from ruby-style variable name to JSON key.
|
765
768
|
def self.attribute_map
|
766
769
|
{
|
@@ -1012,7 +1015,8 @@ module Fastly
|
|
1012
1015
|
:'all_status_3xx' => :'all_status_3xx',
|
1013
1016
|
:'all_status_4xx' => :'all_status_4xx',
|
1014
1017
|
:'all_status_5xx' => :'all_status_5xx',
|
1015
|
-
:'origin_offload' => :'origin_offload'
|
1018
|
+
:'origin_offload' => :'origin_offload',
|
1019
|
+
:'request_denied_get_head_body' => :'request_denied_get_head_body'
|
1016
1020
|
}
|
1017
1021
|
end
|
1018
1022
|
|
@@ -1272,7 +1276,8 @@ module Fastly
|
|
1272
1276
|
:'all_status_3xx' => :'Integer',
|
1273
1277
|
:'all_status_4xx' => :'Integer',
|
1274
1278
|
:'all_status_5xx' => :'Integer',
|
1275
|
-
:'origin_offload' => :'Float'
|
1279
|
+
:'origin_offload' => :'Float',
|
1280
|
+
:'request_denied_get_head_body' => :'Integer'
|
1276
1281
|
}
|
1277
1282
|
end
|
1278
1283
|
|
@@ -2294,6 +2299,10 @@ module Fastly
|
|
2294
2299
|
if attributes.key?(:'origin_offload')
|
2295
2300
|
self.origin_offload = attributes[:'origin_offload']
|
2296
2301
|
end
|
2302
|
+
|
2303
|
+
if attributes.key?(:'request_denied_get_head_body')
|
2304
|
+
self.request_denied_get_head_body = attributes[:'request_denied_get_head_body']
|
2305
|
+
end
|
2297
2306
|
end
|
2298
2307
|
|
2299
2308
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -2562,7 +2571,8 @@ module Fastly
|
|
2562
2571
|
all_status_3xx == o.all_status_3xx &&
|
2563
2572
|
all_status_4xx == o.all_status_4xx &&
|
2564
2573
|
all_status_5xx == o.all_status_5xx &&
|
2565
|
-
origin_offload == o.origin_offload
|
2574
|
+
origin_offload == o.origin_offload &&
|
2575
|
+
request_denied_get_head_body == o.request_denied_get_head_body
|
2566
2576
|
end
|
2567
2577
|
|
2568
2578
|
# @see the `==` method
|
@@ -2574,7 +2584,7 @@ module Fastly
|
|
2574
2584
|
# Calculates hash code according to all attributes.
|
2575
2585
|
# @return [Integer] Hash code
|
2576
2586
|
def hash
|
2577
|
-
[requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, bot_challenge_complete_tokens_issued, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, origin_offload].hash
|
2587
|
+
[requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, bot_challenge_complete_tokens_issued, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, origin_offload, request_denied_get_head_body].hash
|
2578
2588
|
end
|
2579
2589
|
|
2580
2590
|
# Builds the object from hash
|
@@ -761,6 +761,9 @@ module Fastly
|
|
761
761
|
# Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`).
|
762
762
|
attr_accessor :origin_offload
|
763
763
|
|
764
|
+
# Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body.
|
765
|
+
attr_accessor :request_denied_get_head_body
|
766
|
+
|
764
767
|
attr_accessor :service_id
|
765
768
|
|
766
769
|
# Timestamp for the start of the time period being reported
|
@@ -1018,6 +1021,7 @@ module Fastly
|
|
1018
1021
|
:'all_status_4xx' => :'all_status_4xx',
|
1019
1022
|
:'all_status_5xx' => :'all_status_5xx',
|
1020
1023
|
:'origin_offload' => :'origin_offload',
|
1024
|
+
:'request_denied_get_head_body' => :'request_denied_get_head_body',
|
1021
1025
|
:'service_id' => :'service_id',
|
1022
1026
|
:'start_time' => :'start_time'
|
1023
1027
|
}
|
@@ -1280,6 +1284,7 @@ module Fastly
|
|
1280
1284
|
:'all_status_4xx' => :'Integer',
|
1281
1285
|
:'all_status_5xx' => :'Integer',
|
1282
1286
|
:'origin_offload' => :'Float',
|
1287
|
+
:'request_denied_get_head_body' => :'Integer',
|
1283
1288
|
:'service_id' => :'String',
|
1284
1289
|
:'start_time' => :'Integer'
|
1285
1290
|
}
|
@@ -2303,6 +2308,10 @@ module Fastly
|
|
2303
2308
|
self.origin_offload = attributes[:'origin_offload']
|
2304
2309
|
end
|
2305
2310
|
|
2311
|
+
if attributes.key?(:'request_denied_get_head_body')
|
2312
|
+
self.request_denied_get_head_body = attributes[:'request_denied_get_head_body']
|
2313
|
+
end
|
2314
|
+
|
2306
2315
|
if attributes.key?(:'service_id')
|
2307
2316
|
self.service_id = attributes[:'service_id']
|
2308
2317
|
end
|
@@ -2579,6 +2588,7 @@ module Fastly
|
|
2579
2588
|
all_status_4xx == o.all_status_4xx &&
|
2580
2589
|
all_status_5xx == o.all_status_5xx &&
|
2581
2590
|
origin_offload == o.origin_offload &&
|
2591
|
+
request_denied_get_head_body == o.request_denied_get_head_body &&
|
2582
2592
|
service_id == o.service_id &&
|
2583
2593
|
start_time == o.start_time
|
2584
2594
|
end
|
@@ -2592,7 +2602,7 @@ module Fastly
|
|
2592
2602
|
# Calculates hash code according to all attributes.
|
2593
2603
|
# @return [Integer] Hash code
|
2594
2604
|
def hash
|
2595
|
-
[requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_transforms, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, origin_offload, service_id, start_time].hash
|
2605
|
+
[requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_transforms, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, origin_offload, request_denied_get_head_body, service_id, start_time].hash
|
2596
2606
|
end
|
2597
2607
|
|
2598
2608
|
# Builds the object from hash
|
@@ -45,6 +45,9 @@ module Fastly
|
|
45
45
|
|
46
46
|
attr_accessor :service_id
|
47
47
|
|
48
|
+
# A list of environments where the service has been deployed.
|
49
|
+
attr_accessor :environments
|
50
|
+
|
48
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
49
52
|
def self.attribute_map
|
50
53
|
{
|
@@ -58,7 +61,8 @@ module Fastly
|
|
58
61
|
:'created_at' => :'created_at',
|
59
62
|
:'deleted_at' => :'deleted_at',
|
60
63
|
:'updated_at' => :'updated_at',
|
61
|
-
:'service_id' => :'service_id'
|
64
|
+
:'service_id' => :'service_id',
|
65
|
+
:'environments' => :'environments'
|
62
66
|
}
|
63
67
|
end
|
64
68
|
|
@@ -80,7 +84,8 @@ module Fastly
|
|
80
84
|
:'created_at' => :'Time',
|
81
85
|
:'deleted_at' => :'Time',
|
82
86
|
:'updated_at' => :'Time',
|
83
|
-
:'service_id' => :'String'
|
87
|
+
:'service_id' => :'String',
|
88
|
+
:'environments' => :'Array<Environment>'
|
84
89
|
}
|
85
90
|
end
|
86
91
|
|
@@ -169,6 +174,12 @@ module Fastly
|
|
169
174
|
if attributes.key?(:'service_id')
|
170
175
|
self.service_id = attributes[:'service_id']
|
171
176
|
end
|
177
|
+
|
178
|
+
if attributes.key?(:'environments')
|
179
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
180
|
+
self.environments = value
|
181
|
+
end
|
182
|
+
end
|
172
183
|
end
|
173
184
|
|
174
185
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -199,7 +210,8 @@ module Fastly
|
|
199
210
|
created_at == o.created_at &&
|
200
211
|
deleted_at == o.deleted_at &&
|
201
212
|
updated_at == o.updated_at &&
|
202
|
-
service_id == o.service_id
|
213
|
+
service_id == o.service_id &&
|
214
|
+
environments == o.environments
|
203
215
|
end
|
204
216
|
|
205
217
|
# @see the `==` method
|
@@ -211,7 +223,7 @@ module Fastly
|
|
211
223
|
# Calculates hash code according to all attributes.
|
212
224
|
# @return [Integer] Hash code
|
213
225
|
def hash
|
214
|
-
[active, comment, deployed, locked, number, staging, testing, created_at, deleted_at, updated_at, service_id].hash
|
226
|
+
[active, comment, deployed, locked, number, staging, testing, created_at, deleted_at, updated_at, service_id, environments].hash
|
215
227
|
end
|
216
228
|
|
217
229
|
# Builds the object from hash
|
@@ -45,6 +45,9 @@ module Fastly
|
|
45
45
|
# A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service.
|
46
46
|
attr_accessor :versions
|
47
47
|
|
48
|
+
# A list of environments where the service has been deployed.
|
49
|
+
attr_accessor :environments
|
50
|
+
|
48
51
|
attr_accessor :active_version
|
49
52
|
|
50
53
|
attr_accessor :version
|
@@ -85,6 +88,7 @@ module Fastly
|
|
85
88
|
:'publish_key' => :'publish_key',
|
86
89
|
:'paused' => :'paused',
|
87
90
|
:'versions' => :'versions',
|
91
|
+
:'environments' => :'environments',
|
88
92
|
:'active_version' => :'active_version',
|
89
93
|
:'version' => :'version'
|
90
94
|
}
|
@@ -109,6 +113,7 @@ module Fastly
|
|
109
113
|
:'publish_key' => :'String',
|
110
114
|
:'paused' => :'Boolean',
|
111
115
|
:'versions' => :'Array<SchemasVersionResponse>',
|
116
|
+
:'environments' => :'Array<Environment>',
|
112
117
|
:'active_version' => :'ServiceVersionDetailOrNull',
|
113
118
|
:'version' => :'ServiceVersionDetail'
|
114
119
|
}
|
@@ -194,6 +199,12 @@ module Fastly
|
|
194
199
|
end
|
195
200
|
end
|
196
201
|
|
202
|
+
if attributes.key?(:'environments')
|
203
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
204
|
+
self.environments = value
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
197
208
|
if attributes.key?(:'active_version')
|
198
209
|
self.active_version = attributes[:'active_version']
|
199
210
|
end
|
@@ -244,6 +255,7 @@ module Fastly
|
|
244
255
|
publish_key == o.publish_key &&
|
245
256
|
paused == o.paused &&
|
246
257
|
versions == o.versions &&
|
258
|
+
environments == o.environments &&
|
247
259
|
active_version == o.active_version &&
|
248
260
|
version == o.version
|
249
261
|
end
|
@@ -257,7 +269,7 @@ module Fastly
|
|
257
269
|
# Calculates hash code according to all attributes.
|
258
270
|
# @return [Integer] Hash code
|
259
271
|
def hash
|
260
|
-
[created_at, deleted_at, updated_at, comment, name, customer_id, type, id, publish_key, paused, versions, active_version, version].hash
|
272
|
+
[created_at, deleted_at, updated_at, comment, name, customer_id, type, id, publish_key, paused, versions, environments, active_version, version].hash
|
261
273
|
end
|
262
274
|
|
263
275
|
# Builds the object from hash
|
@@ -42,6 +42,9 @@ module Fastly
|
|
42
42
|
# A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service.
|
43
43
|
attr_accessor :versions
|
44
44
|
|
45
|
+
# A list of environments where the service has been deployed.
|
46
|
+
attr_accessor :environments
|
47
|
+
|
45
48
|
class EnumAttributeValidator
|
46
49
|
attr_reader :datatype
|
47
50
|
attr_reader :allowable_values
|
@@ -76,7 +79,8 @@ module Fastly
|
|
76
79
|
:'type' => :'type',
|
77
80
|
:'id' => :'id',
|
78
81
|
:'version' => :'version',
|
79
|
-
:'versions' => :'versions'
|
82
|
+
:'versions' => :'versions',
|
83
|
+
:'environments' => :'environments'
|
80
84
|
}
|
81
85
|
end
|
82
86
|
|
@@ -97,7 +101,8 @@ module Fastly
|
|
97
101
|
:'type' => :'String',
|
98
102
|
:'id' => :'String',
|
99
103
|
:'version' => :'Integer',
|
100
|
-
:'versions' => :'Array<SchemasVersionResponse>'
|
104
|
+
:'versions' => :'Array<SchemasVersionResponse>',
|
105
|
+
:'environments' => :'Array<Environment>'
|
101
106
|
}
|
102
107
|
end
|
103
108
|
|
@@ -176,6 +181,12 @@ module Fastly
|
|
176
181
|
self.versions = value
|
177
182
|
end
|
178
183
|
end
|
184
|
+
|
185
|
+
if attributes.key?(:'environments')
|
186
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
187
|
+
self.environments = value
|
188
|
+
end
|
189
|
+
end
|
179
190
|
end
|
180
191
|
|
181
192
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -217,7 +228,8 @@ module Fastly
|
|
217
228
|
type == o.type &&
|
218
229
|
id == o.id &&
|
219
230
|
version == o.version &&
|
220
|
-
versions == o.versions
|
231
|
+
versions == o.versions &&
|
232
|
+
environments == o.environments
|
221
233
|
end
|
222
234
|
|
223
235
|
# @see the `==` method
|
@@ -229,7 +241,7 @@ module Fastly
|
|
229
241
|
# Calculates hash code according to all attributes.
|
230
242
|
# @return [Integer] Hash code
|
231
243
|
def hash
|
232
|
-
[created_at, deleted_at, updated_at, comment, name, customer_id, type, id, version, versions].hash
|
244
|
+
[created_at, deleted_at, updated_at, comment, name, customer_id, type, id, version, versions, environments].hash
|
233
245
|
end
|
234
246
|
|
235
247
|
# Builds the object from hash
|
@@ -21,12 +21,16 @@ module Fastly
|
|
21
21
|
# A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service.
|
22
22
|
attr_accessor :versions
|
23
23
|
|
24
|
+
# A list of environments where the service has been deployed.
|
25
|
+
attr_accessor :environments
|
26
|
+
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'id' => :'id',
|
28
31
|
:'version' => :'version',
|
29
|
-
:'versions' => :'versions'
|
32
|
+
:'versions' => :'versions',
|
33
|
+
:'environments' => :'environments'
|
30
34
|
}
|
31
35
|
end
|
32
36
|
|
@@ -40,7 +44,8 @@ module Fastly
|
|
40
44
|
{
|
41
45
|
:'id' => :'String',
|
42
46
|
:'version' => :'Integer',
|
43
|
-
:'versions' => :'Array<SchemasVersionResponse>'
|
47
|
+
:'versions' => :'Array<SchemasVersionResponse>',
|
48
|
+
:'environments' => :'Array<Environment>'
|
44
49
|
}
|
45
50
|
end
|
46
51
|
|
@@ -78,6 +83,12 @@ module Fastly
|
|
78
83
|
self.versions = value
|
79
84
|
end
|
80
85
|
end
|
86
|
+
|
87
|
+
if attributes.key?(:'environments')
|
88
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
89
|
+
self.environments = value
|
90
|
+
end
|
91
|
+
end
|
81
92
|
end
|
82
93
|
|
83
94
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -100,7 +111,8 @@ module Fastly
|
|
100
111
|
self.class == o.class &&
|
101
112
|
id == o.id &&
|
102
113
|
version == o.version &&
|
103
|
-
versions == o.versions
|
114
|
+
versions == o.versions &&
|
115
|
+
environments == o.environments
|
104
116
|
end
|
105
117
|
|
106
118
|
# @see the `==` method
|
@@ -112,7 +124,7 @@ module Fastly
|
|
112
124
|
# Calculates hash code according to all attributes.
|
113
125
|
# @return [Integer] Hash code
|
114
126
|
def hash
|
115
|
-
[id, version, versions].hash
|
127
|
+
[id, version, versions, environments].hash
|
116
128
|
end
|
117
129
|
|
118
130
|
# Builds the object from hash
|
@@ -45,6 +45,9 @@ module Fastly
|
|
45
45
|
# A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service.
|
46
46
|
attr_accessor :versions
|
47
47
|
|
48
|
+
# A list of environments where the service has been deployed.
|
49
|
+
attr_accessor :environments
|
50
|
+
|
48
51
|
class EnumAttributeValidator
|
49
52
|
attr_reader :datatype
|
50
53
|
attr_reader :allowable_values
|
@@ -80,7 +83,8 @@ module Fastly
|
|
80
83
|
:'id' => :'id',
|
81
84
|
:'publish_key' => :'publish_key',
|
82
85
|
:'paused' => :'paused',
|
83
|
-
:'versions' => :'versions'
|
86
|
+
:'versions' => :'versions',
|
87
|
+
:'environments' => :'environments'
|
84
88
|
}
|
85
89
|
end
|
86
90
|
|
@@ -102,7 +106,8 @@ module Fastly
|
|
102
106
|
:'id' => :'String',
|
103
107
|
:'publish_key' => :'String',
|
104
108
|
:'paused' => :'Boolean',
|
105
|
-
:'versions' => :'Array<SchemasVersionResponse>'
|
109
|
+
:'versions' => :'Array<SchemasVersionResponse>',
|
110
|
+
:'environments' => :'Array<Environment>'
|
106
111
|
}
|
107
112
|
end
|
108
113
|
|
@@ -185,6 +190,12 @@ module Fastly
|
|
185
190
|
self.versions = value
|
186
191
|
end
|
187
192
|
end
|
193
|
+
|
194
|
+
if attributes.key?(:'environments')
|
195
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
196
|
+
self.environments = value
|
197
|
+
end
|
198
|
+
end
|
188
199
|
end
|
189
200
|
|
190
201
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -227,7 +238,8 @@ module Fastly
|
|
227
238
|
id == o.id &&
|
228
239
|
publish_key == o.publish_key &&
|
229
240
|
paused == o.paused &&
|
230
|
-
versions == o.versions
|
241
|
+
versions == o.versions &&
|
242
|
+
environments == o.environments
|
231
243
|
end
|
232
244
|
|
233
245
|
# @see the `==` method
|
@@ -239,7 +251,7 @@ module Fastly
|
|
239
251
|
# Calculates hash code according to all attributes.
|
240
252
|
# @return [Integer] Hash code
|
241
253
|
def hash
|
242
|
-
[created_at, deleted_at, updated_at, comment, name, customer_id, type, id, publish_key, paused, versions].hash
|
254
|
+
[created_at, deleted_at, updated_at, comment, name, customer_id, type, id, publish_key, paused, versions, environments].hash
|
243
255
|
end
|
244
256
|
|
245
257
|
# Builds the object from hash
|
@@ -24,13 +24,17 @@ module Fastly
|
|
24
24
|
# A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service.
|
25
25
|
attr_accessor :versions
|
26
26
|
|
27
|
+
# A list of environments where the service has been deployed.
|
28
|
+
attr_accessor :environments
|
29
|
+
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
30
33
|
:'id' => :'id',
|
31
34
|
:'publish_key' => :'publish_key',
|
32
35
|
:'paused' => :'paused',
|
33
|
-
:'versions' => :'versions'
|
36
|
+
:'versions' => :'versions',
|
37
|
+
:'environments' => :'environments'
|
34
38
|
}
|
35
39
|
end
|
36
40
|
|
@@ -45,7 +49,8 @@ module Fastly
|
|
45
49
|
:'id' => :'String',
|
46
50
|
:'publish_key' => :'String',
|
47
51
|
:'paused' => :'Boolean',
|
48
|
-
:'versions' => :'Array<SchemasVersionResponse>'
|
52
|
+
:'versions' => :'Array<SchemasVersionResponse>',
|
53
|
+
:'environments' => :'Array<Environment>'
|
49
54
|
}
|
50
55
|
end
|
51
56
|
|
@@ -87,6 +92,12 @@ module Fastly
|
|
87
92
|
self.versions = value
|
88
93
|
end
|
89
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'environments')
|
97
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
98
|
+
self.environments = value
|
99
|
+
end
|
100
|
+
end
|
90
101
|
end
|
91
102
|
|
92
103
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -110,7 +121,8 @@ module Fastly
|
|
110
121
|
id == o.id &&
|
111
122
|
publish_key == o.publish_key &&
|
112
123
|
paused == o.paused &&
|
113
|
-
versions == o.versions
|
124
|
+
versions == o.versions &&
|
125
|
+
environments == o.environments
|
114
126
|
end
|
115
127
|
|
116
128
|
# @see the `==` method
|
@@ -122,7 +134,7 @@ module Fastly
|
|
122
134
|
# Calculates hash code according to all attributes.
|
123
135
|
# @return [Integer] Hash code
|
124
136
|
def hash
|
125
|
-
[id, publish_key, paused, versions].hash
|
137
|
+
[id, publish_key, paused, versions, environments].hash
|
126
138
|
end
|
127
139
|
|
128
140
|
# Builds the object from hash
|
@@ -45,6 +45,9 @@ module Fastly
|
|
45
45
|
|
46
46
|
attr_accessor :service_id
|
47
47
|
|
48
|
+
# A list of environments where the service has been deployed.
|
49
|
+
attr_accessor :environments
|
50
|
+
|
48
51
|
# List of backends associated to this service.
|
49
52
|
attr_accessor :backends
|
50
53
|
|
@@ -100,6 +103,7 @@ module Fastly
|
|
100
103
|
:'deleted_at' => :'deleted_at',
|
101
104
|
:'updated_at' => :'updated_at',
|
102
105
|
:'service_id' => :'service_id',
|
106
|
+
:'environments' => :'environments',
|
103
107
|
:'backends' => :'backends',
|
104
108
|
:'cache_settings' => :'cache_settings',
|
105
109
|
:'conditions' => :'conditions',
|
@@ -136,6 +140,7 @@ module Fastly
|
|
136
140
|
:'deleted_at' => :'Time',
|
137
141
|
:'updated_at' => :'Time',
|
138
142
|
:'service_id' => :'String',
|
143
|
+
:'environments' => :'Array<Environment>',
|
139
144
|
:'backends' => :'Array<BackendResponse>',
|
140
145
|
:'cache_settings' => :'Array<CacheSettingResponse>',
|
141
146
|
:'conditions' => :'Array<ConditionResponse>',
|
@@ -238,6 +243,12 @@ module Fastly
|
|
238
243
|
self.service_id = attributes[:'service_id']
|
239
244
|
end
|
240
245
|
|
246
|
+
if attributes.key?(:'environments')
|
247
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
248
|
+
self.environments = value
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
241
252
|
if attributes.key?(:'backends')
|
242
253
|
if (value = attributes[:'backends']).is_a?(Array)
|
243
254
|
self.backends = value
|
@@ -350,6 +361,7 @@ module Fastly
|
|
350
361
|
deleted_at == o.deleted_at &&
|
351
362
|
updated_at == o.updated_at &&
|
352
363
|
service_id == o.service_id &&
|
364
|
+
environments == o.environments &&
|
353
365
|
backends == o.backends &&
|
354
366
|
cache_settings == o.cache_settings &&
|
355
367
|
conditions == o.conditions &&
|
@@ -375,7 +387,7 @@ module Fastly
|
|
375
387
|
# Calculates hash code according to all attributes.
|
376
388
|
# @return [Integer] Hash code
|
377
389
|
def hash
|
378
|
-
[active, comment, deployed, locked, number, staging, testing, created_at, deleted_at, updated_at, service_id, backends, cache_settings, conditions, directors, domains, gzips, headers, healthchecks, request_settings, response_objects, settings, snippets, vcls, wordpress].hash
|
390
|
+
[active, comment, deployed, locked, number, staging, testing, created_at, deleted_at, updated_at, service_id, environments, backends, cache_settings, conditions, directors, domains, gzips, headers, healthchecks, request_settings, response_objects, settings, snippets, vcls, wordpress].hash
|
379
391
|
end
|
380
392
|
|
381
393
|
# Builds the object from hash
|
@@ -45,6 +45,9 @@ module Fastly
|
|
45
45
|
|
46
46
|
attr_accessor :service_id
|
47
47
|
|
48
|
+
# A list of environments where the service has been deployed.
|
49
|
+
attr_accessor :environments
|
50
|
+
|
48
51
|
# List of backends associated to this service.
|
49
52
|
attr_accessor :backends
|
50
53
|
|
@@ -100,6 +103,7 @@ module Fastly
|
|
100
103
|
:'deleted_at' => :'deleted_at',
|
101
104
|
:'updated_at' => :'updated_at',
|
102
105
|
:'service_id' => :'service_id',
|
106
|
+
:'environments' => :'environments',
|
103
107
|
:'backends' => :'backends',
|
104
108
|
:'cache_settings' => :'cache_settings',
|
105
109
|
:'conditions' => :'conditions',
|
@@ -136,6 +140,7 @@ module Fastly
|
|
136
140
|
:'deleted_at' => :'Time',
|
137
141
|
:'updated_at' => :'Time',
|
138
142
|
:'service_id' => :'String',
|
143
|
+
:'environments' => :'Array<Environment>',
|
139
144
|
:'backends' => :'Array<BackendResponse>',
|
140
145
|
:'cache_settings' => :'Array<CacheSettingResponse>',
|
141
146
|
:'conditions' => :'Array<ConditionResponse>',
|
@@ -238,6 +243,12 @@ module Fastly
|
|
238
243
|
self.service_id = attributes[:'service_id']
|
239
244
|
end
|
240
245
|
|
246
|
+
if attributes.key?(:'environments')
|
247
|
+
if (value = attributes[:'environments']).is_a?(Array)
|
248
|
+
self.environments = value
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
241
252
|
if attributes.key?(:'backends')
|
242
253
|
if (value = attributes[:'backends']).is_a?(Array)
|
243
254
|
self.backends = value
|
@@ -350,6 +361,7 @@ module Fastly
|
|
350
361
|
deleted_at == o.deleted_at &&
|
351
362
|
updated_at == o.updated_at &&
|
352
363
|
service_id == o.service_id &&
|
364
|
+
environments == o.environments &&
|
353
365
|
backends == o.backends &&
|
354
366
|
cache_settings == o.cache_settings &&
|
355
367
|
conditions == o.conditions &&
|
@@ -375,7 +387,7 @@ module Fastly
|
|
375
387
|
# Calculates hash code according to all attributes.
|
376
388
|
# @return [Integer] Hash code
|
377
389
|
def hash
|
378
|
-
[active, comment, deployed, locked, number, staging, testing, created_at, deleted_at, updated_at, service_id, backends, cache_settings, conditions, directors, domains, gzips, headers, healthchecks, request_settings, response_objects, settings, snippets, vcls, wordpress].hash
|
390
|
+
[active, comment, deployed, locked, number, staging, testing, created_at, deleted_at, updated_at, service_id, environments, backends, cache_settings, conditions, directors, domains, gzips, headers, healthchecks, request_settings, response_objects, settings, snippets, vcls, wordpress].hash
|
379
391
|
end
|
380
392
|
|
381
393
|
# Builds the object from hash
|