lib/fastly/models/results.rb in fastly-8.0.1 vs lib/fastly/models/results.rb in fastly-8.1.0

- old
+ new

@@ -249,16 +249,22 @@ attr_accessor :imgopto_resp_body_bytes # Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic. attr_accessor :imgopto_resp_header_bytes + # Number of responses that came from the Fastly Image Optimizer service via a shield. + attr_accessor :imgopto_shield + # Total body bytes delivered via a shield from the Fastly Image Optimizer service. attr_accessor :imgopto_shield_resp_body_bytes # Total header bytes delivered via a shield from the Fastly Image Optimizer service. attr_accessor :imgopto_shield_resp_header_bytes + # Number of transforms performed by the Fastly Image Optimizer service. + attr_accessor :imgopto_transforms + # Number of video responses that came from the Fastly Image Optimizer service. attr_accessor :imgvideo # Number of video frames that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video. attr_accessor :imgvideo_frames @@ -774,12 +780,14 @@ :'attack_passed_req_header_bytes' => :'attack_passed_req_header_bytes', :'attack_resp_synth_bytes' => :'attack_resp_synth_bytes', :'imgopto' => :'imgopto', :'imgopto_resp_body_bytes' => :'imgopto_resp_body_bytes', :'imgopto_resp_header_bytes' => :'imgopto_resp_header_bytes', + :'imgopto_shield' => :'imgopto_shield', :'imgopto_shield_resp_body_bytes' => :'imgopto_shield_resp_body_bytes', :'imgopto_shield_resp_header_bytes' => :'imgopto_shield_resp_header_bytes', + :'imgopto_transforms' => :'imgopto_transforms', :'imgvideo' => :'imgvideo', :'imgvideo_frames' => :'imgvideo_frames', :'imgvideo_resp_header_bytes' => :'imgvideo_resp_header_bytes', :'imgvideo_resp_body_bytes' => :'imgvideo_resp_body_bytes', :'imgvideo_shield_resp_header_bytes' => :'imgvideo_shield_resp_header_bytes', @@ -1012,12 +1020,14 @@ :'attack_passed_req_header_bytes' => :'Integer', :'attack_resp_synth_bytes' => :'Integer', :'imgopto' => :'Integer', :'imgopto_resp_body_bytes' => :'Integer', :'imgopto_resp_header_bytes' => :'Integer', + :'imgopto_shield' => :'Integer', :'imgopto_shield_resp_body_bytes' => :'Integer', :'imgopto_shield_resp_header_bytes' => :'Integer', + :'imgopto_transforms' => :'Integer', :'imgvideo' => :'Integer', :'imgvideo_frames' => :'Integer', :'imgvideo_resp_header_bytes' => :'Integer', :'imgvideo_resp_body_bytes' => :'Integer', :'imgvideo_shield_resp_header_bytes' => :'Integer', @@ -1501,18 +1511,26 @@ if attributes.key?(:'imgopto_resp_header_bytes') self.imgopto_resp_header_bytes = attributes[:'imgopto_resp_header_bytes'] end + if attributes.key?(:'imgopto_shield') + self.imgopto_shield = attributes[:'imgopto_shield'] + end + if attributes.key?(:'imgopto_shield_resp_body_bytes') self.imgopto_shield_resp_body_bytes = attributes[:'imgopto_shield_resp_body_bytes'] end if attributes.key?(:'imgopto_shield_resp_header_bytes') self.imgopto_shield_resp_header_bytes = attributes[:'imgopto_shield_resp_header_bytes'] end + if attributes.key?(:'imgopto_transforms') + self.imgopto_transforms = attributes[:'imgopto_transforms'] + end + if attributes.key?(:'imgvideo') self.imgvideo = attributes[:'imgvideo'] end if attributes.key?(:'imgvideo_frames') @@ -2191,12 +2209,14 @@ attack_passed_req_header_bytes == o.attack_passed_req_header_bytes && attack_resp_synth_bytes == o.attack_resp_synth_bytes && imgopto == o.imgopto && imgopto_resp_body_bytes == o.imgopto_resp_body_bytes && imgopto_resp_header_bytes == o.imgopto_resp_header_bytes && + imgopto_shield == o.imgopto_shield && imgopto_shield_resp_body_bytes == o.imgopto_shield_resp_body_bytes && imgopto_shield_resp_header_bytes == o.imgopto_shield_resp_header_bytes && + imgopto_transforms == o.imgopto_transforms && imgvideo == o.imgvideo && imgvideo_frames == o.imgvideo_frames && imgvideo_resp_header_bytes == o.imgvideo_resp_header_bytes && imgvideo_resp_body_bytes == o.imgvideo_resp_body_bytes && imgvideo_shield_resp_header_bytes == o.imgvideo_shield_resp_header_bytes && @@ -2350,10 +2370,10 @@ end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [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_resp_body_bytes, imgopto_shield_resp_header_bytes, 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, service_id, start_time].hash + [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, service_id, start_time].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself